Go to the documentation of this file.
41 template<
class BasicTurbulenceModel>
48 this->nut_.correctBoundaryConditions();
51 BasicTurbulenceModel::correctNut();
55 template<
class BasicTurbulenceModel>
64 template<
class BasicTurbulenceModel>
73 const word& propertiesName,
94 this->runTime_.timeName(),
106 this->runTime_.timeName(),
123 simpleFilter_(
U.mesh()),
125 filter_(filterPtr_()),
127 flm0_(
"flm0", flm_.dimensions(),
Zero),
128 fmm0_(
"fmm0", fmm_.dimensions(), VSMALL)
130 if (
type == typeName)
132 this->printCoeffs(
type);
139 template<
class BasicTurbulenceModel>
144 filter_.read(this->coeffDict());
145 theta_.readIfPresent(this->coeffDict());
154 template<
class BasicTurbulenceModel>
157 if (!this->turbulence_)
184 2.0*
sqr(this->
delta())*(filter_(magS*S) - 4.0*magSf*Sf)
virtual void correctNut()
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const vector L(dict.get< vector >("L"))
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 Foam::string.
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present.
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
autoPtr< surfaceVectorField > Uf
virtual bool read()
Read model coefficients if they have changed.
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Eddy viscosity LES SGS model base class.
Dynamic SGS model with Lagrangian averaging.
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.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
SolverPerformance< Type > solve(const dictionary &)
Solve returning the solution statistics.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
BasicTurbulenceModel::transportModel transportModel
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)