31 template<
class BasePhaseModel>
34 const phaseSystem&
fluid,
35 const word& phaseName,
39 BasePhaseModel(fluid, phaseName, index)
45 template<
class BasePhaseModel>
52 template<
class BasePhaseModel>
57 template<
class BasePhaseModel>
64 template<
class BasePhaseModel>
69 <<
"Cannot construct an energy equation for an isothermal phase" 72 return tmp<fvScalarMatrix>();
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual bool isothermal() const
Return whether the phase is isothermal.
IsothermalPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
virtual void correctThermo()
Correct the thermodynamics.
virtual tmp< fvScalarMatrix > heEqn()
Return the enthalpy equation.
virtual ~IsothermalPhaseModel()
Destructor.
A class for managing temporary objects.