39 template<
class BasicMomentumTransportModel>
62 gasTurbulencePtr_(nullptr),
76 this->printCoeffs(
type);
83 template<
class BasicMomentumTransportModel>
88 Cmub_.readIfPresent(this->coeffDict());
99 template<
class BasicMomentumTransportModel>
103 if (!gasTurbulencePtr_)
108 refCast<const phaseModel>(this->properties());
120 momentumTransportModel::typeName,
126 return *gasTurbulencePtr_;
130 template<
class BasicMomentumTransportModel>
134 this->gasTurbulence();
144 + Cmub_*gas.
d()*gasTurbulence.
alpha()
145 *(
mag(this->U_ - gasTurbulence.
U()));
147 this->nut_.correctBoundaryConditions();
Generic GeometricField class.
static word groupName(Name name, const word &group)
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField
The Smagorinsky SGS model including bubble-generated turbulence.
SmagorinskyZhang(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
virtual void correctNut()
Update the SGS eddy viscosity.
virtual bool read()
Read model coefficients if they have changed.
The Smagorinsky SGS model.
static autoPtr< dictionary > New(Istream &)
Construct top-level dictionary on freestore from Istream.
Generic dimensioned Type class.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
const volVectorField & U() const
Access function to velocity field.
Templated abstract base class for multiphase compressible turbulence models.
const alphaField & alpha() const
Access function to phase fraction.
tmp< volScalarField > d() const
Return the Sauter-mean diameter.
const word & name() const
Return the name of this phase.
Class to represent a system of phases and model interfacial transfers between them.
const phaseModel & otherPhase(const phaseModel &phase) const
Return the phase not given as an argument in a two-phase system.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.