39 template<
class BasicMomentumTransportModel>
59 template<
class BasicMomentumTransportModel>
65 this->nut_.correctBoundaryConditions();
72 template<
class BasicMomentumTransportModel>
105 if (type == typeName)
107 this->printCoeffs(type);
114 template<
class BasicMomentumTransportModel>
119 Ck_.readIfPresent(this->coeffDict());
130 template<
class BasicMomentumTransportModel>
143 template<
class BasicMomentumTransportModel>
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.
BasicMomentumTransportModel::rhoField rhoField
virtual bool read()
Read model coefficients if they have changed.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
virtual void correctNut()
Update the SGS eddy viscosity.
label k
Boltzmann constant.
Generic dimensioned Type class.
const dimensionedScalar c
Speed of light in a vacuum.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
Smagorinsky(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.
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.
static autoPtr< dictionary > New(Istream &)
Construct top-level dictionary on freestore from Istream.
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
BasicMomentumTransportModel::alphaField alphaField
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
BasicMomentumTransportModel::transportModel transportModel
A class for managing temporary objects.