![]() |
ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
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. | |
![]() | |
APUEq () | |
virtual | ~APUEq () |
![]() | |
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) | |
General class for thermal conductivity for the velocity-equilibrium system of equations.
APUEqConductivity::APUEqConductivity | ( | ) |
APUEqConductivity::APUEqConductivity | ( | int & | numberQPA, |
Eos ** | eos, | ||
const int & | numbPhases | ||
) |
|
virtual |
|
inlinevirtual |
Add the non-conservative terms of the corresponding additional physic in a cell.
cell | cell |
Reimplemented from AddPhys.
|
virtual |
Add the quantities for the additional physic.
cell | corresponding cell |
Reimplemented from AddPhys.
|
virtual |
|
virtual |
Solve the additional physic flux between two cells.
cellInterface | cell interface |
Reimplemented from AddPhys.
|
virtual |
Solve the additional physic flux at a domain boundary.
cellInterface | cell interface |
Reimplemented from AddPhys.
void APUEqConductivity::solveFluxConductivityInletInjStagState | ( | ) | const |
Solve the conductivity flux at a boundary with an inlet injection using stagnation state type.
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.
gradTkLeft | temperature gradient of phase k of the left cell |
gradTkRight | temperature gradient of phase k of the right cell |
alphakL | volume fraction of phase k of the left cell |
alphakR | volume fraction of phase k of the right cell |
numPhase | number of the phase |
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.
gradTkLeft | temperature gradient of phase k of the left cell |
alphakL | volume fraction of phase k of the left cell |
numPhase | number of the phase |
void APUEqConductivity::solveFluxConductivityOther | ( | ) | const |
Solve the conductivity flux at a boundary with non-defined type yet.
void APUEqConductivity::solveFluxConductivityOutletPressure | ( | ) | const |
Solve the conductivity flux at a boundary with an outlet at imposed pressure type.
void APUEqConductivity::solveFluxConductivityWall | ( | ) | const |
Solve the conductivity flux at a boundary with an wall type.
|
private |
Binormal vector of the corresponding face for the flux computation (buffer)
|
private |
Left gradient of the corresponding phase temperature for the flux computation (buffer)
|
private |
Right gradient of the corresponding phase temperature for the flux computation (buffer)
|
private |
Thermal conductivity (W/(m.K)) of each phase (taken from the EOS classes) (buffer)
|
private |
Normal vector of the corresponding face for the flux computation (buffer)
|
private |
Number of the associated variable for each cell (m_vecGrandeursAddPhys)
|
private |
Tangent vector of the corresponding face for the flux computation (buffer)