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

General class for thermal conductivity for the velocity-equilibrium system of equations. More...

#include <APUEqConductivity.h>

Inherits APUEq.

Public Member Functions

 APUEqConductivity ()
 
 APUEqConductivity (int &numberQPA, Eos **eos, const int &numbPhases)
 
virtual ~APUEqConductivity ()
 
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 &gradTkLeft, const Coord &gradTkRight, const double &alphakL, const double &alphakR, const int &numPhase) const
 Solve the conductivity flux between two cells.
 
void solveFluxConductivityNonReflecting (const Coord &gradTkLeft, const double &alphakL, const int &numPhase) const
 Solve the conductivity flux at a boundary with an non-reflecting type.
 
void solveFluxConductivityWall () const
 Solve the conductivity flux at a boundary with an wall type.
 
void solveFluxConductivityInletInjStagState () const
 Solve the conductivity flux at a boundary with an inlet injection using stagnation state type.
 
void solveFluxConductivityOutletPressure () const
 Solve the conductivity flux at a boundary with an outlet at imposed pressure type.
 
void solveFluxConductivityOther () const
 Solve the conductivity flux at a boundary with non-defined type yet.
 
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 APUEq
 APUEq ()
 
virtual ~APUEq ()
 
- 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_lambdak
 Thermal conductivity (W/(m.K)) of each phase (taken from the EOS classes) (buffer)
 
int m_numQPA
 Number of the associated variable for each cell (m_vecGrandeursAddPhys)
 
Coord m_gradTkLeft
 Left gradient of the corresponding phase temperature for the flux computation (buffer)
 
Coord m_gradTkRight
 Right gradient of the corresponding phase temperature for the flux computation (buffer)
 
Coord m_normal
 Normal vector of the corresponding face for the flux computation (buffer)
 
Coord m_tangent
 Tangent vector of the corresponding face for the flux computation (buffer)
 
Coord m_binormal
 Binormal vector of the corresponding face for the flux computation (buffer)
 

Detailed Description

General class for thermal conductivity for the velocity-equilibrium system of equations.

Constructor & Destructor Documentation

◆ APUEqConductivity() [1/2]

APUEqConductivity::APUEqConductivity ( )

◆ APUEqConductivity() [2/2]

APUEqConductivity::APUEqConductivity ( int &  numberQPA,
Eos **  eos,
const int &  numbPhases 
)

◆ ~APUEqConductivity()

APUEqConductivity::~APUEqConductivity ( )
virtual

Member Function Documentation

◆ addNonCons()

virtual void APUEqConductivity::addNonCons ( Cell )
inlinevirtual

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

Parameters
cellcell

Reimplemented from AddPhys.

◆ addQuantityAddPhys()

void APUEqConductivity::addQuantityAddPhys ( Cell )
virtual

Add the quantities for the additional physic.

Parameters
cellcorresponding cell

Reimplemented from AddPhys.

◆ communicationsAddPhys()

void APUEqConductivity::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 APUEqConductivity::solveFluxAddPhys ( CellInterface )
virtual

Solve the additional physic flux between two cells.

Parameters
cellInterfacecell interface

Reimplemented from AddPhys.

◆ solveFluxAddPhysBoundary()

void APUEqConductivity::solveFluxAddPhysBoundary ( CellInterface )
virtual

Solve the additional physic flux at a domain boundary.

Parameters
cellInterfacecell interface

Reimplemented from AddPhys.

◆ solveFluxConductivityInletInjStagState()

void APUEqConductivity::solveFluxConductivityInletInjStagState ( ) const

Solve the conductivity flux at a boundary with an inlet injection using stagnation state type.

◆ solveFluxConductivityInner()

void APUEqConductivity::solveFluxConductivityInner ( const Coord gradTkLeft,
const Coord gradTkRight,
const double &  alphakL,
const double &  alphakR,
const int &  numPhase 
) const

Solve the conductivity flux between two cells.

Parameters
gradTkLefttemperature gradient of phase k of the left cell
gradTkRighttemperature gradient of phase k of the right cell
alphakLvolume fraction of phase k of the left cell
alphakRvolume fraction of phase k of the right cell
numPhasenumber of the phase

◆ solveFluxConductivityNonReflecting()

void APUEqConductivity::solveFluxConductivityNonReflecting ( const Coord gradTkLeft,
const double &  alphakL,
const int &  numPhase 
) const

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

Parameters
gradTkLefttemperature gradient of phase k of the left cell
alphakLvolume fraction of phase k of the left cell
numPhasenumber of the phase

◆ solveFluxConductivityOther()

void APUEqConductivity::solveFluxConductivityOther ( ) const

Solve the conductivity flux at a boundary with non-defined type yet.

◆ solveFluxConductivityOutletPressure()

void APUEqConductivity::solveFluxConductivityOutletPressure ( ) const

Solve the conductivity flux at a boundary with an outlet at imposed pressure type.

◆ solveFluxConductivityWall()

void APUEqConductivity::solveFluxConductivityWall ( ) const

Solve the conductivity flux at a boundary with an wall type.

Member Data Documentation

◆ m_binormal

Coord APUEqConductivity::m_binormal
private

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

◆ m_gradTkLeft

Coord APUEqConductivity::m_gradTkLeft
private

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

◆ m_gradTkRight

Coord APUEqConductivity::m_gradTkRight
private

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

◆ m_lambdak

double* APUEqConductivity::m_lambdak
private

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

◆ m_normal

Coord APUEqConductivity::m_normal
private

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

◆ m_numQPA

int APUEqConductivity::m_numQPA
private

Number of the associated variable for each cell (m_vecGrandeursAddPhys)

◆ m_tangent

Coord APUEqConductivity::m_tangent
private

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


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