ECOGEN 6.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, BoundCondPeriodic, and BoundCondWall.

Collaboration diagram for BoundCond:
[legend]

Public Member Functions

 BoundCond ()
 BoundCond (int numPhysique)
 BoundCond (const BoundCond &Source, const int &lvl=0)
 ~BoundCond () override
virtual void createBoundary (TypeMeshContainer< CellInterface * > &)
void initialize (Cell *cellLeft, Cell *) override
void computeFlux (double &dtMax, Limiter &globalLimiter, Limiter &interfaceLimiter, Limiter &globalVolumeFractionLimiter, Limiter &interfaceVolumeFractionLimiter, Prim type=vecPhases) override
void computeFluxAddPhys (AddPhys &addPhys) override
void solveRiemann (double &dtMax, Limiter &, Limiter &, Limiter &, Limiter &, Prim type=vecPhases) override
void addFlux (const double &) override
virtual void solveRiemannBoundary (Cell &, const double &, double &)
virtual void solveRiemannTransportBoundary (Cell &) const
int whoAmI () const override
int whoAmIHeat () const override
virtual void printInfo ()
const int & getNumPhys () const override
double getBoundData (VarBoundary var) const override
double getBoundaryHeatQuantity () const override
void checkMrfInterface (Source *) override
void computeXi (const double &, const bool &, const bool &, const bool &, const bool &) override
void computeFluxXi () override
void raffineCellInterfaceExterne (const int &nbCellsY, const int &nbCellsZ, const double &dXParent, const double &dYParent, const double &dZParent, Cell *cellRef, const int &dim) override
void deraffineCellInterfaceExterne (Cell *cellRef) override
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 Phase * getSlopesPhase (const int &) const
virtual Mixture * getSlopesMixture () const
virtual Transport * getSlopesTransport (const int &) const
Face * getFace ()
Model * getMod () const
Cell * getCellLeft () const
Cell * getCellRight () const
virtual Coord & getWallRotationalVelocityMRF ()
 Returns imposed heat quantity on the wall, could be temperature or flux density (see BounCondWall.h).
virtual double getWallVelocity ()
 Returns the wall velocity of a moving wall boundary condition.
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
CellInterface * getCellInterfaceChild (const int &numChild)
CellInterface * getCellInterfaceChildBack ()
void updatePointersInternalCellInterfaces ()

Protected Attributes

int m_numPhysique
std::vector< double > m_boundData
 Boundary dataset for boundary output.
Protected Attributes inherited from CellInterface
Cell * m_cellLeft
Cell * m_cellRight
Face * m_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 ( )
Here is the caller graph for this function:

◆ BoundCond() [2/3]

BoundCond::BoundCond ( int numPhysique)

◆ BoundCond() [3/3]

BoundCond::BoundCond ( const BoundCond & Source,
const int & lvl = 0 )
Here is the call graph for this function:

◆ ~BoundCond()

BoundCond::~BoundCond ( )
override

Member Function Documentation

◆ addFlux()

void BoundCond::addFlux ( const double & )
inlineoverridevirtual

Reimplemented from CellInterface.

◆ checkMrfInterface()

void BoundCond::checkMrfInterface ( Source * )
inlineoverridevirtual

Reimplemented from CellInterface.

◆ computeFlux()

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

Reimplemented from CellInterface.

Here is the call graph for this function:

◆ computeFluxAddPhys()

void BoundCond::computeFluxAddPhys ( AddPhys & addPhys)
overridevirtual

Reimplemented from CellInterface.

Here is the call graph for this function:

◆ computeFluxXi()

void BoundCond::computeFluxXi ( )
overridevirtual

Calcul des flux de Xi (diffusion) pour smoothing

Reimplemented from CellInterface.

◆ computeXi()

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

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

Reimplemented from CellInterface.

◆ createBoundary()

◆ deraffineCellInterfaceExterne()

void BoundCond::deraffineCellInterfaceExterne ( Cell * cellRef)
overridevirtual

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

Reimplemented from CellInterface.

Here is the call graph for this function:

◆ getBoundaryHeatQuantity()

double BoundCond::getBoundaryHeatQuantity ( ) const
inlineoverridevirtual

Reimplemented from CellInterface.

Reimplemented in BoundCondWall.

Here is the call graph for this function:

◆ getBoundData()

double BoundCond::getBoundData ( VarBoundary var) const
overridevirtual

Reimplemented from CellInterface.

◆ getNumPhys()

const int & BoundCond::getNumPhys ( ) const
inlineoverridevirtual

Reimplemented from CellInterface.

◆ initialize()

void BoundCond::initialize ( Cell * cellLeft,
Cell *  )
overridevirtual

Reimplemented from CellInterface.

Reimplemented in BoundCondPeriodic.

◆ 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 )
overridevirtual

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

Reimplemented from CellInterface.

Here is the call graph for this function:

◆ solveRiemann()

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

Reimplemented from CellInterface.

Reimplemented in BoundCondMovingWallO2Cartesian, BoundCondMovingWallO2NS, BoundCondPeriodic, BoundCondPeriodicO2Cartesian, BoundCondWallO2Cartesian, and BoundCondWallO2NS.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ solveRiemannBoundary()

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

Reimplemented in BoundCondInletInjStagState, BoundCondInletInjTemp, BoundCondInletTank, BoundCondMovingWall, BoundCondNonReflecting, BoundCondNullFlux, BoundCondOutletMassflow, BoundCondOutletPressure, BoundCondSymmetry, and BoundCondWall.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ solveRiemannTransportBoundary()

virtual void BoundCond::solveRiemannTransportBoundary ( Cell & ) const
inlinevirtual

Reimplemented in BoundCondInletInjStagState, BoundCondInletTank, BoundCondMovingWall, BoundCondNonReflecting, BoundCondOutletPressure, and BoundCondWall.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ whoAmI()

int BoundCond::whoAmI ( ) const
inlineoverridevirtual

◆ whoAmIHeat()

int BoundCond::whoAmIHeat ( ) const
inlineoverridevirtual

Reimplemented from CellInterface.

Reimplemented in BoundCondWall.

Here is the call graph for this function:

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:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/BoundConds/BoundCond.h
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/BoundConds/BoundCond.cpp