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

#include <BoundCondMovingWall.h>

Inherits BoundCondWall.

Inherited by BoundCondMovingWallO2Cartesian, and BoundCondMovingWallO2NS.

Collaboration diagram for BoundCondMovingWall:
[legend]

Public Member Functions

 BoundCondMovingWall (const BoundCondMovingWall &Source, const int &lvl=0)
 BoundCondMovingWall (int numPhysique, tinyxml2::XMLElement *element, std::string fileName)
 BoundCondMovingWall (int numPhysique)
 ~BoundCondMovingWall () override
void createBoundary (TypeMeshContainer< CellInterface * > &cellInterfaces) override
void solveRiemannBoundary (Cell &cellLeft, const double &dxLeft, double &dtMax) override
void solveRiemannTransportBoundary (Cell &) const override
int whoAmI () const override
double getWallVelocity () override
 Returns the wall velocity of a moving wall boundary condition.
void creerCellInterfaceChild () override
Public Member Functions inherited from BoundCondWall
 BoundCondWall (const BoundCondWall &Source, const int &lvl=0)
 BoundCondWall (int numPhysique, tinyxml2::XMLElement *element, std::string fileName)
 BoundCondWall (int numPhysique)
 ~BoundCondWall () override
void createBoundary (TypeMeshContainer< CellInterface * > &cellInterfaces) override
void solveRiemannBoundary (Cell &cellLeft, const double &dxLeft, double &dtMax) override
void solveRiemannTransportBoundary (Cell &) const override
int whoAmI () const override
int whoAmIHeat () const override
bool isMRFWall () const override
 Returns heat boundary type for wall (see BoundCondWall.h).
double getBoundaryHeatQuantity () const override
Coord & getWallRotationalVelocityMRF () override
 Returns imposed heat quantity on the wall, could be temperature or flux density (see BounCondWall.h).
void creerCellInterfaceChild () override
Public Member Functions inherited from BoundCond
 BoundCond ()
 BoundCond (int numPhysique)
 BoundCond (const BoundCond &Source, const int &lvl=0)
 ~BoundCond () override
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 printInfo ()
const int & getNumPhys () const override
double getBoundData (VarBoundary var) 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)
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
void computeCritereAMR (const double &criteriaVar, Variable nameVariable, int num=0)
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

double m_amplitude
double m_frequency
 Frequency of the moving wall following oscillatory behaviour [Hz].
double m_frequencyOffset
 Frequency offset of the sinus [Hz].
Protected Attributes inherited from BoundCondWall
TypeBCHeat m_heatCondition
 Specific heat boundary condition, could be imposed temperature or flux density (default is adiabatic).
double m_imposedHeatQuantity
bool m_isMRFWall
 Flag to check if a special boundary treatment is required with MRF.
Coord m_omegaWall
 Rotational wall velocity for MRF computation with viscous additionnal physic.
Protected Attributes inherited from BoundCond
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

◆ BoundCondMovingWall() [1/3]

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

◆ BoundCondMovingWall() [2/3]

BoundCondMovingWall::BoundCondMovingWall ( int numPhysique,
tinyxml2::XMLElement * element,
std::string fileName )
Here is the call graph for this function:

◆ BoundCondMovingWall() [3/3]

BoundCondMovingWall::BoundCondMovingWall ( int numPhysique)
Here is the call graph for this function:

◆ ~BoundCondMovingWall()

BoundCondMovingWall::~BoundCondMovingWall ( )
override

Member Function Documentation

◆ createBoundary()

void BoundCondMovingWall::createBoundary ( TypeMeshContainer< CellInterface * > & cellInterfaces)
overridevirtual

Reimplemented from BoundCond.

Reimplemented in BoundCondMovingWallO2Cartesian, and BoundCondMovingWallO2NS.

Here is the call graph for this function:

◆ creerCellInterfaceChild()

void BoundCondMovingWall::creerCellInterfaceChild ( )
overridevirtual

Create a child cell interface (not initialized)

Reimplemented from CellInterface.

Reimplemented in BoundCondMovingWallO2Cartesian.

Here is the call graph for this function:

◆ getWallVelocity()

double BoundCondMovingWall::getWallVelocity ( )
overridevirtual

Returns the wall velocity of a moving wall boundary condition.

Reimplemented from CellInterface.

◆ solveRiemannBoundary()

void BoundCondMovingWall::solveRiemannBoundary ( Cell & cellLeft,
const double & dxLeft,
double & dtMax )
overridevirtual

Reimplemented from BoundCond.

Here is the caller graph for this function:

◆ solveRiemannTransportBoundary()

void BoundCondMovingWall::solveRiemannTransportBoundary ( Cell & cellLeft) const
overridevirtual

Reimplemented from BoundCond.

Here is the caller graph for this function:

◆ whoAmI()

int BoundCondMovingWall::whoAmI ( ) const
inlineoverridevirtual

Reimplemented from BoundCond.

Reimplemented in BoundCondMovingWallO2Cartesian, and BoundCondMovingWallO2NS.

Member Data Documentation

◆ m_amplitude

double BoundCondMovingWall::m_amplitude
protected

Amplitude of the moving wall following oscillatory behaviour [m/s] If frequency is null and offset is pi/2 it corresponds to a constant piston velocity

◆ m_frequency

double BoundCondMovingWall::m_frequency
protected

Frequency of the moving wall following oscillatory behaviour [Hz].

◆ m_frequencyOffset

double BoundCondMovingWall::m_frequencyOffset
protected

Frequency offset of the sinus [Hz].


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