Standard high Reynolds-number k-omega turbulence model for incompressible and compressible flows. More...
Public Types | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
![]() | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
![]() | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Member Functions | |
TypeName ("kOmega") | |
Runtime type information. More... | |
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. More... | |
virtual | ~kOmega ()=default |
Destructor. More... | |
virtual bool | read () |
Read RASProperties dictionary. More... | |
tmp< volScalarField > | DkEff () const |
Return the effective diffusivity for k. More... | |
tmp< volScalarField > | DomegaEff () const |
Return the effective diffusivity for omega. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy. More... | |
virtual tmp< volScalarField > | omega () const |
Return the turbulence specific dissipation rate. More... | |
virtual void | correct () |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
![]() | |
eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
Construct from components. More... | |
virtual | ~eddyViscosity ()=default |
Destructor. More... | |
virtual bool | read ()=0 |
Re-read model coefficients if they have changed. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual tmp< volScalarField > | k () const=0 |
Return the turbulence kinetic energy. More... | |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor. More... | |
virtual void | validate () |
Validate the turbulence fields after construction. More... | |
virtual void | correct ()=0 |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
![]() | |
linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
Construct from components. More... | |
virtual | ~linearViscousStress ()=default |
Destructor. More... | |
virtual bool | read ()=0 |
Re-read model coefficients if they have changed. More... | |
virtual tmp< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor. More... | |
virtual tmp< volSymmTensorField > | devRhoReff (const volVectorField &U) const |
Return the effective stress tensor based on a given velocity field. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual void | correct ()=0 |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
Protected Member Functions | |
virtual void | correctNut () |
virtual void | correctNut ()=0 |
Protected Attributes | |
dimensionedScalar | Cmu_ |
dimensionedScalar | beta_ |
dimensionedScalar | gamma_ |
dimensionedScalar | alphaK_ |
dimensionedScalar | alphaOmega_ |
volScalarField | k_ |
volScalarField | omega_ |
![]() | |
volScalarField | nut_ |
Standard high Reynolds-number k-omega turbulence model for incompressible and compressible flows.
References:
Wilcox, D. C. (1998). Turbulence modeling for CFD (Vol. 2, pp. 103-217). La Canada, CA: DCW industries.
The default model coefficients are
kOmegaCoeffs { Cmu 0.09; // Equivalent to betaStar alpha 0.52; beta 0.072; alphak 0.5; alphaOmega 0.5; }
typedef BasicTurbulenceModel::alphaField alphaField |
typedef BasicTurbulenceModel::transportModel transportModel |
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.
Definition at line 56 of file kOmega.C.
References Foam::bound(), kOmega< BasicTurbulenceModel >::k_, kOmega< BasicTurbulenceModel >::omega_, and Foam::type().
|
virtualdefault |
Destructor.
|
protectedvirtual |
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 43 of file kOmega.C.
References Time::New().
TypeName | ( | "kOmega< BasicTurbulenceModel >" | ) |
Runtime type information.
|
virtual |
Read RASProperties dictionary.
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 164 of file kOmega.C.
References Foam::read().
|
inline |
Return the effective diffusivity for k.
Definition at line 144 of file kOmega.H.
References kOmega< BasicTurbulenceModel >::alphaK_, nu, and eddyViscosity< RASModel< BasicTurbulenceModel > >::nut_.
|
inline |
Return the effective diffusivity for omega.
Definition at line 157 of file kOmega.H.
References kOmega< BasicTurbulenceModel >::alphaOmega_, nu, and eddyViscosity< RASModel< BasicTurbulenceModel > >::nut_.
|
inlinevirtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 170 of file kOmega.H.
References kOmega< BasicTurbulenceModel >::k_.
|
inlinevirtual |
Return the turbulence specific dissipation rate.
Definition at line 176 of file kOmega.H.
References kOmega< BasicTurbulenceModel >::omega_.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 182 of file kOmega.C.
References Foam::fvc::absolute(), alpha, Foam::bound(), tmp< T >::clear(), correct(), Foam::fvm::ddt(), Foam::dev(), Foam::fvc::div(), Foam::fvm::div(), divU, fvOptions, Foam::fvc::grad(), Foam::fvm::laplacian(), Time::New(), nut, phi, tmp< T >::ref(), rho, solve(), Foam::fvm::Sp(), Foam::fvm::SuSp(), Foam::twoSymm(), and U.
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 92 of file kOmega.H.
Referenced by kOmega< BasicTurbulenceModel >::DkEff().
|
protected |
Definition at line 93 of file kOmega.H.
Referenced by kOmega< BasicTurbulenceModel >::DomegaEff().
|
protected |
Definition at line 98 of file kOmega.H.
Referenced by kOmega< BasicTurbulenceModel >::k(), and kOmega< BasicTurbulenceModel >::kOmega().
|
protected |
Definition at line 99 of file kOmega.H.
Referenced by kOmega< BasicTurbulenceModel >::kOmega(), and kOmega< BasicTurbulenceModel >::omega().