38 template<
class BasicTurbulenceModel>
42 this->nut_.correctBoundaryConditions();
45 BasicTurbulenceModel::correctNut();
49 template<
class BasicTurbulenceModel>
57 dimVolume*this->rho_.dimensions()*k_.dimensions()
66 template<
class BasicTurbulenceModel>
75 const word& propertiesName,
96 this->runTime_.timeName(),
114 bound(k_, this->kMin_);
116 if (type == typeName)
118 this->printCoeffs(type);
125 template<
class BasicTurbulenceModel>
130 Ck_.readIfPresent(this->coeffDict());
141 template<
class BasicTurbulenceModel>
151 this->runTime_.timeName(),
162 template<
class BasicTurbulenceModel>
165 if (!this->turbulence_)
193 -
fvm::SuSp((2.0/3.0)*alpha*rho*divU, k_)
203 bound(k_, this->kMin_);
Eddy viscosity LES SGS model base class.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
fvMatrix< scalar > fvScalarMatrix
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
const dimensionedScalar G
Newtonian constant of gravitation.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
Generic dimensioned Type class.
One equation eddy-viscosity model.
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void clear() const
If object pointer points to valid object:
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
const dimensionSet dimVolume(pow3(dimLength))
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
tmp< fvMatrix< Type > > SuSp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
A class for handling words, derived from string.
SolverPerformance< Type > solve(fvMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
static word groupName(Name name, const word &group)
BasicTurbulenceModel::transportModel transportModel
virtual void correct()
Correct eddy-Viscosity and related properties.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
void constrain(fvMatrix< Type > &eqn)
Apply constraints to equation.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual bool read()
Read model coefficients if they have changed.
BasicTurbulenceModel::alphaField alphaField
virtual void correctNut()
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
volScalarField & bound(volScalarField &, const dimensionedScalar &lowerBound)
Bound the given scalar field if it has gone unbounded.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual tmp< fvScalarMatrix > kSource() const
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
volScalarField divU(fvc::div(fvc::absolute(phi, U)))
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to datbase if not present.
T & ref() const
Return non-const reference or generate a fatal error.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual tmp< volScalarField > epsilon() const
Return sub-grid disipation rate.
BasicTurbulenceModel::rhoField rhoField