Go to the documentation of this file.
37 template<
class BasicEddyViscosityModel>
55 (scalar(1)/betaStar_)*
sqrt(k_)/(omega_*y_),
56 scalar(500)*(this->
mu()/this->rho_)/(
sqr(y_)*omega_)
58 (4*alphaOmega2_)*k_/(CDkOmegaPlus*
sqr(y_))
67 template<
class BasicEddyViscosityModel>
74 (scalar(2)/betaStar_)*
sqrt(k_)/(omega_*y_),
75 scalar(500)*(this->
mu()/this->rho_)/(
sqr(y_)*omega_)
84 template<
class BasicEddyViscosityModel>
89 150*(this->
mu()/this->rho_)/(omega_*
sqr(y_)),
97 template<
class BasicEddyViscosityModel>
111 template<
class BasicEddyViscosityModel>
118 this->nut_ = a1_*k_/
max(a1_*omega_, b1_*F23()*
sqrt(S2));
119 this->nut_.correctBoundaryConditions();
123 template<
class BasicEddyViscosityModel>
130 template<
class BasicEddyViscosityModel>
144 template<
class BasicEddyViscosityModel>
158 template<
class BasicEddyViscosityModel>
179 template<
class BasicEddyViscosityModel>
189 const word& propertiesName
192 BasicEddyViscosityModel
329 this->runTime_.timeName(),
341 this->runTime_.timeName(),
349 bound(k_, this->kMin_);
350 bound(omega_, this->omegaMin_);
356 template<
class BasicEddyViscosityModel>
361 alphaK1_.readIfPresent(this->coeffDict());
362 alphaK2_.readIfPresent(this->coeffDict());
363 alphaOmega1_.readIfPresent(this->coeffDict());
364 alphaOmega2_.readIfPresent(this->coeffDict());
365 gamma1_.readIfPresent(this->coeffDict());
366 gamma2_.readIfPresent(this->coeffDict());
367 beta1_.readIfPresent(this->coeffDict());
368 beta2_.readIfPresent(this->coeffDict());
369 betaStar_.readIfPresent(this->coeffDict());
370 a1_.readIfPresent(this->coeffDict());
371 b1_.readIfPresent(this->coeffDict());
372 c1_.readIfPresent(this->coeffDict());
373 F3_.readIfPresent(
"F3", this->coeffDict());
384 template<
class BasicEddyViscosityModel>
387 if (!this->turbulence_)
410 omega_.boundaryField().updateCoeffs();
434 (c1_/a1_)*betaStar_*omega_*
max(a1_*omega_, b1_*F23()*
sqrt(S2))
443 + Qsas(S2, gamma,
beta)
449 omegaEqn().boundaryManipulate(omega_.boundaryField());
452 bound(omega_, this->omegaMin_);
470 bound(k_, this->kMin_);
tmp< volScalarField > F2() const
virtual tmp< fvScalarMatrix > Qsas(const volScalarField &S2, const volScalarField &gamma, const volScalarField &beta) const
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static word groupName(Name name, const word &group)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from string.
const dimensionedScalar mu
Atomic mass unit.
const dimensionedScalar G
Newtonian constant of gravitation.
A class for managing temporary objects.
virtual tmp< fvScalarMatrix > kSource() const
tmp< volScalarField > F1(const volScalarField &CDkOmega) const
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
bool read(const char *, int32_t &)
virtual tmp< fvScalarMatrix > omegaSource() const
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)
static const wallDist & New(const fvMesh &mesh)
virtual void correctNut()
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar tanh(const dimensionedScalar &ds)
kOmegaSSTBase(const kOmegaSSTBase &)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Bound the given scalar field if it has gone unbounded.
virtual bool read()
Re-read model coefficients if they have changed.
tmp< fvMatrix< Type > > SuSp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
BasicTurbulenceModel::rhoField rhoField
Generic dimensioned Type class.
BasicTurbulenceModel::alphaField alphaField
const double e
Elementary charge.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
tmp< volScalarField > F23() const
BasicTurbulenceModel::transportModel transportModel
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)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
volScalarField divU(fvc::div(fvc::absolute(phi, U)))
dimensionedScalar sqrt(const dimensionedScalar &ds)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const dimensionSet dimVolume(pow3(dimLength))
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:
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
tmp< volScalarField > F3() const
static Switch lookupOrAddToDict(const word &, dictionary &, const Switch &defaultValue=false)
Construct from dictionary, supplying default value so that if the.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)