Public Methods |
| VelIBC () |
| Null constructor.
|
| VelIBC (const Real &a_gamma, const Real &a_ambientDensity, const Real &a_deltaDensity, const int &a_pressure, const RealVect &a_center, const Real &a_size, const RealVect &a_velocity) |
| Constructor which defines parameters used by Fortran routines.
|
| ~VelIBC () |
| Destructor.
|
OldPhysIBC * | new_physIBC () |
| Factory method - this object is its own factory.
|
void | setDefaultValues () |
| set default boundary values
|
void | fluxBC (FArrayBox &a_F, const FArrayBox &a_W, const FArrayBox &a_Wextrap, const int &a_dir, const Side::LoHiSide &a_side, const Real &a_time) |
| Set boundary fluxes.
|
void | setBdrySlopes (FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time) |
| Set boundary slopes.
|
void | initialize (LevelData< FArrayBox > &a_U) |
| Set up initial conditions.
|
void | advectionVel (const RealVect &a_advVel) |
| set velocity
|
const RealVect & | advectionVel () const |
void | probType (const int a_probtype) |
| set problem type
|
void | setNormalWallVel (Real a_bcVal, int a_dir, Side::LoHiSide a_hiLo) |
| set boundary value (default is 0)
|
Real | getNormalWallVel (int a_dir, Side::LoHiSide a_hiLo) const |
| access boundary value
|
void | setSlopeValue (Real a_slopeVal, int a_dir, Side::LoHiSide a_hiLo) |
| set slope value (default is 0)
|
Real | getSlopeValue (int a_dir, Side::LoHiSide a_hiLo) const |
| access slope value
|
int | probType () const |
| accessor
|
Protected Attributes |
RealVect | m_velocity |
| advection velocity field
|
Real | m_bcVal [SpaceDim][2] |
Real | m_slopeVal [SpaceDim][2] |
bool | m_isBCvalSet |
bool | m_isSlopeValSet |
int | m_probtype |
| initial condition type
|
This IBC sets normal component of velocities to the prescribed value (normally 0) at physical boundaries, and uses extrapolation to set tangential velocities.