41 template<
class BasicTurbulenceModel>
60 this->runTime_.timeName(),
69 template<
class BasicTurbulenceModel>
75 this->nut_.correctBoundaryConditions();
78 BasicTurbulenceModel::correctNut();
84 template<
class BasicTurbulenceModel>
87 const alphaField&
alpha,
93 const word& propertiesName,
119 if (
type == typeName)
128 template<
class BasicTurbulenceModel>
133 Ck_.readIfPresent(this->coeffDict());
142 template<
class BasicTurbulenceModel>
145 if (!this->turbulence_)
Eddy viscosity LES SGS model base class.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual bool read()
Read model coefficients if they have changed.
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual void printCoeffs(const word &type)
Print model coefficients.
virtual void correctNut()
Update the SGS eddy viscosity.
label k
Boltzmann constant.
Generic dimensioned Type class.
The Smagorinsky SGS model.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
A class for handling words, derived from Foam::string.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
virtual void correct()
Correct Eddy-Viscosity and related properties.
virtual bool read()
Read model coefficients if they have changed.
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
Base-class for all transport models used by the incompressible turbulence models. ...
const dimensionedScalar c
Speed of light in a vacuum.
const dimensionedScalar & D
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Defines the attributes of an object for which implicit objectRegistry management is supported...