92template<
class BasicTurbulenceModel>
95 public LESeddyViscosity<BasicTurbulenceModel>
100 Smagorinsky(
const Smagorinsky&) =
delete;
103 void operator=(
const Smagorinsky&) =
delete;
125 typedef typename BasicTurbulenceModel::alphaField
alphaField;
126 typedef typename BasicTurbulenceModel::rhoField
rhoField;
127 typedef typename BasicTurbulenceModel::transportModel
transportModel;
Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel >::alphaField alphaField
Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel >::rhoField rhoField
virtual ~Smagorinsky()=default
Destructor.
virtual void correct()
Correct Eddy-Viscosity and related properties.
tmp< volScalarField > k(const tmp< volTensorField > &gradU) const
Return SGS kinetic energy.
TypeName("Smagorinsky")
Runtime type information.
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 correctNut()
Update the SGS eddy viscosity.
Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel >::transportModel transportModel
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
virtual bool read()
Read model coefficients if they have changed.
A class for managing temporary objects.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
Namespace for LES SGS models.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.