39 #ifndef ThermoPhaseModel_H 40 #define ThermoPhaseModel_H 42 #include "phaseModel.H" 55 template<
class BasePhaseModel,
class ThermoModel>
58 public BasePhaseModel,
79 const word& phaseName,
80 const bool referencePhase,
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.
Abstract base class for all fluid physical properties.
virtual tmp< volScalarField > rho() const
Return the density field.
autoPtr< ThermoModel > thermo_
Thermophysical model.
Base-class for fluid 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.