39 #ifndef ThermoPhaseModel_H 40 #define ThermoPhaseModel_H 53 template<
class BasePhaseModel,
class ThermoModel>
76 const word& phaseName,
77 const bool referencePhase,
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool incompressible() const
Return whether the phase is incompressible.
virtual bool isochoric() const
Return whether the phase is constant density.
virtual rhoThermo & thermoRef()
Access the thermophysical model.
virtual const rhoThermo & thermo() const
Return the thermophysical model.
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from string.
virtual tmp< volScalarField > rho() const
Return the density field.
autoPtr< ThermoModel > thermo_
Thermophysical model.
Basic thermodynamic properties based on density.
ThermoPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
A class for managing temporary objects.
virtual ~ThermoPhaseModel()
Destructor.
Class which represents a phase with a thermodynamic model. Provides access to the thermodynamic varia...
virtual tmp< volScalarField > nu() const
Return the laminar kinematic viscosity.