Class which represents a phase with a thermodynamic model. Provides access to the thermodynamic variables. Note that the thermo model itself is not returned as this class could be substituted in the hierarcy for one which mirrors the functionality, but does not include a thermo model; an incompressible phase model, for example. More...
Public Member Functions | |
ThermoPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index, const bool createThermo=true) | |
virtual | ~ThermoPhaseModel () |
Destructor. More... | |
virtual const rhoThermo & | thermo () const |
Return const access to the thermophysical model. More... | |
virtual rhoThermo & | thermo () |
Return non-const access to the thermophysical model. More... | |
virtual tmp< volScalarField > | rho () const |
Return the density field. More... | |
virtual tmp< volScalarField > | mu () const |
Return the laminar dynamic viscosity. More... | |
virtual tmp< scalarField > | mu (const label patchi) const |
Access the laminar dynamic viscosity. More... | |
virtual tmp< volScalarField > | nu () const |
Return the laminar kinematic viscosity. More... | |
virtual tmp< scalarField > | nu (const label patchi) const |
Access the laminar kinematic viscosity. More... | |
virtual tmp< volScalarField > | kappa () const |
Return the laminar thermal conductivity. More... | |
virtual tmp< scalarField > | kappa (const label patchi) const |
Access the laminar thermal conductivity. More... | |
virtual tmp< volScalarField > | kappaEff (const volScalarField &alphat) const |
Return the laminar thermal conductivity. More... | |
virtual tmp< scalarField > | kappaEff (const scalarField &alphat, const label patchi) const |
Access the laminar thermal conductivity. More... | |
virtual tmp< volScalarField > | alpha () const |
Return the thermal diffusivity for enthalpy. More... | |
virtual tmp< scalarField > | alpha (const label patchi) const |
Return the thermal diffusivity for enthalpy on a patch. More... | |
virtual tmp< volScalarField > | alphaEff (const volScalarField &alphat) const |
Return the thermal diffusivity for enthalpy. More... | |
virtual tmp< scalarField > | alphaEff (const scalarField &alphat, const label patchi) const |
Return the thermal diffusivity for enthalpy on a patch. More... | |
Protected Attributes | |
autoPtr< ThermoType > | thermoPtr_ |
Thermophysical model. More... | |
ThermoType * | thermo_ |
Thermophysical model. More... | |
Class which represents a phase with a thermodynamic model. Provides access to the thermodynamic variables. Note that the thermo model itself is not returned as this class could be substituted in the hierarcy for one which mirrors the functionality, but does not include a thermo model; an incompressible phase model, for example.
Definition at line 55 of file ThermoPhaseModel.H.
ThermoPhaseModel | ( | const phaseSystem & | fluid, |
const word & | phaseName, | ||
const label | index, | ||
const bool | createThermo = true |
||
) |
|
virtual |
Destructor.
Return non-const access to the thermophysical model.
for correction
|
virtual |
Return the density field.
|
virtual |
Return the laminar dynamic viscosity.
|
virtual |
Access the laminar dynamic viscosity.
|
virtual |
Return the laminar kinematic viscosity.
|
virtual |
Access the laminar kinematic viscosity.
|
virtual |
Return the laminar thermal conductivity.
|
virtual |
Access the laminar thermal conductivity.
|
virtual |
Return the laminar thermal conductivity.
|
virtual |
Access the laminar thermal conductivity.
|
virtual |
Return the thermal diffusivity for enthalpy.
|
virtual |
Return the thermal diffusivity for enthalpy on a patch.
|
virtual |
Return the thermal diffusivity for enthalpy.
|
virtual |
Return the thermal diffusivity for enthalpy on a patch.
|
protected |
Thermophysical model.
Definition at line 64 of file ThermoPhaseModel.H.
|
protected |
Thermophysical model.
Definition at line 67 of file ThermoPhaseModel.H.