Go to the documentation of this file.
39 template<
class BasicTurbulenceModel>
42 this->nut_ = k_/omega_;
43 this->nut_.correctBoundaryConditions();
49 template<
class BasicTurbulenceModel>
58 const word& propertiesName,
125 this->runTime_.timeName(),
137 this->runTime_.timeName(),
145 bound(k_, this->kMin_);
146 bound(omega_, this->omegaMin_);
148 if (
type == typeName)
150 this->printCoeffs(
type);
157 template<
class BasicTurbulenceModel>
162 Cmu_.readIfPresent(this->coeffDict());
163 beta_.readIfPresent(this->coeffDict());
164 gamma_.readIfPresent(this->coeffDict());
165 alphaK_.readIfPresent(this->coeffDict());
166 alphaOmega_.readIfPresent(this->coeffDict());
177 template<
class BasicTurbulenceModel>
180 if (!this->turbulence_)
205 omega_.boundaryField().updateCoeffs();
221 omegaEqn().boundaryManipulate(omega_.boundaryField());
224 bound(omega_, this->omegaMin_);
241 bound(k_, this->kMin_);
virtual bool read()
Read RASProperties dictionary.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
BasicTurbulenceModel::alphaField alphaField
static word groupName(Name name, const word &group)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from string.
virtual void correctNut()
const dimensionedScalar G
Newtonian constant of gravitation.
A class for managing temporary objects.
Templated abstract base class for RAS turbulence models.
BasicTurbulenceModel::rhoField rhoField
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
bool read(const char *, int32_t &)
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 correct()
Solve the turbulence equations and correct the turbulence viscosity.
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
BasicTurbulenceModel::transportModel transportModel
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Bound the given scalar field if it has gone unbounded.
tmp< fvMatrix< Type > > SuSp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
kOmega(const alphaField &alpha, const rhoField &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.
Generic dimensioned Type class.
SolverPerformance< Type > solve(fvMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
volScalarField divU(fvc::div(fvc::absolute(phi, U)))
Eddy viscosity turbulence model base class.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
void clear() const
If object pointer points to valid object:
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)