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

#include <CellInterface.h>

Inherited by BoundCond, and CellInterfaceO2.

Collaboration diagram for CellInterface:
[legend]

Public Member Functions

 CellInterface ()
 CellInterface (const int &lvl)
virtual ~CellInterface ()
void setFace (Face *face)
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=vecPhases)
virtual void initialize (Cell *cellLeft, Cell *cellRight)
void initializeGauche (Cell *cellLeft)
virtual void initializeDroite (Cell *cellRight)
virtual void addFlux (const double &coefAMR)
void subtractFlux (const double &coefAMR)
void addFluxRotatingRegion ()
void substractFluxRotatingRegion ()
double distance (Cell *c)
virtual int whoAmI () const
virtual int whoAmIHeat () const
virtual bool isMRFWall () const
 Returns heat boundary type for wall (see BoundCondWall.h).
virtual void checkMrfInterface (Source *sourceMRF)
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 const int & getNumPhys () const
virtual double getBoundData (VarBoundary) const
virtual double getBoundaryHeatQuantity () 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.
virtual void computeXi (const double &criteriaVar, const bool &varRho, const bool &varP, const bool &varU, const bool &varAlpha)
void computeCritereAMR (const double &criteriaVar, Variable nameVariable, int num=0)
virtual void computeFluxXi ()
virtual void creerCellInterfaceChild ()
virtual void creerCellInterfaceChildInterne (const int &lvl, std::vector< CellInterface * > *childrenInternalCellInterfaces)
void creerFaceChild (CellInterface *cellInterfaceParent)
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)
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

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

◆ CellInterface() [1/2]

CellInterface::CellInterface ( )

Default constructor

Here is the caller graph for this function:

◆ CellInterface() [2/2]

CellInterface::CellInterface ( const int & lvl)

◆ ~CellInterface()

CellInterface::~CellInterface ( )
virtual

Default destructor

Member Function Documentation

◆ addFlux()

void CellInterface::addFlux ( const double & coefAMR)
virtual

Reimplemented in BoundCond.

Here is the caller graph for this function:

◆ addFluxRotatingRegion()

void CellInterface::addFluxRotatingRegion ( )
Here is the caller graph for this function:

◆ allocateSlopes()

virtual void CellInterface::allocateSlopes ( int & )
inlinevirtual

◆ checkMrfInterface()

void CellInterface::checkMrfInterface ( Source * sourceMRF)
virtual

Reimplemented in BoundCond.

Here is the call graph for this function:

◆ computeCritereAMR()

void CellInterface::computeCritereAMR ( const double & criteriaVar,
Variable nameVariable,
int num = 0 )

Calcul de xi via le criteria de variation

Here is the caller graph for this function:

◆ computeFlux()

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

Reimplemented in BoundCond, and CellInterfaceO2.

Here is the call graph for this function:

◆ computeFluxAddPhys()

void CellInterface::computeFluxAddPhys ( AddPhys & addPhys)
virtual

Reimplemented in BoundCond.

Here is the call graph for this function:

◆ computeFluxXi()

void CellInterface::computeFluxXi ( )
virtual

Calcul des flux de Xi (diffusion) pour smoothing

Reimplemented in BoundCond.

◆ computeSlopes()

virtual void CellInterface::computeSlopes ( Prim = vecPhases)
inlinevirtual

◆ computeXi()

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

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

Reimplemented in BoundCond.

Here is the call graph for this function:

◆ constructionArrayExternalCellInterfacesLvl()

void CellInterface::constructionArrayExternalCellInterfacesLvl ( std::vector< CellInterface * > * cellInterfacesLvl)

Construction of new array of cell interfaces of the level (lvl + 1), external cell interfaces added here

◆ creerCellInterfaceChild()

void CellInterface::creerCellInterfaceChild ( )
virtual

Creer un child cell interface (non initialize)

Reimplemented in BoundCondInletInjStagState, BoundCondInletInjTemp, BoundCondInletTank, BoundCondMovingWall, BoundCondMovingWallO2Cartesian, BoundCondNonReflecting, BoundCondNullFlux, BoundCondOutletMassflow, BoundCondOutletPressure, BoundCondPeriodicO2Cartesian, BoundCondSymmetry, BoundCondSymmetryO2Cartesian, BoundCondWall, BoundCondWallO2Cartesian, CellInterfaceO2, and CellInterfaceO2Cartesian.

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

◆ creerCellInterfaceChildInterne()

void CellInterface::creerCellInterfaceChildInterne ( const int & lvl,
std::vector< CellInterface * > * childrenInternalCellInterfaces )
virtual

Creer un intern child cell interface (non initialize)

Reimplemented in CellInterfaceO2, and CellInterfaceO2Cartesian.

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

◆ creerFaceChild()

void CellInterface::creerFaceChild ( CellInterface * cellInterfaceParent)

Creer une face enfant (non initialize)

Here is the call graph for this function:

◆ deraffineCellInterfaceExterne()

void CellInterface::deraffineCellInterfaceExterne ( Cell * cellRef)
virtual

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

Reimplemented in BoundCond.

Here is the call graph for this function:

◆ deraffineCellInterfacesChildren()

void CellInterface::deraffineCellInterfacesChildren ( )

Supprime les children cell interfaces

Here is the caller graph for this function:

◆ distance()

double CellInterface::distance ( Cell * c)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBoundaryHeatQuantity()

virtual double CellInterface::getBoundaryHeatQuantity ( ) const
inlinevirtual

Reimplemented in BoundCond, and BoundCondWall.

Here is the caller graph for this function:

◆ getBoundData()

virtual double CellInterface::getBoundData ( VarBoundary ) const
inlinevirtual

Reimplemented in BoundCond.

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

◆ getCellInterfaceChild()

CellInterface * CellInterface::getCellInterfaceChild ( const int & numChild)

Renvoie le child cell interface correspondant au number

Here is the call graph for this function:

◆ getCellInterfaceChildBack()

CellInterface * CellInterface::getCellInterfaceChildBack ( )

Renvoie le child cell interface correspondant au number

Here is the call graph for this function:

◆ getCellLeft()

Cell * CellInterface::getCellLeft ( ) const
Here is the caller graph for this function:

◆ getCellRight()

Cell * CellInterface::getCellRight ( ) const
Here is the caller graph for this function:

◆ getFace()

Face * CellInterface::getFace ( )

Ne fait rien pour des cell interfaces ordre 1 Attention, getFace() non const

Here is the caller graph for this function:

◆ getLvl()

const int & CellInterface::getLvl ( ) const
inline

◆ getMod()

Model * CellInterface::getMod ( ) const
Here is the caller graph for this function:

◆ getNumberCellInterfacesChildren()

int CellInterface::getNumberCellInterfacesChildren ( ) const

Renvoie le niveau du cell interface Renvoie le number de children cell interfaces de ce cell interface

◆ getNumPhys()

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

Reimplemented in BoundCond.

◆ getSlopesMixture()

virtual Mixture * CellInterface::getSlopesMixture ( ) const
inlinevirtual

Ne fait rien pour des cell interfaces ordre 1

Reimplemented in BoundCondMovingWallO2Cartesian, BoundCondPeriodicO2Cartesian, BoundCondWallO2Cartesian, CellInterfaceO2, and CellInterfaceO2Cartesian.

Here is the caller graph for this function:

◆ getSlopesPhase()

virtual Phase * CellInterface::getSlopesPhase ( const int & ) const
inlinevirtual

Ne fait rien pour des cell interfaces ordre 1

Reimplemented in BoundCondMovingWallO2Cartesian, BoundCondPeriodicO2Cartesian, BoundCondWallO2Cartesian, CellInterfaceO2, and CellInterfaceO2Cartesian.

