42 #ifndef dynamicLagrangian_H 43 #define dynamicLagrangian_H 59 template<
class BasicMomentumTransportModel>
91 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
92 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
93 typedef typename BasicMomentumTransportModel::transportModel
transportModel;
104 const alphaField&
alpha,
109 const transportModel& transport,
131 pow(2.0*flm_/fmm_, 2.0/3.0)
132 *
pow(this->
Ce_, -2.0/3.0)
148 this->
nut_ + this->nu()
Eddy viscosity LES SGS model base class.
simpleFilter simpleFilter_
Abstract class for LES filters.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Dynamic SGS model with Lagrangian averaging.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
TypeName("dynamicLagrangian")
Runtime type information.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
dynamicLagrangian(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.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
tmp< volScalarField > DkEff() const
Return the effective diffusivity for k.
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.
BasicMomentumTransportModel::transportModel transportModel
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
A class for handling words, derived from string.
const volScalarField & delta() const
Access function to filter width.
virtual ~dynamicLagrangian()
Destructor.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
virtual bool read()
Read model coefficients if they have changed.
autoPtr< LESfilter > filterPtr_
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
BasicMomentumTransportModel::rhoField rhoField
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
virtual void correct()
Correct Eddy-Viscosity and related properties.
BasicMomentumTransportModel::alphaField alphaField
void operator=(const dynamicLagrangian &)=delete
Disallow default bitwise assignment.
virtual void correctNut()