28 #include "phaseModel.H" 34 const word& phaseName,
43 IOobject::groupName(
"alpha", phaseName),
59 IOobject::groupName(
"dgdt", phaseName),
62 IOobject::READ_IF_PRESENT,
75 thermo_->validate(phaseName,
"e");
92 thermo_->he() = thermo_->he(p_, T_);
autoPtr< phaseModel > clone() const
Return clone.
static autoPtr< rhoThermo > New(const fvMesh &, const word &phaseName=word::null)
Selector.
const dimensionSet dimless
Dimensionless.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
void correct()
Correct the phase properties.
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field)
phaseModel(const word &phaseName, const dictionary &phaseDict, const fvMesh &mesh)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
static constexpr const zero Zero
Global zero (0)