41template<
class BasePhaseModel,
class ThermoType>
45 const word& phaseName,
49 BasePhaseModel(
fluid, phaseName, index),
63template<
class BasePhaseModel,
class ThermoType>
70template<
class BasePhaseModel,
class ThermoType>
73 return !thermo_().incompressible();
77template<
class BasePhaseModel,
class ThermoType>
85template<
class BasePhaseModel,
class ThermoType>
93template<
class BasePhaseModel,
class ThermoType>
97 return thermo_->rho();
101template<
class BasePhaseModel,
class ThermoType>
105 return thermo_->mu();
109template<
class BasePhaseModel,
class ThermoType>
116 return thermo_->mu(patchi);
120template<
class BasePhaseModel,
class ThermoType>
124 return thermo_->nu();
128template<
class BasePhaseModel,
class ThermoType>
135 return thermo_->nu(patchi);
139template<
class BasePhaseModel,
class ThermoType>
143 return thermo_->kappa();
147template<
class BasePhaseModel,
class ThermoType>
154 return thermo_->kappa(patchi);
158template<
class BasePhaseModel,
class ThermoType>
162 return thermo_->alphahe();
166template<
class BasePhaseModel,
class ThermoType>
173 return thermo_->alphahe(patchi);
177template<
class BasePhaseModel,
class ThermoType>
184 return thermo_->kappaEff(alphat);
188template<
class BasePhaseModel,
class ThermoType>
196 return thermo_->kappaEff(alphat, patchi);
200template<
class BasePhaseModel,
class ThermoType>
204 return thermo_->alpha();
208template<
class BasePhaseModel,
class ThermoType>
215 return thermo_->alpha(patchi);
219template<
class BasePhaseModel,
class ThermoType>
226 return thermo_->alphaEff(alphat);
230template<
class BasePhaseModel,
class ThermoType>
238 return thermo_->alphaEff(alphat, patchi);
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
Class which represents a phase with a thermodynamic model. Provides access to the thermodynamic varia...
virtual const rhoThermo & thermo() const
Return the thermophysical model.
virtual tmp< volScalarField > alpha() const
Thermal diffusivity for enthalpy of mixture [kg/m/s].
virtual tmp< volScalarField > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
virtual tmp< volScalarField > nu() const
Return the laminar kinematic viscosity.
virtual bool compressible() const
Return whether the phase is compressible.
virtual ~ThermoPhaseModel()
Destructor.
virtual tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of mixture [J/m/s/K].
virtual rhoThermo & thermoRef()
Access the thermophysical model.
virtual tmp< volScalarField > rho() const
Return the density field.
autoPtr< ThermoType > thermo_
Thermophysical model.
tmp< volScalarField > alphaEff() const
Effective thermal turbulent diffusivity of mixture [kg/m/s].
Class to represent a system of phases and model interfacial transfers between them.
Basic thermodynamic properties based on density.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Calculate the first temporal derivative.
Calculate the divergence of the given field.
Calculate the matrix for the first temporal derivative.
Calculate the matrix for the divergence of the given field and flux.
Calculate the matrix for the laplacian of the field.
Calculate the finiteVolume matrix for implicit and explicit sources.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
static const char *const typeName
The type name used in ensight case files.