73 template<
class BasicMomentumTransportModel>
129 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
130 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
180 this->
nut_ + this->nu()
static const Foam::dimensionedScalar D("D", Foam::dimTemperature, 257.14)
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
Eddy viscosity LES SGS model base class.
Dynamic one equation eddy-viscosity model.
BasicMomentumTransportModel::alphaField alphaField
volScalarField Ce() const
tmp< volScalarField > DkEff() const
Return the effective diffusivity for k.
volScalarField Ck(const volSymmTensorField &D, const volScalarField &KK) const
Calculate Ck by filtering the velocity field U.
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
virtual void correct()
Correct Eddy-Viscosity and related properties.
simpleFilter simpleFilter_
TypeName("dynamicKEqn")
Runtime type information.
virtual ~dynamicKEqn()
Destructor.
virtual tmp< volScalarField > epsilon() const
Return sub-grid disipation rate.
virtual void correctNut()
virtual tmp< fvScalarMatrix > kSource() const
tmp< volScalarField > KK() const
Return the KK field obtained by filtering the velocity field U.
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.
void operator=(const dynamicKEqn &)=delete
Disallow default bitwise assignment.
autoPtr< LESfilter > filterPtr_
virtual bool read()
Read model coefficients if they have changed.
BasicMomentumTransportModel::rhoField rhoField
Abstract class for LES filters.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Simple top-hat filter used in dynamic LES models.
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))
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.