#include <NoFlowVortex.H>
Public Member Functions | |
NoFlowVortex (const RealVect &a_center, const Real &a_coreRadius, const Real &a_strength) | |
virtual | ~NoFlowVortex () |
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 |
void | getRadius (Real &a_radius, RealVect &a_xdiff, const RealVect &a_xval) const |
void | getVelPt (RealVect &a_vel, const RealVect &a_xval, Real a_pi) const |
void | getScalarPt (Real &a_scal, const RealVect &a_xval) const |
void | getXVal (RealVect &a_xval, const RealVect &a_origin, const VolIndex &a_vof, 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 | |
RealVect | m_center |
Real | m_coreRadius |
Real | m_strength |
RefCountedPtr < BaseDomainBCFactory > | m_domBCPress |
RefCountedPtr < BaseDomainBCFactory > | m_domBCMACVel |
Private Member Functions | |
NoFlowVortex () | |
weak construction |
NoFlowVortex::NoFlowVortex | ( | const RealVect & | a_center, | |
const Real & | a_coreRadius, | |||
const Real & | a_strength | |||
) |
inside core radius vtheta = strength* r outise core radius vtheta = 0.
virtual NoFlowVortex::~NoFlowVortex | ( | ) | [inline, virtual] |
NoFlowVortex::NoFlowVortex | ( | ) | [inline, private] |
virtual void NoFlowVortex::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 NoFlowVortex::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 NoFlowVortex::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.
void NoFlowVortex::getXVal | ( | RealVect & | a_xval, | |
const RealVect & | a_origin, | |||
const VolIndex & | a_vof, | |||
const RealVect & | a_dx | |||
) | const |
virtual RefCountedPtr<BaseDomainBCFactory> NoFlowVortex::getPressBC | ( | ) | const [virtual] |
Return pressure boundary conditions for domain.
Implements EBIBC.
virtual RefCountedPtr<BaseDomainBCFactory> NoFlowVortex::getMACVelBC | ( | ) | const [virtual] |
Implements EBIBC.
virtual RefCountedPtr<EBPhysIBCFactory> NoFlowVortex::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> NoFlowVortex::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> NoFlowVortex::getVelBC | ( | int | a_icomp | ) | const [virtual] |
Implements EBIBC.
virtual RefCountedPtr<BaseEBBCFactory> NoFlowVortex::getVelocityEBBC | ( | int | a_velComp | ) | const [virtual] |
Return velocity boundary conditions for embedded boundary.
Implements EBIBC.
virtual RefCountedPtr<BaseEBBCFactory> NoFlowVortex::getPressureEBBC | ( | ) | const [virtual] |
Return pressure boundary conditions for embedded boundary. this gets a default implementation because not everyone uses it.
Implements EBIBC.
RealVect NoFlowVortex::m_center [protected] |
Real NoFlowVortex::m_coreRadius [protected] |
Real NoFlowVortex::m_strength [protected] |
RefCountedPtr<BaseDomainBCFactory> NoFlowVortex::m_domBCPress [protected] |
RefCountedPtr<BaseDomainBCFactory> NoFlowVortex::m_domBCMACVel [protected] |