38 template<
class BasicTurbulenceModel>
58 template<
class BasicTurbulenceModel>
64 this->nut_.correctBoundaryConditions();
67 BasicTurbulenceModel::correctNut();
73 template<
class BasicTurbulenceModel>
82 const word& propertiesName,
108 if (type == typeName)
110 this->printCoeffs(type);
117 template<
class BasicTurbulenceModel>
122 Ck_.readIfPresent(this->coeffDict());
133 template<
class BasicTurbulenceModel>
146 template<
class BasicTurbulenceModel>
Eddy viscosity LES SGS model base class.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual tmp< volScalarField > epsilon() const
Return sub-grid disipation rate.
virtual bool read()
Read model coefficients if they have changed.
BasicTurbulenceModel::transportModel transportModel
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual void correctNut()
Update the SGS eddy viscosity.
label k
Boltzmann constant.
Generic dimensioned Type class.
BasicTurbulenceModel::alphaField alphaField
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Mesh &, const dimensionSet &, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return a temporary field constructed from name, mesh, dimensionSet.
Smagorinsky(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
Construct from components.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
virtual void correct()
Correct Eddy-Viscosity and related properties.
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
const dimensionedScalar c
Speed of light in a vacuum.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
BasicTurbulenceModel::rhoField rhoField
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.