38 template<
class BasicMomentumTransportModel>
44 return dev(
symm(gradU & gradU));
48 template<
class BasicMomentumTransportModel>
66 +
pow(magSqrSd, 5.0/4.0)
80 template<
class BasicMomentumTransportModel>
84 this->nut_.correctBoundaryConditions();
91 template<
class BasicMomentumTransportModel>
134 if (type == typeName)
136 this->printCoeffs(type);
143 template<
class BasicMomentumTransportModel>
148 Ck_.readIfPresent(this->coeffDict());
149 Cw_.readIfPresent(this->coeffDict());
160 template<
class BasicMomentumTransportModel>
173 template<
class BasicMomentumTransportModel>
virtual bool read()
Read model coefficients if they have changed.
Eddy viscosity LES SGS model base class.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
BasicMomentumTransportModel::rhoField rhoField
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
virtual tmp< volScalarField > epsilon() const
Return sub-grid disipation rate.
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
Generic dimensioned Type class.
WALE(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 void correctNut()
Update the SGS eddy-viscosity.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
Dimension set for the base types.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
tmp< volSymmTensorField > Sd(const volTensorField &gradU) const
Return the deviatoric symmetric part of the square of the given.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
BasicMomentumTransportModel::alphaField alphaField
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
BasicMomentumTransportModel::transportModel transportModel
virtual void correct()
Correct Eddy-Viscosity and related properties.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to datbase if not present.
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.