ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
BoundCond Class Reference

#include <BoundCond.h>

Inherits CellInterface.

Inherited by BoundCondInletInjStagState, BoundCondInletInjTemp, BoundCondInletTank, BoundCondNonReflecting, BoundCondNullflux, BoundCondOutletMassflow, BoundCondOutletPressure, and BoundCondWall.

Public Member Functions

 BoundCond ()
 
 BoundCond (int numPhysique)
 
 BoundCond (const BoundCond &Source, const int &lvl=0)
 
virtual ~BoundCond ()
 
virtual void createBoundary (TypeMeshContainer< CellInterface * > &)
 
virtual void createBoundary (TypeMeshContainer< CellInterface * > &, std::string)
 
virtual void initialize (Cell *cellLeft, Cell *)
 
virtual void computeFlux (double &dtMax, Limiter &globalLimiter, Limiter &interfaceLimiter, Limiter &globalVolumeFractionLimiter, Limiter &interfaceVolumeFractionLimiter, Prim type=vecPhases)
 
virtual void computeFluxAddPhys (AddPhys &addPhys)
 
virtual void solveRiemann (double &dtMax, Limiter &, Limiter &, Limiter &, Limiter &, Prim type=vecPhases)
 
virtual void addFlux (const double &)
 
virtual void solveRiemannBoundary (Cell &, const double &, double &)
 
virtual void solveRiemannTransportBoundary (Cell &) const
 
virtual int whoAmI () const
 
virtual int whoAmIHeat () const
 
virtual void printInfo ()
 
virtual const int & getNumPhys () const
 
virtual double getBoundData (VarBoundary var) const
 
virtual double getBoundaryHeatQuantity () const
 
virtual void checkMrfInterface (Source *)
 
virtual void computeXi (const double &, const bool &, const bool &, const bool &, const bool &)
 
virtual void computeFluxXi ()
 
virtual void raffineCellInterfaceExterne (const int &nbCellsY, const int &nbCellsZ, const double &dXParent, const double &dYParent, const double &dZParent, Cell *cellRef, const int &dim)
 
virtual void deraffineCellInterfaceExterne (Cell *cellRef)
 
- Public Member Functions inherited from CellInterface
 CellInterface ()
 
 CellInterface (const int &lvl)
 
virtual ~CellInterface ()
 
void setFace (Face *face)
 
void initializeGauche (Cell *cellLeft)
 
virtual void initializeDroite (Cell *cellRight)
 
void subtractFlux (const double &coefAMR)
 
void addFluxRotatingRegion ()
 
void substractFluxRotatingRegion ()
 
double distance (Cell *c)
 
virtual bool isMRFWall () const
 Returns heat boundary type for wall (see BoundCondWall.h)
 
void solveRiemannMRF (double &dtMax)
 
virtual void allocateSlopes (int &)
 
virtual void computeSlopes (Prim=vecPhases)
 
virtual PhasegetSlopesPhase (const int &) const
 
virtual MixturegetSlopesMixture () const
 
virtual TransportgetSlopesTransport (const int &) const
 
FacegetFace ()
 
ModelgetMod () const
 
CellgetCellLeft () const
 
CellgetCellRight () const
 
virtual CoordgetWallRotationalVelocityMRF ()
 Returns imposed heat quantity on the wall, could be temperature or flux density (see BounCondWall.h)
 
void computeCritereAMR (const double &criteriaVar, Variable nameVariable, int num=0)
 
virtual void creerCellInterfaceChild ()
 
virtual void creerCellInterfaceChildInterne (const int &lvl, std::vector< CellInterface * > *childrenInternalCellInterfaces)
 
void creerFaceChild (CellInterface *cellInterfaceParent)
 
void deraffineCellInterfacesChildren ()
 
void constructionArrayExternalCellInterfacesLvl (std::vector< CellInterface * > *cellInterfacesLvl)
 
bool getSplit () const
 
const int & getLvl () const
 
int getNumberCellInterfacesChildren () const
 
CellInterfacegetCellInterfaceChild (const int &numChild)
 
CellInterfacegetCellInterfaceChildBack ()
 
void updatePointersInternalCellInterfaces ()
 

Protected Attributes

int m_numPhysique
 
std::vector< double > m_boundData
 Boundary dataset for boundary output.
 
- Protected Attributes inherited from CellInterface
Cellm_cellLeft
 
Cellm_cellRight
 
Facem_face
 
int m_lvl
 
std::vector< CellInterface * > m_cellInterfacesChildren
 
bool m_mrfInterface
 
