Internal energy for a mixture based on compressibility. More...
#include <basicThermophysicalModels/ePsiThermo.H>
Internal energy for a mixture based on compressibility.
Definition at line 51 of file ePsiThermo.H.
Public Member Functions | |
TypeName ("ePsiThermo") | |
Runtime type information.
| |
ePsiThermo (const fvMesh &) | |
Construct from mese.
| |
virtual | ~ePsiThermo () |
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 & | e () |
Internal energy [J/kg].
| |
virtual const volScalarField & | e () const |
Internal energy [J/kg].
| |
virtual tmp< scalarField > | e (const scalarField &T, const labelList &cells) const |
Internal energy for cell-set [J/kg].
| |
virtual tmp< scalarField > | e (const scalarField &T, const label patchi) const |
Internal energy 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.
|
ePsiThermo | ( | const fvMesh & | mesh ) |
Construct from mese.
Definition at line 101 of file ePsiThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), ePsiThermo< MixtureType >::e(), basicThermo::eBoundaryCorrection(), forAll, GeometricField< Type, PatchField, GeoMesh >::internalField(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), basicThermo::psi_, and basicThermo::T_.
~ePsiThermo | ( | ) | [virtual]
|
Destructor.
Definition at line 147 of file ePsiThermo.C.
TypeName | ( | "ePsiThermo< MixtureType >" | ) |
Runtime type information.
virtual basicMixture& composition | ( | ) | [inline, virtual]
|
Return the compostion of the mixture.
Definition at line 90 of file ePsiThermo.H.
virtual const basicMixture& composition | ( | ) | const [inline, virtual]
|
Return the compostion of the mixture.
Definition at line 96 of file ePsiThermo.H.
void correct | ( | ) | [virtual]
|
Update properties.
Implements basicThermo.
Definition at line 154 of file ePsiThermo.C.
References Foam::endl(), and Foam::Info.
virtual volScalarField& e | ( | ) | [inline, virtual]
|
Internal energy [J/kg].
Non-const access allowed for transport equations
Reimplemented from basicThermo.
Definition at line 109 of file ePsiThermo.H.
Referenced by ePsiThermo< MixtureType >::ePsiThermo().
virtual const volScalarField& e | ( | ) | const [inline, virtual]
|
Internal energy [J/kg].
Reimplemented from basicThermo.
Definition at line 115 of file ePsiThermo.H.
Foam::tmp< Foam::scalarField > e | ( | const scalarField & | T, |
const labelList & | cells | ||
) | const [virtual]
|
Internal energy for cell-set [J/kg].
Reimplemented from basicThermo.
Definition at line 175 of file ePsiThermo.C.
References forAll, h, and List< T >::size().
Foam::tmp< Foam::scalarField > e | ( | const scalarField & | T, |
const label | patchi | ||
) | const [virtual]
|
Internal energy for patch [J/kg].
Reimplemented from basicThermo.
Definition at line 194 of file ePsiThermo.C.
References forAll, h, 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 213 of file ePsiThermo.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 231 of file ePsiThermo.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 276 of file ePsiThermo.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 294 of file ePsiThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), 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 333 of file ePsiThermo.C.
References basicThermo::read().