73 template<
class BasicMomentumTransportModel>
129 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
130 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
142 const alphaField&
alpha,
Eddy viscosity LES SGS model base class.
virtual bool read()
Read model coefficients if they have changed.
Abstract class for LES filters.
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
virtual void correct()
Correct Eddy-Viscosity and related properties.
void operator=(const dynamicKEqn &)=delete
Disallow default bitwise assignment.
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,.
virtual ~dynamicKEqn()
Destructor.
volScalarField Ck(const volSymmTensorField &D, const volScalarField &KK) const
Calculate Ck by filtering the velocity field U.
A class for handling words, derived from string.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
autoPtr< LESfilter > filterPtr_
virtual void correctNut()
volScalarField Ce() const
TypeName("dynamicKEqn")
Runtime type information.
Abstract base class for all fluid physical properties.
dynamicKEqn(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.
Dynamic one equation eddy-viscosity model.
simpleFilter simpleFilter_
tmp< volScalarField > DkEff() const
Return the effective diffusivity for k.
Simple top-hat filter used in dynamic LES models.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual tmp< volScalarField > epsilon() const
Return sub-grid disipation rate.
virtual tmp< fvScalarMatrix > kSource() const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
tmp< volScalarField > KK() const
Return the KK field obtained by filtering the velocity field U.
A class for managing temporary objects.
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField