26 #include "phaseModel.H" 32 const word& phaseName,
41 IOobject::groupName(
"alpha", phaseName),
57 IOobject::groupName(
"Alpha", phaseName),
68 IOobject::groupName(
"dgdt", phaseName),
71 IOobject::READ_IF_PRESENT,
84 thermo_->validate(phaseName,
"e");
95 return autoPtr<phaseModel>(
nullptr);
101 thermo_->he() = thermo_->he(p_, T_);
autoPtr< phaseModel > clone() const
Return clone.
static autoPtr< rhoThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
const dimensionSet dimless
phaseModel(const word &phaseName, const volScalarField &p, const volScalarField &T)
Construct from components.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimTime
static word groupName(Name name, const word &group)
virtual void correct()
Update properties.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
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.