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,
184 if (
type == typeName)
241 epsEqn.ref().relax();
virtual bool read()
Re-read model coefficients if they have changed.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
SolverPerformance< Type > solve(faMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
const dimensionedScalar G
Newtonian constant of gravitation.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
bool readIfPresent(const dictionary &dict)
Update the value of dimensioned<Type> if found in the dictionary, lookup in dictionary with the name(...
virtual void correctNut()
An abstract base class for patches that couple regions of the computational domain e...
RASModel< turbulenceModel > RASModel
dimensionedScalar sqrt(const dimensionedScalar &ds)
Generic dimensioned Type class.
Eddy viscosity turbulence model base class.
dimensionedScalar sigmaEps_
Macros for easy insertion into run-time selection tables.
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
constexpr const char *const group
Group name for atomic constants.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
dimensionedScalar exp(const dimensionedScalar &ds)
A class for handling words, derived from Foam::string.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
void evaluateCoupled()
Evaluate boundary conditions on a subset of coupled patches.
zeroField Sp(const Foam::zero, const GeometricField< Type, fvPatchField, volMesh > &)
A no-op source.
void updateCoeffs()
Update the boundary condition coefficients.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, 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.
const volScalarField & y_
Wall distance.
tensor Ry(const scalar omega)
Rotational transformation tensor about the y-axis by omega radians.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
dimensionedScalar pow3(const dimensionedScalar &ds)
volScalarField & bound(volScalarField &, const dimensionedScalar &lowerBound)
Bound the given scalar field if it has gone unbounded.
addToRunTimeSelectionTable(RASModel, kkLOmega, dictionary)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Base-class for all transport models used by the incompressible turbulence models. ...
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
defineTypeNameAndDebug(kkLOmega, 0)
void correctBoundaryConditions()
Correct boundary field.
tmp< volScalarField > DepsilonEff() const
Return the effective diffusivity for epsilon.
void clear() const noexcept
If object pointer points to valid object: delete object and set pointer to nullptr.
Interface to run-time selectable methods to calculate the distance-to-wall and normal-to-wall fields...
tmp< volScalarField > DkEff() const
Return the effective diffusivity for k.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Defines the attributes of an object for which implicit objectRegistry management is supported...