Enthalpy/Internal energy for a mixture. More...
Public Member Functions | |
heThermo (const fvMesh &, const word &phaseName) | |
Construct from mesh. More... | |
heThermo (const heThermo< BasicThermo, MixtureType > &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~heThermo () |
Destructor. More... | |
virtual MixtureType::basicMixtureType & | composition () |
Return the composition of the mixture. More... | |
virtual const MixtureType::basicMixtureType & | composition () const |
Return the composition of the mixture. More... | |
virtual word | thermoName () const |
Return the name of the thermo physics. More... | |
virtual bool | incompressible () const |
Return true if the equation of state is incompressible. More... | |
virtual bool | isochoric () const |
Return true if the equation of state is isochoric. More... | |
virtual volScalarField & | he () |
Enthalpy/Internal energy [J/kg]. More... | |
virtual const volScalarField & | he () const |
Enthalpy/Internal energy [J/kg]. More... | |
virtual const volScalarField & | Cp () const |
Heat capacity at constant pressure [J/kg/K]. More... | |
virtual const volScalarField & | Cv () const |
Heat capacity at constant volume [J/kg/K]. More... | |
virtual tmp< volScalarField > | he (const volScalarField &p, const volScalarField &T) const |
Enthalpy/Internal energy. More... | |
virtual tmp< scalarField > | he (const scalarField &T, const labelList &cells) const |
Enthalpy/Internal energy for cell-set [J/kg]. More... | |
virtual tmp< scalarField > | he (const scalarField &T, const label patchi) const |
Enthalpy/Internal energy for patch [J/kg]. More... | |
virtual tmp< volScalarField > | hs () const |
Sensible enthalpy [J/kg/K]. More... | |
virtual tmp< volScalarField > | hs (const volScalarField &p, const volScalarField &T) const |
Sensible enthalpy. More... | |
virtual tmp< scalarField > | hs (const scalarField &T, const label patchi) const |
Sensible enthalpy for patch [J/kg/K]. More... | |
virtual tmp< scalarField > | hs (const scalarField &T, const labelList &cells) const |
Sensible enthalpy for cell-set [J/kg]. More... | |
virtual tmp< volScalarField > | ha () const |
Absolute enthalpy [J/kg/K]. More... | |
virtual tmp< volScalarField > | ha (const volScalarField &p, const volScalarField &T) const |
Absolute enthalpy. More... | |
virtual tmp< scalarField > | ha (const scalarField &T, const label patchi) const |
Absolute enthalpy for patch [J/kg/K]. More... | |
virtual tmp< scalarField > | ha (const scalarField &T, const labelList &cells) const |
Absolute enthalpy for cell-set [J/kg]. More... | |
virtual tmp< volScalarField > | hc () const |
Enthalpy of formation [J/kg]. More... | |
virtual tmp< volScalarField > | THE (const volScalarField &h, const volScalarField &p, const volScalarField &T0) const |
Temperature from enthalpy/internal energy. More... | |
virtual tmp< scalarField > | THE (const scalarField &he, const scalarField &T0, const labelList &cells) const |
Temperature from enthalpy/internal energy for cell-set. More... | |
virtual tmp< scalarField > | THE (const scalarField &he, const scalarField &T0, const label patchi) const |
Temperature from enthalpy/internal energy for patch. More... | |
virtual tmp< scalarField > | Cp (const scalarField &T, const label patchi) const |
Heat capacity at constant pressure for patch [J/kg/K]. More... | |
virtual tmp< scalarField > | Cv (const scalarField &T, const label patchi) const |
Heat capacity at constant volume for patch [J/kg/K]. More... | |
virtual tmp< volScalarField > | gamma () const |
Gamma = Cp/Cv []. More... | |
virtual tmp< scalarField > | gamma (const scalarField &T, const label patchi) const |
Gamma = Cp/Cv for patch []. More... | |
virtual tmp< scalarField > | Cpv (const scalarField &T, const label patchi) const |
Heat capacity at constant pressure/volume for patch [J/kg/K]. More... | |
virtual tmp< volScalarField > | Cpv () const |
Heat capacity at constant pressure/volume [J/kg/K]. More... | |
virtual tmp< volScalarField > | W () const |
Molecular weight [kg/kmol]. More... | |
virtual tmp< scalarField > | W (const label patchi) const |
Molecular weight for patch [kg/kmol]. More... | |
virtual tmp< volScalarField > | alphahe () const |
Thermal diffusivity of energy of mixture [kg/m/s]. More... | |
virtual tmp< scalarField > | alphahe (const label patchi) const |
Thermal diffusivity of energy of mixture for patch [kg/m/s]. More... | |
virtual tmp< volScalarField > | kappaEff (const volScalarField &) const |
Effective thermal turbulent conductivity of mixture [W/m/K]. More... | |
virtual tmp< scalarField > | kappaEff (const scalarField &alphat, const label patchi) const |
Effective thermal turbulent conductivity of mixture. More... | |
virtual tmp< volScalarField > | alphaEff (const volScalarField &alphat) const |
Effective turbulent thermal diffusivity of energy. More... | |
virtual tmp< scalarField > | alphaEff (const scalarField &alphat, const label patchi) const |
Effective turbulent thermal diffusivity of energy. More... | |
virtual bool | read () |
Read thermophysical properties dictionary. More... | |
template<class CellMixture , class PatchFaceMixture , class Method , class ... Args> | |
Foam::tmp< Foam::volScalarField > | volScalarFieldProperty (const word &psiName, const dimensionSet &psiDim, CellMixture cellMixture, PatchFaceMixture patchFaceMixture, Method psiMethod, const Args &... args) const |
template<class CellMixture , class Method , class ... Args> | |
Foam::tmp< Foam::scalarField > | cellSetProperty (CellMixture cellMixture, Method psiMethod, const labelList &cells, const Args &... args) const |
template<class PatchFaceMixture , class Method , class ... Args> | |
Foam::tmp< Foam::scalarField > | patchFieldProperty (PatchFaceMixture patchFaceMixture, Method psiMethod, const label patchi, const Args &... args) const |
Protected Member Functions | |
template<class CellMixture , class PatchFaceMixture , class Method , class ... Args> | |
tmp< volScalarField > | volScalarFieldProperty (const word &psiName, const dimensionSet &psiDim, CellMixture cellMixture, PatchFaceMixture patchFaceMixture, Method psiMethod, const Args &... args) const |
Return a volScalarField of the given property. More... | |
template<class CellMixture , class Method , class ... Args> | |
tmp< scalarField > | cellSetProperty (CellMixture cellMixture, Method psiMethod, const labelList &cells, const Args &... args) const |
Return a scalarField of the given property on a cell set. More... | |
template<class PatchFaceMixture , class Method , class ... Args> | |
tmp< scalarField > | patchFieldProperty (PatchFaceMixture patchFaceMixture, Method psiMethod, const label patchi, const Args &... args) const |
Return a scalarField of the given property on a patch. More... | |
void | heBoundaryCorrection (volScalarField &he) |
Correct the enthalpy/internal energy field boundaries. More... | |
Static Protected Member Functions | |
static UIndirectList< scalar > | cellSetScalarList (const volScalarField &psi, const labelList &cells) |
Return an indirect list of a field for the given set of cells. More... | |
static UniformField< scalar > | cellSetScalarList (const uniformGeometricScalarField &psi, const labelList &) |
Return an indirect list of a field for the given set of cells. More... | |
Protected Attributes | |
volScalarField | he_ |
Energy field. More... | |
volScalarField | Cp_ |
Heat capacity at constant pressure field [J/kg/K]. More... | |
volScalarField | Cv_ |
Enthalpy/Internal energy for a mixture.
Definition at line 51 of file heThermo.H.
Construct from mesh.
Definition at line 195 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::heBoundaryCorrection().
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 262 of file heThermo.C.
|
protected |
Return a volScalarField of the given property.
|
protected |
Return a scalarField of the given property on a cell set.
Referenced by heThermo< BasicSolidThermo, MixtureType >::volScalarFieldProperty().
|
protected |
Return a scalarField of the given property on a patch.
Referenced by heThermo< BasicSolidThermo, MixtureType >::cellSetProperty().
|
staticprotected |
Return an indirect list of a field for the given set of cells.
Definition at line 148 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::cellSetScalarList(), and heThermo< BasicSolidThermo, MixtureType >::patchFieldProperty().
|
staticprotected |
Return an indirect list of a field for the given set of cells.
Definition at line 160 of file heThermo.C.
|
protected |
Correct the enthalpy/internal energy field boundaries.
Definition at line 171 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::cellSetScalarList().
|
inlinevirtual |
Return the composition of the mixture.
Definition at line 151 of file heThermo.H.
|
inlinevirtual |
Return the composition of the mixture.
Definition at line 158 of file heThermo.H.
|
inlinevirtual |
Return the name of the thermo physics.
Definition at line 164 of file heThermo.H.
|
inlinevirtual |
Return true if the equation of state is incompressible.
i.e. rho != f(p)
Definition at line 171 of file heThermo.H.
Referenced by heThermo< BasicSolidThermo, MixtureType >::thermoName().
|
inlinevirtual |
Return true if the equation of state is isochoric.
i.e. rho = const
Definition at line 178 of file heThermo.H.
Referenced by heThermo< BasicSolidThermo, MixtureType >::thermoName().
|
inlinevirtual |
Enthalpy/Internal energy [J/kg].
Non-const access allowed for transport equations
Definition at line 188 of file heThermo.H.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv(), heThermo< BasicSolidThermo, MixtureType >::he(), heThermo< BasicSolidThermo, MixtureType >::thermoName(), and heThermo< BasicSolidThermo, MixtureType >::~heThermo().
|
inlinevirtual |
Enthalpy/Internal energy [J/kg].
Definition at line 194 of file heThermo.H.
|
inlinevirtual |
Heat capacity at constant pressure [J/kg/K].
Definition at line 200 of file heThermo.H.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv(), and heThermo< BasicSolidThermo, MixtureType >::hc().
|
inlinevirtual |
Heat capacity at constant volume [J/kg/K].
Definition at line 206 of file heThermo.H.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cp(), and heThermo< BasicSolidThermo, MixtureType >::Cv().
|
virtual |
Enthalpy/Internal energy.
for given pressure and temperature [J/kg]
Definition at line 270 of file heThermo.C.
|
virtual |
Enthalpy/Internal energy for cell-set [J/kg].
Definition at line 290 of file heThermo.C.
|
virtual |
Enthalpy/Internal energy for patch [J/kg].
Definition at line 308 of file heThermo.C.
|
virtual |
Sensible enthalpy [J/kg/K].
Definition at line 326 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv(), and heThermo< BasicSolidThermo, MixtureType >::hs().
|
virtual |
Sensible enthalpy.
for given pressure and temperature [J/kg]
Definition at line 343 of file heThermo.C.
|
virtual |
Sensible enthalpy for patch [J/kg/K].
Definition at line 381 of file heThermo.C.
|
virtual |
Sensible enthalpy for cell-set [J/kg].
Definition at line 363 of file heThermo.C.
|
virtual |
Absolute enthalpy [J/kg/K].
Definition at line 399 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv(), and heThermo< BasicSolidThermo, MixtureType >::ha().
|
virtual |
Absolute enthalpy.
for given pressure and temperature [J/kg]
Definition at line 416 of file heThermo.C.
|
virtual |
Absolute enthalpy for patch [J/kg/K].
Definition at line 454 of file heThermo.C.
|
virtual |
Absolute enthalpy for cell-set [J/kg].
Definition at line 436 of file heThermo.C.
|
virtual |
Enthalpy of formation [J/kg].
Definition at line 472 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv().
|
virtual |
Temperature from enthalpy/internal energy.
Definition at line 583 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cpv(), heThermo< BasicSolidThermo, MixtureType >::Cv(), and heThermo< BasicSolidThermo, MixtureType >::THE().
|
virtual |
Temperature from enthalpy/internal energy for cell-set.
Definition at line 605 of file heThermo.C.
|
virtual |
Temperature from enthalpy/internal energy for patch.
Definition at line 625 of file heThermo.C.
|
virtual |
Heat capacity at constant pressure for patch [J/kg/K].
Definition at line 487 of file heThermo.C.
|
virtual |
Heat capacity at constant volume for patch [J/kg/K].
Definition at line 506 of file heThermo.C.
|
virtual |
Gamma = Cp/Cv [].
Definition at line 542 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv().
|
virtual |
Gamma = Cp/Cv for patch [].
Definition at line 524 of file heThermo.C.
|
virtual |
Heat capacity at constant pressure/volume for patch [J/kg/K].
Definition at line 550 of file heThermo.C.
|
virtual |
Heat capacity at constant pressure/volume [J/kg/K].
Definition at line 568 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv(), and heThermo< BasicSolidThermo, MixtureType >::gamma().
|
virtual |
Molecular weight [kg/kmol].
Definition at line 645 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv(), and heThermo< BasicSolidThermo, MixtureType >::W().
|
virtual |
Molecular weight for patch [kg/kmol].
Definition at line 660 of file heThermo.C.
|
virtual |
Thermal diffusivity of energy of mixture [kg/m/s].
Definition at line 675 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv().
|
virtual |
Thermal diffusivity of energy of mixture for patch [kg/m/s].
Definition at line 690 of file heThermo.C.
|
virtual |
Effective thermal turbulent conductivity of mixture [W/m/K].
Definition at line 706 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::alphahe(), heThermo< BasicSolidThermo, MixtureType >::Cv(), and heThermo< BasicSolidThermo, MixtureType >::kappaEff().
|
virtual |
Effective thermal turbulent conductivity of mixture.
for patch [W/m/K]
Definition at line 717 of file heThermo.C.
|
virtual |
Effective turbulent thermal diffusivity of energy.
of mixture [kg/m/s]
Definition at line 731 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::alphaEff(), heThermo< BasicSolidThermo, MixtureType >::Cv(), and heThermo< BasicSolidThermo, MixtureType >::kappaEff().
|
virtual |
Effective turbulent thermal diffusivity of energy.
of mixture for patch [kg/m/s]
Definition at line 753 of file heThermo.C.
|
virtual |
Read thermophysical properties dictionary.
Definition at line 776 of file heThermo.C.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv().
Foam::tmp<Foam::volScalarField> volScalarFieldProperty | ( | const word & | psiName, |
const dimensionSet & | psiDim, | ||
CellMixture | cellMixture, | ||
PatchFaceMixture | patchFaceMixture, | ||
Method | psiMethod, | ||
const Args &... | args | ||
) | const |
Definition at line 42 of file heThermo.C.
Foam::tmp<Foam::scalarField> cellSetProperty | ( | CellMixture | cellMixture, |
Method | psiMethod, | ||
const labelList & | cells, | ||
const Args &... | args | ||
) | const |
Definition at line 92 of file heThermo.C.
Foam::tmp<Foam::scalarField> patchFieldProperty | ( | PatchFaceMixture | patchFaceMixture, |
Method | psiMethod, | ||
const label | patchi, | ||
const Args &... | args | ||
) | const |
Definition at line 119 of file heThermo.C.
|
protected |
Energy field.
Definition at line 61 of file heThermo.H.
Referenced by heThermo< BasicSolidThermo, MixtureType >::he(), and heThermo< BasicSolidThermo, MixtureType >::thermoName().
|
protected |
Heat capacity at constant pressure field [J/kg/K].
Definition at line 64 of file heThermo.H.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cp().
|
protected |
Definition at line 67 of file heThermo.H.
Referenced by heThermo< BasicSolidThermo, MixtureType >::Cv().