Sensible enthalpy for a mixture based on compressibility. More...
#include <basicThermophysicalModels/hsPsiThermo.H>
Sensible enthalpy for a mixture based on compressibility.
Definition at line 51 of file hsPsiThermo.H.
Public Member Functions | |
TypeName ("hsPsiThermo") | |
Runtime type information.
| |
hsPsiThermo (const fvMesh &) | |
Construct from mesh.
| |
virtual | ~hsPsiThermo () |
Destructor.
| |
virtual basicMixture & | composition () |
Return the compostion of the mixture.
| |
virtual const basicMixture & | composition () const |
Return the compostion of the mixture.
| |
virtual void | correct () |
Update properties.
| |
virtual volScalarField & | hs () |
Sensible enthalpy [J/kg].
| |
virtual const volScalarField & | hs () const |
Sensible enthalpy [J/kg].
| |
virtual tmp< scalarField > | hs (const scalarField &T, const labelList &cells) const |
Enthalpy for cell-set [J/kg].
| |
virtual tmp< scalarField > | hs (const scalarField &T, const label patchi) const |
Enthalpy for patch [J/kg].
| |
virtual tmp< scalarField > | Cp (const scalarField &T, const label patchi) const |
Heat capacity at constant pressure for patch [J/kg/K].
| |
virtual tmp< volScalarField > | Cp () const |
Heat capacity at constant pressure [J/kg/K].
| |
virtual tmp< scalarField > | Cv (const scalarField &T, const label patchi) const |
Heat capacity at constant volume for patch [J/kg/K].
| |
virtual tmp< volScalarField > | Cv () const |
Heat capacity at constant volume [J/kg/K].
| |
virtual bool | read () |
Read thermophysicalProperties dictionary.
|
hsPsiThermo | ( | const fvMesh & | mesh ) |
Construct from mesh.
Definition at line 99 of file hsPsiThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, basicThermo::hBoundaryCorrection(), hsPsiThermo< MixtureType >::hs(), GeometricField< Type, PatchField, GeoMesh >::internalField(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), basicThermo::psi_, and basicThermo::T_.
~hsPsiThermo | ( | ) | [virtual]
|
Destructor.
Definition at line 145 of file hsPsiThermo.C.
TypeName | ( | "hsPsiThermo< MixtureType >" | ) |
Runtime type information.
virtual basicMixture& composition | ( | ) | [inline, virtual]
|
Return the compostion of the mixture.
Definition at line 90 of file hsPsiThermo.H.
virtual const basicMixture& composition | ( | ) | const [inline, virtual]
|
Return the compostion of the mixture.
Definition at line 96 of file hsPsiThermo.H.
void correct | ( | ) | [virtual]
|
Update properties.
Implements basicThermo.
Definition at line 152 of file hsPsiThermo.C.
References Foam::endl(), and Foam::Info.
virtual volScalarField& hs | ( | ) | [inline, virtual]
|
Sensible enthalpy [J/kg].
Non-const access allowed for transport equations
Reimplemented from basicThermo.
Definition at line 109 of file hsPsiThermo.H.
Referenced by hsPsiThermo< MixtureType >::hsPsiThermo().
virtual const volScalarField& hs | ( | ) | const [inline, virtual]
|
Sensible enthalpy [J/kg].
Reimplemented from basicThermo.
Definition at line 115 of file hsPsiThermo.H.
Foam::tmp< Foam::scalarField > hs | ( | const scalarField & | T, |
const labelList & | cells | ||
) | const [virtual]
|
Enthalpy for cell-set [J/kg].
Reimplemented from basicThermo.
Definition at line 173 of file hsPsiThermo.C.
References forAll, hs, and List< T >::size().
Foam::tmp< Foam::scalarField > hs | ( | const scalarField & | T, |
const label | patchi | ||
) | const [virtual]
|
Enthalpy for patch [J/kg].
Reimplemented from basicThermo.
Definition at line 192 of file hsPsiThermo.C.
References forAll, hs, and List< T >::size().
Foam::tmp< Foam::scalarField > Cp | ( | const scalarField & | T, |
const label | patchi | ||
) | const [virtual]
|
Heat capacity at constant pressure for patch [J/kg/K].
Reimplemented from basicThermo.
Definition at line 211 of file hsPsiThermo.C.
References Foam::cp(), forAll, and List< T >::size().
Foam::tmp< Foam::volScalarField > Cp | ( | ) | const [virtual]
|
Heat capacity at constant pressure [J/kg/K].
Reimplemented from basicThermo.
Definition at line 229 of file hsPsiThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::cp(), forAll, mesh, IOobject::NO_READ, IOobject::NO_WRITE, fvMesh::time(), and Time::timeName().
Foam::tmp< Foam::scalarField > Cv | ( | const scalarField & | T, |
const label | patchi | ||
) | const [virtual]
|
Heat capacity at constant volume for patch [J/kg/K].
Reimplemented from basicThermo.
Definition at line 274 of file hsPsiThermo.C.
References forAll, and List< T >::size().
Foam::tmp< Foam::volScalarField > Cv | ( | ) | const [virtual]
|
Heat capacity at constant volume [J/kg/K].
Reimplemented from basicThermo.
Definition at line 292 of file hsPsiThermo.C.
References Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, forAll, mesh, IOobject::NO_READ, IOobject::NO_WRITE, fvMesh::time(), and Time::timeName().
bool read | ( | ) | [virtual]
|
Read thermophysicalProperties dictionary.
Reimplemented from basicThermo.
Definition at line 331 of file hsPsiThermo.C.
References basicThermo::read().