#include <InflowOutflowIBC.H>
Public Member Functions | |
InflowOutflowIBC (int a_flowDir, Real a_inflowVel, int a_orderEBBC, bool a_doSlipWalls) | |
virtual | ~InflowOutflowIBC () |
virtual void | initializeVelocity (LevelData< EBCellFAB > &a_velocity, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_time, const RealVect &a_dx) const |
virtual void | initializePressure (LevelData< EBCellFAB > &a_pressure, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_time, const RealVect &a_dx) const |
virtual void | initializeScalar (LevelData< EBCellFAB > &a_scalar, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_time, const RealVect &a_dx) const |
virtual RefCountedPtr < BaseDomainBCFactory > | getPressBC () const |
virtual RefCountedPtr < BaseDomainBCFactory > | getMACVelBC () const |
virtual RefCountedPtr < EBPhysIBCFactory > | getVelAdvectBC (int a_velComp) const |
virtual RefCountedPtr < EBPhysIBCFactory > | getScalarAdvectBC (const int &a_comp) const |
virtual RefCountedPtr < BaseDomainBCFactory > | getVelBC (int a_icomp) const |
virtual RefCountedPtr < BaseEBBCFactory > | getVelocityEBBC (int a_velComp) const |
virtual RefCountedPtr < BaseEBBCFactory > | getPressureEBBC () const |
Protected Attributes | |
int | m_flowDir |
Real | m_inflowVel |
int | m_orderEBBC |
bool | m_doSlipWalls |
Private Member Functions | |
InflowOutflowIBC () | |
weak construction is bad, mkay? |
InflowOutflowIBC::InflowOutflowIBC | ( | int | a_flowDir, | |
Real | a_inflowVel, | |||
int | a_orderEBBC, | |||
bool | a_doSlipWalls | |||
) | [inline] |
Create poisselle flow in a tube
References m_doSlipWalls, m_flowDir, m_inflowVel, and m_orderEBBC.
virtual InflowOutflowIBC::~InflowOutflowIBC | ( | ) | [inline, virtual] |
InflowOutflowIBC::InflowOutflowIBC | ( | ) | [inline, private] |
virtual void InflowOutflowIBC::initializeVelocity | ( | LevelData< EBCellFAB > & | a_velocity, | |
const DisjointBoxLayout & | a_grids, | |||
const EBISLayout & | a_ebisl, | |||
const ProblemDomain & | a_domain, | |||
const RealVect & | a_origin, | |||
const Real & | a_time, | |||
const RealVect & | a_dx | |||
) | const [virtual] |
Fill input data holder with velocity at time = 0.
Implements EBIBC.
virtual void InflowOutflowIBC::initializePressure | ( | LevelData< EBCellFAB > & | a_pressure, | |
const DisjointBoxLayout & | a_grids, | |||
const EBISLayout & | a_ebisl, | |||
const ProblemDomain & | a_domain, | |||
const RealVect & | a_origin, | |||
const Real & | a_time, | |||
const RealVect & | a_dx | |||
) | const [virtual] |
Fill input data holder with pressure at time = 0.
Implements EBIBC.
virtual void InflowOutflowIBC::initializeScalar | ( | LevelData< EBCellFAB > & | a_scalar, | |
const DisjointBoxLayout & | a_grids, | |||
const EBISLayout & | a_ebisl, | |||
const ProblemDomain & | a_domain, | |||
const RealVect & | a_origin, | |||
const Real & | a_time, | |||
const RealVect & | a_dx | |||
) | const [virtual] |
Fill input data holder with scalar at time = 0.
Implements EBIBC.
virtual RefCountedPtr<BaseDomainBCFactory> InflowOutflowIBC::getPressBC | ( | ) | const [virtual] |
Return pressure boundary conditions for domain.
Implements EBIBC.
virtual RefCountedPtr<BaseDomainBCFactory> InflowOutflowIBC::getMACVelBC | ( | ) | const [virtual] |
Implements EBIBC.
virtual RefCountedPtr<EBPhysIBCFactory> InflowOutflowIBC::getVelAdvectBC | ( | int | a_velComp | ) | const [virtual] |
The initial conditions of this class are not used. The advection class needs boundary conditions
Implements EBIBC.
virtual RefCountedPtr<EBPhysIBCFactory> InflowOutflowIBC::getScalarAdvectBC | ( | const int & | a_comp | ) | const [virtual] |
The initial conditions of this class are not used. The advection class needs boundary conditions
Implements EBIBC.
virtual RefCountedPtr<BaseDomainBCFactory> InflowOutflowIBC::getVelBC | ( | int | a_icomp | ) | const [virtual] |
Implements EBIBC.
virtual RefCountedPtr<BaseEBBCFactory> InflowOutflowIBC::getVelocityEBBC | ( | int | a_velComp | ) | const [virtual] |
Return velocity boundary conditions for embedded boundary.
Implements EBIBC.
virtual RefCountedPtr<BaseEBBCFactory> InflowOutflowIBC::getPressureEBBC | ( | ) | const [virtual] |
Return pressure boundary conditions for embedded boundary. this gets a default implementation because not everyone uses it.
Implements EBIBC.
int InflowOutflowIBC::m_flowDir [protected] |
Referenced by InflowOutflowIBC().
Real InflowOutflowIBC::m_inflowVel [protected] |
Referenced by InflowOutflowIBC().
int InflowOutflowIBC::m_orderEBBC [protected] |
Referenced by InflowOutflowIBC().
bool InflowOutflowIBC::m_doSlipWalls [protected] |
Referenced by InflowOutflowIBC().