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

Collaboration diagram for APEConductivity:
[legend]

Public Member Functions

 APEConductivity (int &numberQPA, Eos **eos)
 ~APEConductivity () 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 &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.
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.
virtual void computeTurbulenceParameters () const override
 Print the diagnostics for turbulence decay cases.
Public Member Functions inherited from APEuler
 APEuler ()
 ~APEuler () 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).

Private Attributes

double m_lambda
 Thermal conductivity (W/(m.K)) of phase (taken from the EOS class) (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 )
Here is the call graph for this function:

◆ ~APEConductivity()

APEConductivity::~APEConductivity ( )
override

Member Function Documentation

◆ addNonCons()

void APEConductivity::addNonCons ( Cell * )
inlineoverridevirtual

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

Parameters
cellcell

Reimplemented from AddPhys.

◆ addQuantityAddPhys()

void APEConductivity::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 APEConductivity::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.

◆ computeTurbulenceParameters()

virtual void APEConductivity::computeTurbulenceParameters ( ) const
inlineoverridevirtual

Print the diagnostics for turbulence decay cases.

Reimplemented from AddPhys.

◆ solveFluxAddPhys()

void APEConductivity::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 APEConductivity::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:

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

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

◆ solveFluxConductivityOther()

void APEConductivity::solveFluxConductivityOther ( ) const

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

Here is the caller graph for this function:

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

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

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