![]() |
ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
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. | |
![]() | |
APEuler () | |
virtual | ~APEuler () |
![]() | |
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) | |
General class for thermal conductivity for the Euler model.
APEConductivity::APEConductivity | ( | int & | numberQPA, |
Eos ** | eos | ||
) |
|
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 APEConductivity::solveFluxConductivityInner | ( | const Coord & | gradTLeft, |
const Coord & | gradTRight | ||
) | const |
Solve the conductivity flux between two cells.
gradTLeft | temperature gradient of phase k of the left cell |
gradTRight | temperature gradient of phase k of the right cell |
void APEConductivity::solveFluxConductivityNonReflecting | ( | const Coord & | gradTLeft | ) | const |
Solve the conductivity flux at a boundary with an non-reflecting type.
gradTLeft | temperature gradient of phase k of the left cell |
void APEConductivity::solveFluxConductivityOther | ( | ) | const |
Solve the conductivity flux at a boundary with non-defined type yet or for adiabatic wall.
void APEConductivity::solveFluxConductivityWallImposedFlux | ( | CellInterface * | cellInterface | ) |
Solve the conductivity flux at a wall boundary with imposed flux density.
cellInterface | allows to retrieve imposed flux density |
void APEConductivity::solveFluxConductivityWallImposedTemp | ( | CellInterface * | cellInterface | ) |
Solve the conductivity flux at a wall boundary with imposed temperature.
cellInterface | allows to retrieve imposed temp. and distance cell/boundary |
|
private |
Binormal vector of the face for the flux computation (buffer)
|
private |
Left gradient of the phase temperature for the flux computation (buffer)
|
private |
Right gradient of the phase temperature for the flux computation (buffer)
|
private |
Thermal conductivity (W/(m.K)) of phase (taken from the EOS classe) (buffer)
|
private |
Normal vector of the face for the flux computation (buffer)
|
private |
Number of the associated variable for each cell (m_vecGrandeursAddPhys)
|
private |
Tangent vector of the face for the flux computation (buffer)