Go to the documentation of this file.
29 #include "phaseSystem.H"
33 template<
class BasePhaseModel>
37 const word& phaseName,
41 BasePhaseModel(
fluid, phaseName, index)
47 template<
class BasePhaseModel>
62 this->thermo_->correct();
63 this->thermo_->T() = TCopy;
67 template<
class BasePhaseModel>
74 template<
class BasePhaseModel>
79 <<
"Cannot construct an energy equation for an isothermal phase"
virtual tmp< fvScalarMatrix > heEqn()
virtual void correctThermo()
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
psiReactionThermo & thermo
IsothermalPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual bool isothermal() const
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
#define FatalErrorInFunction
word name(const expressions::valueTypeCode typeCode)
Class to represent a system of phases and model interfacial transfers between them.