Go to the documentation of this file.
30 #include "phaseSystem.H"
41 template<
class BasePhaseModel,
class ThermoType>
45 const word& phaseName,
49 BasePhaseModel(
fluid, phaseName, index),
63 template<
class BasePhaseModel,
class ThermoType>
70 template<
class BasePhaseModel,
class ThermoType>
73 return !thermo_().incompressible();
77 template<
class BasePhaseModel,
class ThermoType>
85 template<
class BasePhaseModel,
class ThermoType>
93 template<
class BasePhaseModel,
class ThermoType>
97 return thermo_->rho();
101 template<
class BasePhaseModel,
class ThermoType>
105 return thermo_->mu();
109 template<
class BasePhaseModel,
class ThermoType>
116 return thermo_->mu(patchi);
120 template<
class BasePhaseModel,
class ThermoType>
124 return thermo_->nu();
128 template<
class BasePhaseModel,
class ThermoType>
135 return thermo_->nu(patchi);
139 template<
class BasePhaseModel,
class ThermoType>
143 return thermo_->kappa();
147 template<
class BasePhaseModel,
class ThermoType>
154 return thermo_->kappa(patchi);
158 template<
class BasePhaseModel,
class ThermoType>
162 return thermo_->alphahe();
166 template<
class BasePhaseModel,
class ThermoType>
173 return thermo_->alphahe(patchi);
177 template<
class BasePhaseModel,
class ThermoType>
184 return thermo_->kappaEff(alphat);
188 template<
class BasePhaseModel,
class ThermoType>
196 return thermo_->kappaEff(alphat, patchi);
200 template<
class BasePhaseModel,
class ThermoType>
204 return thermo_->alpha();
208 template<
class BasePhaseModel,
class ThermoType>
215 return thermo_->alpha(patchi);
219 template<
class BasePhaseModel,
class ThermoType>
226 return thermo_->alphaEff(alphat);
230 template<
class BasePhaseModel,
class ThermoType>
238 return thermo_->alphaEff(alphat, patchi);
virtual const rhoThermo & thermo() const
virtual tmp< volScalarField > rho() const
virtual tmp< volScalarField > mu() const
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual bool compressible() const
virtual ~ThermoPhaseModel()
Calculate the divergence of the given field.
virtual rhoThermo & thermoRef()
Calculate the matrix for the divergence of the given field and flux.
Basic thermodynamic properties based on density.
Generic templated field type.
ThermoPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
Calculate the matrix for the laplacian of the field.
virtual tmp< volScalarField > alpha() const
virtual tmp< volScalarField > nu() const
autoPtr< ThermoType > thermo_
Calculate the matrix for implicit and explicit sources.
virtual tmp< volScalarField > kappa() const
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
virtual tmp< volScalarField > alphahe() const
word name(const expressions::valueTypeCode typeCode)
Calculate the first temporal derivative.
Class to represent a system of phases and model interfacial transfers between them.
static word groupName(StringType base, const word &group)
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Generic GeometricField class.
virtual tmp< volScalarField > kappaEff(const volScalarField &alphat) const
Calculate the matrix for the first temporal derivative.