39 template<
class BasePhaseModel,
class ThermoType>
42 const phaseSystem& fluid,
43 const word& phaseName,
45 const bool createThermo
48 BasePhaseModel(fluid, phaseName, index)
57 thermo_ = thermoPtr_.ptr();
71 template<
class BasePhaseModel,
class ThermoType>
78 template<
class BasePhaseModel,
class ThermoType>
86 template<
class BasePhaseModel,
class ThermoType>
94 template<
class BasePhaseModel,
class ThermoType>
98 return thermo_->rho();
102 template<
class BasePhaseModel,
class ThermoType>
106 return thermo_->mu();
110 template<
class BasePhaseModel,
class ThermoType>
117 return thermo_->mu(patchi);
121 template<
class BasePhaseModel,
class ThermoType>
125 return thermo_->nu();
129 template<
class BasePhaseModel,
class ThermoType>
136 return thermo_->nu(patchi);
140 template<
class BasePhaseModel,
class ThermoType>
144 return thermo_->kappa();
148 template<
class BasePhaseModel,
class ThermoType>
155 return thermo_->kappa(patchi);
159 template<
class BasePhaseModel,
class ThermoType>
166 return thermo_->kappaEff(alphat);
170 template<
class BasePhaseModel,
class ThermoType>
178 return thermo_->kappaEff(alphat, patchi);
182 template<
class BasePhaseModel,
class ThermoType>
186 return thermo_->alpha();
190 template<
class BasePhaseModel,
class ThermoType>
197 return thermo_->alpha(patchi);
201 template<
class BasePhaseModel,
class ThermoType>
208 return thermo_->alphaEff(alphat);
212 template<
class BasePhaseModel,
class ThermoType>
220 return thermo_->alphaEff(alphat, patchi);
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 tmp< volScalarField > kappa() const
Return the laminar thermal conductivity.
static const char *const typeName
Calculate the matrix for the laplacian of the field.
virtual tmp< volScalarField > rho() const
Return the density field.
virtual const rhoThermo & thermo() const
Return const access to the thermophysical model.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Calculate the first temporal derivative.
virtual tmp< volScalarField > kappaEff(const volScalarField &alphat) const
Return the laminar thermal conductivity.
virtual tmp< volScalarField > alpha() const
Return the thermal diffusivity for enthalpy.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static word groupName(Name name, const word &group)
Calulate the matrix for the first temporal derivative.
Calculate the divergence of the given field.
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
virtual tmp< volScalarField > nu() const
Return the laminar kinematic viscosity.
word name(const complex &)
Return a string representation of a complex.
Calculate the matrix for the divergence of the given field and flux.
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Return the thermal diffusivity for enthalpy.
Basic thermodynamic properties based on density.
ThermoPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index, const bool createThermo=true)
A class for managing temporary objects.
virtual ~ThermoPhaseModel()
Destructor.
Calculate the matrix for implicit and explicit sources.