28#include "phaseModel.H"
34 const word& phaseName,
35 const volScalarField&
p,
36 const volScalarField&
T
43 IOobject::groupName(
"alpha", phaseName),
59 IOobject::groupName(
"dgdt", phaseName),
62 IOobject::READ_IF_PRESENT,
74 thermo_ = rhoThermo::New(
p.mesh(), phaseName);
75 thermo_->validate(phaseName,
"e");
92 thermo_->he() = thermo_->he(p_, T_);
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
void correct()
Correct the phase properties.
autoPtr< phaseModel > clone() const
Return clone.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimless
Dimensionless.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
GeometricField< scalar, fvPatchField, volMesh > volScalarField