Go to the documentation of this file.
40 template<
class BasicTurbulenceModel>
44 this->nut_.correctBoundaryConditions();
47 BasicTurbulenceModel::correctNut();
51 template<
class BasicTurbulenceModel>
59 dimVolume*this->rho_.dimensions()*k_.dimensions()
68 template<
class BasicTurbulenceModel>
77 const word& propertiesName,
98 this->runTime_.timeName(),
116 bound(k_, this->kMin_);
118 if (
type == typeName)
120 this->printCoeffs(
type);
127 template<
class BasicTurbulenceModel>
132 Ck_.readIfPresent(this->coeffDict());
141 template<
class BasicTurbulenceModel>
151 this->runTime_.timeName(),
162 template<
class BasicTurbulenceModel>
165 if (!this->turbulence_)
203 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)
static word groupName(StringType name, const word &group)
Create dot-delimited name.group.
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.
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.
kEqn(const kEqn &)=delete
No copy construct.
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)