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>(
nullptr);
90 thermo_->he() = thermo_->he(
p_,
T_);
autoPtr< phaseModel > clone() const
Return clone.
volScalarField T_
Temperature [K].
static autoPtr< rhoThermo > New(const fvMesh &, const word &phaseName=word::null)
Selector.
phaseModel(const word &phaseName, const volScalarField &p, const volScalarField &T)
Construct from components.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volScalarField & p_
Pressure [Pa].
static word groupName(Name name, const word &group)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual void correct()
Update properties.