Here is the caller graph for this function:

◆ getSlopesTransport()

virtual Transport * CellInterface::getSlopesTransport ( const int & ) const
inlinevirtual

Ne fait rien pour des cell interfaces ordre 1

Reimplemented in BoundCondMovingWallO2Cartesian, BoundCondPeriodicO2Cartesian, BoundCondWallO2Cartesian, CellInterfaceO2, and CellInterfaceO2Cartesian.

Here is the caller graph for this function:

◆ getSplit()

bool CellInterface::getSplit ( ) const

Renvoie si oui ou non le cell interface est splitte

Here is the caller graph for this function:

◆ getWallRotationalVelocityMRF()

virtual Coord & CellInterface::getWallRotationalVelocityMRF ( )
inlinevirtual

Returns imposed heat quantity on the wall, could be temperature or flux density (see BounCondWall.h).

Reimplemented in BoundCondWall.

Here is the caller graph for this function:

◆ getWallVelocity()

virtual double CellInterface::getWallVelocity ( )
inlinevirtual

Returns the wall velocity of a moving wall boundary condition.

Reimplemented in BoundCondMovingWall.

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

◆ initialize()

void CellInterface::initialize ( Cell * cellLeft,
Cell * cellRight )
virtual

Reimplemented in BoundCond, and BoundCondPeriodic.

◆ initializeDroite()

void CellInterface::initializeDroite ( Cell * cellRight)
virtual

◆ initializeGauche()

void CellInterface::initializeGauche ( Cell * cellLeft)

◆ isMRFWall()

virtual bool CellInterface::isMRFWall ( ) const
inlinevirtual

Returns heat boundary type for wall (see BoundCondWall.h).

Reimplemented in BoundCondWall.

Here is the caller graph for this function:

◆ raffineCellInterfaceExterne()

void CellInterface::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 in BoundCond.

Here is the call graph for this function:

◆ setFace()

void CellInterface::setFace ( Face * face)

◆ solveRiemann()

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

Reimplemented in BoundCond, BoundCondMovingWallO2Cartesian, BoundCondMovingWallO2NS, BoundCondPeriodic, BoundCondPeriodicO2Cartesian, BoundCondWallO2Cartesian, BoundCondWallO2NS, CellInterfaceO2, CellInterfaceO2Cartesian, and CellInterfaceO2NS.

Here is the caller graph for this function:

◆ solveRiemannMRF()

void CellInterface::solveRiemannMRF ( double & dtMax)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ substractFluxRotatingRegion()

void CellInterface::substractFluxRotatingRegion ( )
Here is the caller graph for this function:

◆ subtractFlux()

void CellInterface::subtractFlux ( const double & coefAMR)
Here is the caller graph for this function:

◆ updatePointersInternalCellInterfaces()

void CellInterface::updatePointersInternalCellInterfaces ( )

◆ whoAmI()

◆ whoAmIHeat()

virtual int CellInterface::whoAmIHeat ( ) const
inlinevirtual

Reimplemented in BoundCond, and BoundCondWall.

Here is the caller graph for this function:

Member Data Documentation

◆ m_cellInterfacesChildren

std::vector<CellInterface*> CellInterface::m_cellInterfacesChildren
protected

Array of children cell interfaces (taille : 1 en 1D, 2 en 2D et 4 en 3D)

◆ m_cellLeft

Cell* CellInterface::m_cellLeft
protected

◆ m_cellRight

Cell* CellInterface::m_cellRight
protected

◆ m_face

Face* CellInterface::m_face
protected

◆ m_lvl

int CellInterface::m_lvl
protected

Niveau dans l arbre AMR du cell interface

◆ m_mrfInterface

bool CellInterface::m_mrfInterface
protected

◆ m_mrfStaticRegionIsLeft

bool CellInterface::m_mrfStaticRegionIsLeft
protected

◆ m_omega

Coord CellInterface::m_omega
protected

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