33template<
class BasePhaseModel>
37 const word& phaseName,
41 BasePhaseModel(
fluid, phaseName, index)
47template<
class BasePhaseModel>
50 BasePhaseModel::correctThermo();
61 this->thermo_->he() = this->
thermo().he(this->
thermo().
p(), TCopy);
62 this->thermo_->correct();
63 this->thermo_->T() = TCopy;
67template<
class BasePhaseModel>
74template<
class BasePhaseModel>
79 <<
"Cannot construct an energy equation for an isothermal phase"
Class which represents a phase for which the temperature (strictly energy) remains constant....
virtual void correctThermo()
Correct the thermodynamics.
virtual bool isothermal() const
Return whether the phase is isothermal.
virtual tmp< fvScalarMatrix > heEqn()
Return the enthalpy equation.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Class to represent a system of phases and model interfacial transfers between them.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)