Go to the documentation of this file.
41 template<
class BasicTurbulenceModel>
45 this->nut_.correctBoundaryConditions();
48 BasicTurbulenceModel::correctNut();
52 template<
class BasicTurbulenceModel>
60 dimVolume*this->rho_.dimensions()*k_.dimensions()
69 template<
class BasicTurbulenceModel>
78 const word& propertiesName,
99 this->runTime_.timeName(),
117 bound(k_, this->kMin_);
119 if (
type == typeName)
121 this->printCoeffs(
type);
128 template<
class BasicTurbulenceModel>
133 Ck_.readIfPresent(this->coeffDict());
142 template<
class BasicTurbulenceModel>
152 this->runTime_.timeName(),
163 template<
class BasicTurbulenceModel>
173 this->runTime_.timeName(),
181 template<
class BasicTurbulenceModel>
184 if (!this->turbulence_)
222 bound(k_, this->kMin_);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
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.
void clear() const noexcept
const dimensionedScalar G
Newtonian constant of gravitation.
A class for managing temporary objects.
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.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual void correctNut()
virtual tmp< volScalarField > epsilon() const
Return sub-grid dissipation rate.
virtual void correct()
Correct eddy-Viscosity and related properties.
BasicTurbulenceModel::rhoField rhoField
One equation eddy-viscosity model.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
SolverPerformance< Type > solve(faMatrix< Type > &, Istream &)
Solve returning the solution statistics given convergence tolerance.
BasicTurbulenceModel::transportModel transportModel
Eddy viscosity LES SGS model base class.
Generic dimensioned Type class.
virtual tmp< fvScalarMatrix > kSource() const
BasicTurbulenceModel::alphaField alphaField
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensionedScalar sqrt(const dimensionedScalar &ds)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
label k
Boltzmann constant.
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual tmp< volScalarField > omega() const
Return sub-grid specific dissipation rate.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
kEqn(const kEqn &)=delete
No copy construct.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
virtual bool read()
Read model coefficients if they have changed.
const dimensionSet dimVolume(pow3(dimLength))
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)