38 template<
class BasicMomentumTransportModel>
61 gasTurbulencePtr_(
nullptr),
75 this->printCoeffs(type);
82 template<
class BasicMomentumTransportModel>
87 Cmub_.readIfPresent(this->coeffDict());
98 template<
class BasicMomentumTransportModel>
101 typename BasicMomentumTransportModel::transportModel
105 if (!gasTurbulencePtr_)
121 momentumTransportModel::typeName,
127 return *gasTurbulencePtr_;
131 template<
class BasicMomentumTransportModel>
135 gasTurbulence = this->gasTurbulence();
142 *(
mag(this->U_ - gasTurbulence.
U()));
144 this->nut_.correctBoundaryConditions();
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Templated abstract base class for multiphase compressible turbulence models.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
BasicMomentumTransportModel::rhoField rhoField
const transportModel & transport() const
Access function to incompressible transport model.
The Smagorinsky SGS model including bubble-generated turbulence.
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
Generic dimensioned Type class.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
The Smagorinsky SGS model.
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
const phaseModel & otherPhase(const phaseModel &phase) const
Return the phase not given as an argument in a two-phase system.
const alphaField & alpha() const
Access function to phase fraction.
SmagorinskyZhang(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.
virtual bool read()
Read model coefficients if they have changed.
const volVectorField & U() const
Access function to velocity field.
BasicMomentumTransportModel::alphaField alphaField
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
BasicMomentumTransportModel::transportModel transportModel
dimensioned< scalar > mag(const dimensioned< Type > &)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
static options & New(const fvMesh &mesh)
Construct fvOptions and register to datbase if not present.
const objectRegistry & db() const
Return the local objectRegistry.
virtual void correctNut()
Update the SGS eddy viscosity.