Go to the documentation of this file.
28 #include "twoPhaseSystem.H"
39 template<
class BasicTurbulenceModel>
48 const word& propertiesName,
64 liquidTurbulencePtr_(NULL),
78 this->printCoeffs(
type);
85 template<
class BasicTurbulenceModel>
90 alphaInversion_.readIfPresent(this->coeffDict());
101 template<
class BasicTurbulenceModel>
105 if (!liquidTurbulencePtr_)
111 refCast<const twoPhaseSystem>(gas.fluid());
114 liquidTurbulencePtr_ =
125 return *liquidTurbulencePtr_;
129 template<
class BasicTurbulenceModel>
141 max(alphaInversion_ -
alpha, scalar(0))
145 this->Ce_*
sqrt(liquidTurbulence.
k())/this->delta(),
146 1.0/
U.time().deltaT()
152 template<
class BasicTurbulenceModel>
157 const volScalarField phaseTransferCoeff(this->phaseTransferCoeff());
160 phaseTransferCoeff*liquidTurbulence.
k()
161 -
fvm::Sp(phaseTransferCoeff, this->k_);
BasicTurbulenceModel::alphaField alphaField
static word groupName(Name name, const word &group)
A class for handling words, derived from string.
Class which solves the volume fraction equations for two phases.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual tmp< fvScalarMatrix > kSource() const
static const word propertiesName
Default name of the turbulence properties dictionary.
virtual bool read()
Read model coefficients if they have changed.
One equation eddy-viscosity model.
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< volScalarField > phaseTransferCoeff() const
const turbulenceModel & liquidTurbulence() const
Return the turbulence model for the liquid phase.
Abstract base class for turbulence models (RAS, LES and laminar).
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
continuousGasKEqn(const continuousGasKEqn &)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
BasicTurbulenceModel::rhoField rhoField
BasicTurbulenceModel::transportModel transportModel
dimensionedScalar sqrt(const dimensionedScalar &ds)
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)