Go to the documentation of this file.
37 namespace incompressible
55 return exp((-scalar(2.5) + Rt/20.0)/
pow3(scalar(1) + Rt/130.0));
60 exp(-6.0/
sqr(scalar(1) + Rt/50.0))
61 *(scalar(1) + 3.0*
exp(-Rt/10.0));
69 return scalar(1) - 0.3*
exp(-
sqr(Rt));
90 const word& propertiesName,
152 qMin_(
"qMin",
sqrt(kMin_)),
153 zetaMin_(
"zetaMin", epsilonMin_/(2*qMin_)),
192 k_.boundaryField().types()
205 bound(epsilon_, epsilonMin_)/(2.0*q_),
209 bound(zeta_, zetaMin_);
211 if (
type == typeName)
264 zetaEqn.
ref().relax();
dimensionedScalar zetaMin_
Lower limit of zeta.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
addToRunTimeSelectionTable(RASModel, kkLOmega, dictionary)
A class for handling words, derived from Foam::string.
RASModel< turbulenceModel > RASModel
const dimensionedScalar G
Newtonian constant of gravitation.
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.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
tmp< volScalarField > DqEff() const
Return the effective diffusivity for q.
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar qMin_
Lower limit of q.
tmp< volScalarField > DzetaEff() const
Return the effective diffusivity for epsilon.
bool readIfPresent(const word &key, const dictionary &dict)
Update the value of the Switch if it is found in the dictionary.
qZeta(const geometricOneField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
Construct from components.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
bool readIfPresent(const dictionary &dict)
dimensionedScalar pow3(const dimensionedScalar &ds)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Bound the given scalar field if it has gone unbounded.
SolverPerformance< Type > solve(faMatrix< Type > &, Istream &)
Solve returning the solution statistics given convergence tolerance.
tmp< volScalarField > f2() const
defineTypeNameAndDebug(kkLOmega, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar sigmaZeta_
virtual bool read()
Re-read model coefficients if they have changed.
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
tmp< volScalarField > fMu() const
Base-class for all transport models used by the incompressible turbulence models.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
void correctBoundaryConditions()
Correct boundary field.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
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.
tmp< volScalarField > magSqrGradGrad(const GeometricField< Type, fvPatchField, volMesh > &vf)
virtual void correctNut()
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.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
const Boundary & boundaryField() const
Return const-reference to the boundary field.
static Switch getOrAddToDict(const word &key, dictionary &dict, const Switch deflt=switchType::FALSE)