86 template<
class BasicMomentumTransportModel>
105 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
106 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
Generic GeometricField class.
Eddy viscosity LES SGS model base class.
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField
The Smagorinsky SGS model.
BasicMomentumTransportModel::alphaField alphaField
Smagorinsky(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
virtual void correct()
Correct Eddy-Viscosity and related properties.
virtual ~Smagorinsky()
Destructor.
TypeName("Smagorinsky")
Runtime type information.
virtual void correctNut()
Update the SGS eddy viscosity.
void operator=(const Smagorinsky &)=delete
Disallow default bitwise assignment.
virtual bool read()
Read model coefficients if they have changed.
BasicMomentumTransportModel::rhoField rhoField
A class for managing temporary objects.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.