Go to the documentation of this file.
38 namespace incompressible
50 tmp<volScalarField> LamBremhorstKE::Rt()
const
56 tmp<volScalarField> LamBremhorstKE::fMu(
const volScalarField& Rt)
const
59 return sqr(scalar(1) -
exp(-0.0165*
Ry))*(scalar(1) + 20.5/(Rt + SMALL));
63 tmp<volScalarField> LamBremhorstKE::f1(
const volScalarField& fMu)
const
65 return scalar(1) +
pow3(0.05/(fMu + SMALL));
69 tmp<volScalarField> LamBremhorstKE::f2(
const volScalarField& Rt)
const
71 return scalar(1) -
exp(-
sqr(Rt));
92 LamBremhorstKE::LamBremhorstKE
100 const word& propertiesName,
182 bound(epsilon_, epsilonMin_);
184 if (
type == typeName)
239 epsEqn.
ref().relax();
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)
addToRunTimeSelectionTable(RASModel, kkLOmega, dictionary)
A class for handling words, derived from Foam::string.
RASModel< turbulenceModel > RASModel
void clear() const noexcept
const dimensionedScalar G
Newtonian constant of gravitation.
A class for managing temporary objects.
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.
static const wallDist & New(const fvMesh &mesh, Args &&... args)
Get existing or create a new MeshObject.
tensor Ry(const scalar &omega)
Rotational transformation tensor about the y-axis by omega radians.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
tmp< volScalarField > DkEff() const
Return the effective diffusivity for k.
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar sigmaEps_
virtual bool read()
Re-read model coefficients if they have changed.
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
virtual void correctNut()
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.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
SolverPerformance< Type > solve(faMatrix< Type > &, Istream &)
Solve returning the solution statistics given convergence tolerance.
defineTypeNameAndDebug(kkLOmega, 0)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
Base-class for all transport models used by the incompressible turbulence models.
void correctBoundaryConditions()
Correct boundary field.
tmp< volScalarField > DepsilonEff() const
Return the effective diffusivity for epsilon.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
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.
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)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
const volScalarField & y_
Wall distance.