Go to the documentation of this file.
37 template<
class BasicTurbulenceModel>
44 this->nut_.correctBoundaryConditions();
48 template<
class BasicTurbulenceModel>
57 template<
class BasicTurbulenceModel>
66 const word& propertiesName,
87 this->runTime_.timeName(),
99 this->runTime_.timeName(),
116 simpleFilter_(
U.mesh()),
118 filter_(filterPtr_()),
120 flm0_(
"flm0", flm_.dimensions(), 0.0),
121 fmm0_(
"fmm0", fmm_.dimensions(), VSMALL)
123 if (
type == typeName)
125 this->printCoeffs(
type);
132 template<
class BasicTurbulenceModel>
137 filter_.read(this->coeffDict());
138 theta_.readIfPresent(this->coeffDict());
149 template<
class BasicTurbulenceModel>
152 if (!this->turbulence_)
178 2.0*
sqr(this->
delta())*(filter_(magS*S) - 4.0*magSf*Sf)
183 (1.0/(theta_.value()*this->delta()))*
pow(flm_*fmm_, 1.0/8.0)
virtual void correctNut()
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static word groupName(Name name, const word &group)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from string.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
volScalarField & bound(volScalarField &, const dimensionedScalar &lowerBound)
Bound the given scalar field if it has gone unbounded.
BasicTurbulenceModel::rhoField rhoField
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual bool read()
Read model coefficients if they have changed.
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
SolverPerformance< Type > solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
dynamicLagrangian(const dynamicLagrangian &)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Eddy viscosity LES SGS model base class.
Generic dimensioned Type class.
BasicTurbulenceModel::alphaField alphaField
virtual void correct()
Correct Eddy-Viscosity and related properties.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static autoPtr< LESfilter > New(const fvMesh &, const dictionary &, const word &filterDictName="filter")
Return a reference to the selected LES filter.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
BasicTurbulenceModel::transportModel transportModel
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)