11 #ifndef _DIRICHLETVISCOUSTENSOREBBC_H_ 12 #define _DIRICHLETVISCOUSTENSOREBBC_H_ 21 #include "NamespaceHeader.H" 44 const IntVect* a_ghostCellsRhs);
55 const Real& a_factor);
70 const bool& a_useHomogeneous,
102 const Real& a_weight,
116 Real a_weight[ SpaceDim],
152 Real a_Jinverse[SpaceDim][SpaceDim],
231 const IntVect* a_ghostCellsPhi,
232 const IntVect* a_ghostCellsRhs);
248 #include "NamespaceFooter.H" virtual void define(const LayoutData< IntVectSet > &a_cfivs, const Real &a_factor)
void getNormalStencil(VoFStencil &a_stencil, Real &a_weight, const VolIndex &a_vof, const EBISBox &a_ebisBox, const RealVect &a_dx, const IntVectSet &a_cfivs)
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
#define CH_SPACEDIM
Definition: SPACE.H:52
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
void getGradient(Real a_grad[SpaceDim][SpaceDim], const VolIndex &a_vof, const EBCellFAB &a_phi, const EBISBox &a_ebisBox, const DataIndex &a_dit, const Real &a_dx, bool a_homogeneous)
bool m_isDefined
Definition: DirichletViscousTensorEBBC.H:181
one dimensional dynamic array
Definition: Vector.H:52
DirichletViscousTensorEBBC()
const IntVect m_ghostCellsPhi
Definition: DirichletViscousTensorEBBC.H:192
ProblemDomain m_domain
Definition: DirichletViscousTensorEBBC.H:183
bool getSecondOrderStencil(VoFStencil &a_stencil, Real &a_weight, Vector< VoFStencil > &a_pointStencil, Vector< Real > &a_distanceAlongLine, const VolIndex &a_vof, const EBISBox &a_ebisBox, const RealVect &a_dx, const IntVectSet &a_cfivs)
const IntVect m_ghostCellsPhi
Definition: DirichletViscousTensorEBBC.H:241
const int SpaceDim
Definition: SPACE.H:39
virtual ~DirichletViscousTensorEBBC()
VoF-centered stencil.
Definition: Stencils.H:59
void getFlux(Real a_flux[SpaceDim][SpaceDim], const VolIndex &a_vof, const EBCellFAB &a_phi, const EBISBox &a_ebisBox, const DataIndex &a_dit, const Real &a_dx, bool a_homogeneous)
void getJacobianAndInverse(Real a_Jacobian[SpaceDim][SpaceDim], Real a_Jinverse[SpaceDim][SpaceDim], RealVect &a_normal, RealVect a_tangents[SpaceDim-1])
virtual void setValue(Real a_value)
Definition: BaseEBBC.H:140
LayoutData< BaseIVFAB< Real > > m_fluxWeight[CH_SPACEDIM]
Definition: DirichletViscousTensorEBBC.H:191
Definition: EBCellFAB.H:29
RefCountedPtr< BaseBCFuncEval > m_func
Definition: DirichletViscousTensorEBBC.H:240
const IntVect m_ghostCellsRHS
Definition: DirichletViscousTensorEBBC.H:193
void getFirstOrderStencil(VoFStencil &a_stencil, Real &a_weight, const VolIndex &a_vof, const EBISBox &a_ebisBox, const RealVect &a_dx, const IntVectSet &a_cfivs)
double Real
Definition: REAL.H:33
void getGradInhomOnly(Real a_grad[SpaceDim][SpaceDim], const Real &a_weight, const VolIndex &a_vof, const EBISBox &a_ebisBox, const Real &a_dx)
bool m_isFunction
Definition: DirichletViscousTensorEBBC.H:237
virtual void applyEBFlux(EBCellFAB &a_lphi, const EBCellFAB &a_phi, VoFIterator &a_vofit, const LayoutData< IntVectSet > &a_cfivs, const DataIndex &a_dit, const RealVect &a_probLo, const RealVect &a_dx, const Real &a_factor, const bool &a_useHomogeneous, const Real &a_time)
RealVect m_dx
Definition: DirichletViscousTensorEBBC.H:186
Definition: BaseEBBC.H:105
const IntVect m_ghostCellsRHS
Definition: DirichletViscousTensorEBBC.H:242
virtual LayoutData< BaseIVFAB< VoFStencil > > * getFluxStencil(int ivar)
Definition: DirichletViscousTensorEBBC.H:57
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Definition: DataIndex.H:112
Definition: BaseEBBC.H:303
Iterator for all vofs within an IntVectSet and an Ebgraph.
Definition: VoFIterator.H:27
LayoutData< BaseIVFAB< VoFStencil > > m_fluxStencil[CH_SPACEDIM]
Definition: DirichletViscousTensorEBBC.H:190
Definition: DirichletViscousTensorEBBC.H:28
void getCartesianGradientStencil(VoFStencil a_gradStencils[SpaceDim][SpaceDim], VoFStencil &a_normalStencil, const DataIndex &a_dit, const VolIndex &a_vof, const EBISBox &a_ebisBox, const RealVect &a_dx)
EBISLayout m_ebisl
Definition: DirichletViscousTensorEBBC.H:184
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
virtual void setFunction(RefCountedPtr< BaseBCFuncEval > a_func)
Definition: BaseEBBC.H:152
Volume of Fluid Index.
Definition: VolIndex.H:31
Definition: EBISLayout.H:39
void getGradientFunction(Real a_grad[SpaceDim][SpaceDim], const VolIndex &a_vof, const EBCellFAB &a_phi, const EBISBox &a_ebisBox, const DataIndex &a_dit, const Real &a_dx, bool a_homogeneous)
Real m_value
Definition: DirichletViscousTensorEBBC.H:239
RealVect getInhomogeneousContribution(const VolIndex &a_vof, const EBCellFAB &a_phi, const EBISBox &a_ebisBox, const DataIndex &a_dit, const Real &a_dx)
void getGradientStenValue(Real a_grad[SpaceDim][SpaceDim], const VolIndex &a_vof, const EBCellFAB &a_phi, const EBISBox &a_ebisBox, const DataIndex &a_dit, const Real &a_dx, bool a_homogeneous)
Definition: DirichletViscousTensorEBBC.H:201