86 template<
class BasicMomentumTransportModel>
110 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
111 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
112 typedef typename BasicMomentumTransportModel::transportModel
transportModel;
124 const alphaField&
alpha,
129 const transportModel& transport,
Eddy viscosity LES SGS model base class.
TypeName("Smagorinsky")
Runtime type information.
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.
BasicMomentumTransportModel::transportModel transportModel
void operator=(const Smagorinsky &)=delete
Disallow default bitwise assignment.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
virtual void correctNut()
Update the SGS eddy viscosity.
The Smagorinsky SGS model.
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.
BasicMomentumTransportModel::rhoField rhoField
virtual void correct()
Correct Eddy-Viscosity and related properties.
BasicMomentumTransportModel::alphaField alphaField
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
virtual ~Smagorinsky()
Destructor.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
A class for managing temporary objects.