bool m_mrfStaticRegionIsLeft
 
Coord m_omega
 

Constructor & Destructor Documentation

◆ BoundCond() [1/3]

BoundCond::BoundCond ( )

◆ BoundCond() [2/3]

BoundCond::BoundCond ( int  numPhysique)

◆ BoundCond() [3/3]

BoundCond::BoundCond ( const BoundCond Source,
const int &  lvl = 0 
)

◆ ~BoundCond()

BoundCond::~BoundCond ( )
virtual

Member Function Documentation

◆ addFlux()

virtual void BoundCond::addFlux ( const double &  )
inlinevirtual

Reimplemented from CellInterface.

◆ checkMrfInterface()

virtual void BoundCond::checkMrfInterface ( Source )
inlinevirtual

Reimplemented from CellInterface.

◆ computeFlux()

void BoundCond::computeFlux ( double &  dtMax,
Limiter globalLimiter,
Limiter interfaceLimiter,
Limiter globalVolumeFractionLimiter,
Limiter interfaceVolumeFractionLimiter,
Prim  type = vecPhases 
)
virtual

Reimplemented from CellInterface.

◆ computeFluxAddPhys()

void BoundCond::computeFluxAddPhys ( AddPhys addPhys)
virtual

Reimplemented from CellInterface.

◆ computeFluxXi()

void BoundCond::computeFluxXi ( )
virtual

Calcul des flux de Xi (diffusion) pour smoothing

Reimplemented from CellInterface.

◆ computeXi()

virtual void BoundCond::computeXi ( const double &  criteriaVar,
const bool &  varRho,
const bool &  varP,
const bool &  varU,
const bool &  varAlpha 
)
inlinevirtual

Calcul de la variable Xi pour criteria de (de)raffinement a priori

Reimplemented from CellInterface.

◆ createBoundary() [1/2]

◆ createBoundary() [2/2]

virtual void BoundCond::createBoundary ( TypeMeshContainer< CellInterface * > &  ,
std::string   
)
inlinevirtual

◆ deraffineCellInterfaceExterne()

void BoundCond::deraffineCellInterfaceExterne ( Cell cellRef)
virtual

Deraffinement du extern cell interface en supprimant si besoin ses children cell interfaces + liaisons cells/cell interfaces

Reimplemented from CellInterface.

◆ getBoundaryHeatQuantity()

virtual double BoundCond::getBoundaryHeatQuantity ( ) const
inlinevirtual

Reimplemented from CellInterface.

Reimplemented in BoundCondWall.

◆ getBoundData()

double BoundCond::getBoundData ( VarBoundary  var) const
virtual

Reimplemented from CellInterface.

◆ getNumPhys()

virtual const int & BoundCond::getNumPhys ( ) const
inlinevirtual

Reimplemented from CellInterface.

◆ initialize()

void BoundCond::initialize ( Cell cellLeft,
Cell  
)
virtual

Reimplemented from CellInterface.

◆ printInfo()

virtual void BoundCond::printInfo ( )
inlinevirtual

◆ raffineCellInterfaceExterne()

void BoundCond::raffineCellInterfaceExterne ( const int &  nbCellsY,
const int &  nbCellsZ,
const double &  dXParent,
const double &  dYParent,
const double &  dZParent,
Cell cellRef,
const int &  dim 
)
virtual

Raffinement du extern cell interface en creant si besoin des children cell interfaces + liaisons cells/cell interfaces

Reimplemented from CellInterface.

◆ solveRiemann()

void BoundCond::solveRiemann ( double &  dtMax,
Limiter ,
Limiter ,
Limiter ,
Limiter ,
Prim  type = vecPhases 
)
virtual

Reimplemented from CellInterface.

Reimplemented in BoundCondWallO2NS, and BoundCondWallO2Cartesian.

◆ solveRiemannBoundary()

virtual void BoundCond::solveRiemannBoundary ( Cell ,
const double &  ,
double &   
)
inlinevirtual

◆ solveRiemannTransportBoundary()

virtual void BoundCond::solveRiemannTransportBoundary ( Cell ) const
inlinevirtual

◆ whoAmI()

◆ whoAmIHeat()

virtual int BoundCond::whoAmIHeat ( ) const
inlinevirtual

Reimplemented from CellInterface.

Reimplemented in BoundCondWall.

Member Data Documentation

◆ m_boundData

std::vector<double> BoundCond::m_boundData
protected

Boundary dataset for boundary output.

◆ m_numPhysique

int BoundCond::m_numPhysique
protected

The documentation for this class was generated from the following files: