ECOGEN 6.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.

Collaboration diagram for APUEqConductivity:
[legend]

Public Member Functions

 APUEqConductivity ()
 APUEqConductivity (int &numberQPA, Eos **eos, const int &numbPhases)
 ~APUEqConductivity () override
void addQuantityAddPhys (Cell *cell) override
 Add the quantities for the additional physics.
void solveFluxAddPhys (CellInterface *cellInterface) override
 Solve the additional physics flux between two cells.
void solveFluxAddPhysBoundary (CellInterface *cellInterface) override
 Solve the additional physics 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.
void addNonCons (Cell *) override
 Add the non-conservative terms of the corresponding additional physics in a cell.
void communicationsAddPhys (const int &dim, const int &lvl) override
 Communication of the additional physics quantities for parallel purposes with Adaptive Mesh Refinement.
Public Member Functions inherited from APUEq
 APUEq ()
 ~APUEq () override
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 physics (0 if no linked energy).
void computeFluxAddPhys (CellInterface *cellInterface)
 Compute the additional physics flux between two cells.
void computeFluxAddPhysBoundary (CellInterface *cellInterface)
 Compute the additional physics flux at a domain boundary.
void addNonConsAddPhys (Cell *cell)
 Add the non-conservative terms of the additional physics in a cell.
virtual void addFluxAddPhys (CellInterface *cellInterface, const double &coefAMR)
 Add the additional physics flux between two cells at the corresponding cell.
virtual void subtractFluxAddPhys (CellInterface *cellInterface, const double &coefAMR)
 Subtract the additional physics flux between two cells at the corresponding cell.
virtual void addSymmetricTermsRadialAxisOnX (Cell *)
 Add the symmetrical terms of the corresponding additional physics in a cell (when radial axis is on X).
virtual void addSymmetricTermsRadialAxisOnY (Cell *)
 Add the symmetrical terms of the corresponding additional physics 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).
virtual void computeTurbulenceParameters () const
 Print the diagnostics for turbulence decay cases.

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 )
Here is the call graph for this function:

◆ ~APUEqConductivity()

APUEqConductivity::~APUEqConductivity ( )
override

Member Function Documentation

◆ addNonCons()

void APUEqConductivity::addNonCons ( Cell * )
inlineoverridevirtual

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

Parameters
cellcell

Reimplemented from AddPhys.

◆ addQuantityAddPhys()

void APUEqConductivity::addQuantityAddPhys ( Cell * )
overridevirtual

Add the quantities for the additional physics.

Parameters
cellcorresponding cell

Reimplemented from AddPhys.

Here is the call graph for this function:

◆ communicationsAddPhys()

void APUEqConductivity::communicationsAddPhys ( const int & ,
const int &  )
overridevirtual

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

Parameters
dimdimension
lvllevel

Reimplemented from AddPhys.

◆ solveFluxAddPhys()

void APUEqConductivity::solveFluxAddPhys ( CellInterface * )
overridevirtual

Solve the additional physics flux between two cells.

Parameters
cellInterfacecell interface

Reimplemented from AddPhys.

Here is the call graph for this function:

◆ solveFluxAddPhysBoundary()

void APUEqConductivity::solveFluxAddPhysBoundary ( CellInterface * )
overridevirtual

Solve the additional physics flux at a domain boundary.

Parameters
cellInterfacecell interface

Reimplemented from AddPhys.

Here is the call graph for this function:

◆ solveFluxConductivityInletInjStagState()

void APUEqConductivity::solveFluxConductivityInletInjStagState ( ) const

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

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

◆ 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
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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
Here is the call graph for this function:
Here is the caller graph for this function:

◆ solveFluxConductivityOther()

void APUEqConductivity::solveFluxConductivityOther ( ) const

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

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

◆ solveFluxConductivityOutletPressure()

void APUEqConductivity::solveFluxConductivityOutletPressure ( ) const

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

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

◆ solveFluxConductivityWall()

void APUEqConductivity::solveFluxConductivityWall ( ) const

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

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

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