Go to the documentation of this file.
26 #include "phaseModel.H"
32 const word& phaseName,
41 IOobject::groupName(
"alpha", phaseName),
57 IOobject::groupName(
"dgdt", phaseName),
60 IOobject::READ_IF_PRESENT,
73 thermo_->validate(phaseName,
"e");
84 return autoPtr<phaseModel>(NULL);
90 thermo_->he() = thermo_->he(p_, T_);
static word groupName(Name name, const word &group)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
virtual const volScalarField & T() const
Temperature [K].
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
phaseModel(const word &phaseName, const volScalarField &p, const volScalarField &T)
Construct from components.
autoPtr< phaseModel > clone() const
Return clone.
static autoPtr< rhoThermo > New(const fvMesh &, const word &phaseName=word::null)
Selector.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual volScalarField & p()
Pressure [Pa].
virtual void correct()
Update properties.