38 template<
class BasicMomentumTransportModel>
61 liquidTurbulencePtr_(
nullptr),
75 this->printCoeffs(type);
82 template<
class BasicMomentumTransportModel>
87 alphaInversion_.readIfPresent(this->coeffDict());
98 template<
class BasicMomentumTransportModel>
102 if (!liquidTurbulencePtr_)
106 const phaseModel& gas = refCast<const phaseModel>(this->transport());
110 liquidTurbulencePtr_ =
115 momentumTransportModel::typeName,
121 return *liquidTurbulencePtr_;
125 template<
class BasicMomentumTransportModel>
137 max(alphaInversion_ - alpha, scalar(0))
141 this->Ce_*
sqrt(liquidTurbulence.
k())/this->
delta(),
148 template<
class BasicMomentumTransportModel>
153 const volScalarField phaseTransferCoeff(this->phaseTransferCoeff());
156 phaseTransferCoeff*liquidTurbulence.
k()
157 -
fvm::Sp(phaseTransferCoeff, this->k_);
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
dimensionedScalar sqrt(const dimensionedScalar &ds)
const word & name() const
Generic dimensioned Type class.
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
One equation eddy-viscosity model.
continuousGasKEqn(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &type=typeName)
Construct from components.
Class to represent a system of phases and model interfacial transfers between them.
const momentumTransportModel & liquidTurbulence() const
Return the turbulence model for the liquid phase.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
virtual tmp< fvScalarMatrix > kSource() const
tmp< volScalarField > phaseTransferCoeff() const
BasicMomentumTransportModel::rhoField rhoField
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
virtual bool read()
Read model coefficients if they have changed.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
Abstract base class for turbulence models (RAS, LES and laminar).
const Time & time() const
Return time.
const phaseSystem & fluid() const
Return the system to which this phase belongs.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
A class for managing temporary objects.
const objectRegistry & db() const
Return the local objectRegistry.
BasicMomentumTransportModel::transportModel transportModel
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
dimensionedScalar deltaT() const
Return time step.
BasicMomentumTransportModel::alphaField alphaField