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

General class for thermal conductivity for the Euler model. More...

#include <APEConductivity.h>

Inherits APEuler.

Public Member Functions

 APEConductivity (int &numberQPA, Eos **eos)
 
virtual ~APEConductivity ()
 
virtual void addQuantityAddPhys (Cell *cell)
 Add the quantities for the additional physic.
 
virtual void solveFluxAddPhys (CellInterface *cellInterface)
 Solve the additional physic flux between two cells.
 
virtual void solveFluxAddPhysBoundary (CellInterface *cellInterface)
 Solve the additional physic flux at a domain boundary.
 
void solveFluxConductivityInner (const Coord &gradTLeft, const Coord &gradTRight) const
 Solve the conductivity flux between two cells.
 
void solveFluxConductivityNonReflecting (const Coord &gradTLeft) const
 Solve the conductivity flux at a boundary with an non-reflecting type.
 
void solveFluxConductivityWallImposedTemp (CellInterface *cellInterface)
 Solve the conductivity flux at a wall boundary with imposed temperature.
 
void solveFluxConductivityWallImposedFlux (CellInterface *cellInterface)
 Solve the conductivity flux at a wall boundary with imposed flux density.
 
void solveFluxConductivityOther () const
 Solve the conductivity flux at a boundary with non-defined type yet or for adiabatic wall.
 
virtual void addNonCons (Cell *)
 Add the non-conservative terms of the corresponding additional physic in a cell.
 
virtual void communicationsAddPhys (const int &dim, const int &lvl)
 Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinement.
 
- Public Member Functions inherited from APEuler
 APEuler ()
 
virtual ~APEuler ()
 
- Public Member Functions inherited from AddPhys
 AddPhys ()
 
virtual ~AddPhys ()
 
virtual std::string whoAmI () const
 
virtual double computeEnergyAddPhys (QuantitiesAddPhys *)
 Compute and send back mass energy linked to the physic (0 if no linked energy)
 
void computeFluxAddPhys (CellInterface *cellInterface)
 Compute the additional physic flux between two cells.
 
void computeFluxAddPhysBoundary (CellInterface *cellInterface)
 Compute the additional physic flux at a domain boundary.
 
void addNonConsAddPhys (Cell *cell)
 Add the non-conservative terms of the additional physic in a cell.
 
virtual void addFluxAddPhys (CellInterface *cellInterface, const double &coefAMR)
 Add the additional physic flux between two cells at the corresponding cell.
 
virtual void subtractFluxAddPhys (CellInterface *cellInterface, const double &coefAMR)
 Subtract the additional physic flux between two cells at the corresponding cell.
 
virtual void addSymmetricTermsRadialAxisOnX (Cell *)
 Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on X)
 
virtual void addSymmetricTermsRadialAxisOnY (Cell *)
 Add the symmetrical terms of the corresponding additional physic in a cell (when radial axis is on Y)
 
virtual void reinitializeColorFunction (std::vector< Cell * > *, const int &)
 Reinitialize the color function for the surface-tension terms with the volume fraction equation.
 
virtual bool reinitializationActivated ()
 Send back true if the reinitialization of the color function is activated.
 
virtual const int & getNumTransportAssociated () const
 Return the associated number of the transport equation (only used for surface tension)
 

Private Attributes

double m_lambda
 Thermal conductivity (W/(m.K)) of phase (taken from the EOS classe) (buffer)
 
int m_numQPA
 Number of the associated variable for each cell (m_vecGrandeursAddPhys)
 
Coord m_gradTLeft
 Left gradient of the phase temperature for the flux computation (buffer)
 
Coord m_gradTRight
 Right gradient of the phase temperature for the flux computation (buffer)
 
Coord m_normal
 Normal vector of the face for the flux computation (buffer)
 
Coord m_tangent
 Tangent vector of the face for the flux computation (buffer)
 
Coord m_binormal
 Binormal vector of the face for the flux computation (buffer)
 

Detailed Description

General class for thermal conductivity for the Euler model.

Constructor & Destructor Documentation

◆ APEConductivity()

APEConductivity::APEConductivity ( int &  numberQPA,
Eos **  eos 
)

◆ ~APEConductivity()

APEConductivity::~APEConductivity ( )
virtual

Member Function Documentation

◆ addNonCons()

virtual void APEConductivity::addNonCons ( Cell )
inlinevirtual

Add the non-conservative terms of the corresponding additional physic in a cell.

Parameters
cellcell

Reimplemented from AddPhys.

◆ addQuantityAddPhys()

void APEConductivity::addQuantityAddPhys ( Cell )
virtual

Add the quantities for the additional physic.

Parameters
cellcorresponding cell

Reimplemented from AddPhys.

◆ communicationsAddPhys()

void APEConductivity::communicationsAddPhys ( const int &  ,
const int &   
)
virtual

Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinement.

Parameters
dimdimension
lvllevel

Reimplemented from AddPhys.

◆ solveFluxAddPhys()

void APEConductivity::solveFluxAddPhys ( CellInterface )
virtual

Solve the additional physic flux between two cells.

Parameters
cellInterfacecell interface

Reimplemented from AddPhys.

◆ solveFluxAddPhysBoundary()

void APEConductivity::solveFluxAddPhysBoundary ( CellInterface )
virtual

Solve the additional physic flux at a domain boundary.

Parameters
cellInterfacecell interface

Reimplemented from AddPhys.

◆ solveFluxConductivityInner()

void APEConductivity::solveFluxConductivityInner ( const Coord gradTLeft,
const Coord gradTRight 
) const

Solve the conductivity flux between two cells.

Parameters
gradTLefttemperature gradient of phase k of the left cell
gradTRighttemperature gradient of phase k of the right cell

◆ solveFluxConductivityNonReflecting()

void APEConductivity::solveFluxConductivityNonReflecting ( const Coord gradTLeft) const

Solve the conductivity flux at a boundary with an non-reflecting type.

Parameters
gradTLefttemperature gradient of phase k of the left cell

◆ solveFluxConductivityOther()

void APEConductivity::solveFluxConductivityOther ( ) const

Solve the conductivity flux at a boundary with non-defined type yet or for adiabatic wall.

◆ solveFluxConductivityWallImposedFlux()

void APEConductivity::solveFluxConductivityWallImposedFlux ( CellInterface cellInterface)

Solve the conductivity flux at a wall boundary with imposed flux density.

Parameters
cellInterfaceallows to retrieve imposed flux density

◆ solveFluxConductivityWallImposedTemp()

void APEConductivity::solveFluxConductivityWallImposedTemp ( CellInterface cellInterface)

Solve the conductivity flux at a wall boundary with imposed temperature.

Parameters
cellInterfaceallows to retrieve imposed temp. and distance cell/boundary

Member Data Documentation

◆ m_binormal

Coord APEConductivity::m_binormal
private

Binormal vector of the face for the flux computation (buffer)

◆ m_gradTLeft

Coord APEConductivity::m_gradTLeft
private

Left gradient of the phase temperature for the flux computation (buffer)

◆ m_gradTRight

Coord APEConductivity::m_gradTRight
private

Right gradient of the phase temperature for the flux computation (buffer)

◆ m_lambda

double APEConductivity::m_lambda
private

Thermal conductivity (W/(m.K)) of phase (taken from the EOS classe) (buffer)

◆ m_normal

Coord APEConductivity::m_normal
private

Normal vector of the face for the flux computation (buffer)

◆ m_numQPA

int APEConductivity::m_numQPA
private

Number of the associated variable for each cell (m_vecGrandeursAddPhys)

◆ m_tangent

Coord APEConductivity::m_tangent
private

Tangent vector of the face for the flux computation (buffer)


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