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 hierarchy for one which mirrors the functionality, but does not include a thermo model; an incompressible phase model, for example. More...
#include <ThermoPhaseModel.H>


Public Member Functions | |
| ThermoPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index) | |
| virtual | ~ThermoPhaseModel () |
| Destructor. | |
| virtual bool | compressible () const |
| Return whether the phase is compressible. | |
| virtual const rhoThermo & | thermo () const |
| Return the thermophysical model. | |
| virtual rhoThermo & | thermoRef () |
| Access the thermophysical model. | |
| virtual tmp< volScalarField > | rho () const |
| Return the density field. | |
| virtual tmp< volScalarField > | mu () const |
| Return the laminar dynamic viscosity. | |
| virtual tmp< scalarField > | mu (const label patchi) const |
| Return the laminar dynamic viscosity on a patch. | |
| virtual tmp< volScalarField > | nu () const |
| Return the laminar kinematic viscosity. | |
| virtual tmp< scalarField > | nu (const label patchi) const |
| Return the laminar kinematic viscosity on a patch. | |
| virtual tmp< volScalarField > | alpha () const |
| Thermal diffusivity for enthalpy of mixture [kg/m/s]. | |
| virtual tmp< scalarField > | alpha (const label patchi) const |
| Thermal diffusivity for enthalpy of mixture for patch [kg/m/s]. | |
| virtual tmp< volScalarField > | kappa () const |
| Thermal diffusivity for temperature of mixture [J/m/s/K]. | |
| virtual tmp< scalarField > | kappa (const label patchi) const |
| Thermal diffusivity for temperature of mixture. | |
| virtual tmp< volScalarField > | alphahe () const |
| Thermal diffusivity for energy of mixture [kg/m/s]. | |
| virtual tmp< scalarField > | alphahe (const label patchi) const |
| Thermal diffusivity for energy of mixture for patch [kg/m/s]. | |
| virtual tmp< volScalarField > | kappaEff (const volScalarField &alphat) const |
| Effective thermal turbulent diffusivity for temperature. | |
| virtual tmp< scalarField > | kappaEff (const scalarField &alphat, const label patchi) const |
| Effective thermal turbulent diffusivity for temperature. | |
| virtual tmp< volScalarField > | alphaEff (const volScalarField &alphat) const |
| Effective thermal turbulent diffusivity of mixture [kg/m/s]. | |
| virtual tmp< scalarField > | alphaEff (const scalarField &alphat, const label patchi) const |
| Effective thermal turbulent diffusivity of mixture. | |
Protected Attributes | |
| autoPtr< ThermoType > | thermo_ |
| Thermophysical model. | |
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 hierarchy for one which mirrors the functionality, but does not include a thermo model; an incompressible phase model, for example.
Definition at line 53 of file ThermoPhaseModel.H.
| ThermoPhaseModel | ( | const phaseSystem & | fluid, |
| const word & | phaseName, | ||
| const label | index ) |
Definition at line 35 of file ThermoPhaseModel.C.
References fluid, IOobject::groupName(), mesh, Foam::name(), name, Foam::New(), thermo_, and FieldBase::typeName.

|
virtual |
Destructor.
Definition at line 57 of file ThermoPhaseModel.C.
|
virtual |
Return whether the phase is compressible.
Definition at line 64 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Return the thermophysical model.
Definition at line 72 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Access the thermophysical model.
Definition at line 80 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
|
virtual |
Return the laminar dynamic viscosity.
Definition at line 96 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Return the laminar dynamic viscosity on a patch.
Definition at line 104 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Return the laminar kinematic viscosity.
Definition at line 115 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Return the laminar kinematic viscosity on a patch.
Definition at line 123 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Thermal diffusivity for enthalpy of mixture [kg/m/s].
Definition at line 195 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Thermal diffusivity for enthalpy of mixture for patch [kg/m/s].
Definition at line 203 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Thermal diffusivity for temperature of mixture [J/m/s/K].
Definition at line 134 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Thermal diffusivity for temperature of mixture.
for patch [J/m/s/K]
Definition at line 142 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Thermal diffusivity for energy of mixture [kg/m/s].
Definition at line 153 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Thermal diffusivity for energy of mixture for patch [kg/m/s].
Definition at line 161 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Effective thermal turbulent diffusivity for temperature.
of mixture [J/m/s/K]
Definition at line 172 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Effective thermal turbulent diffusivity for temperature.
of mixture for patch [J/m/s/K]
Definition at line 183 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Effective thermal turbulent diffusivity of mixture [kg/m/s].
Definition at line 214 of file ThermoPhaseModel.C.
References thermo_.
|
virtual |
Effective thermal turbulent diffusivity of mixture.
for patch [kg/m/s]
Definition at line 225 of file ThermoPhaseModel.C.
References thermo_.
|
protected |
Thermophysical model.
Definition at line 64 of file ThermoPhaseModel.H.
Referenced by alpha(), alpha(), alphaEff(), alphaEff(), alphahe(), alphahe(), compressible(), kappa(), kappa(), kappaEff(), kappaEff(), mu(), mu(), nu(), nu(), rho(), thermo(), ThermoPhaseModel(), and thermoRef().