Implementation of the k-omega-SST turbulence model for compressible flows. More...
#include <compressibleRASModels/kOmegaSST.H>
Implementation of the k-omega-SST turbulence model for compressible flows.
Turbulence model described in:
Menter, F., Esch, T. "Elements of Industrial Heat Transfer Prediction" 16th Brazilian Congress of Mechanical Engineering (COBEM), Nov. 2001
Note that this implementation is written in terms of alpha diffusion coefficients rather than the more traditional sigma (alpha = 1/sigma) so that the blending can be applied to all coefficuients in a consistent manner. The paper suggests that sigma is blended but this would not be consistent with the blending of the k-epsilon and k-omega models.
Also note that the error in the last term of equation (2) relating to sigma has been corrected.
Wall-functions are applied in this implementation by using equations (14) to specify the near-wall omega as appropriate.
The blending functions (15) and (16) are not currently used because of the uncertainty in their origin, range of applicability and that is y+ becomes sufficiently small blending u_tau in this manner clearly becomes nonsense.
The default model coefficients correspond to the following:
kOmegaSSTCoeffs { alphaK1 0.85034; alphaK2 1.0; alphaOmega1 0.5; alphaOmega2 0.85616; Prt 1.0;// only for compressible beta1 0.075; beta2 0.0828; betaStar0.09; gamma1 0.5532; gamma2 0.4403; a1 0.31; c1 10.0; }
Definition at line 100 of file kOmegaSST.H.
Public Member Functions | |
TypeName ("kOmegaSST") | |
Runtime type information.
| |
kOmegaSST (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel) | |
Construct from components.
| |
virtual | ~kOmegaSST () |
Destructor.
| |
tmp< volScalarField > | DkEff (const volScalarField &F1) const |
Return the effective diffusivity for k.
| |
tmp< volScalarField > | DomegaEff (const volScalarField &F1) const |
Return the effective diffusivity for omega.
| |
virtual tmp< volScalarField > | mut () const |
Return the turbulence viscosity.
| |
virtual tmp< volScalarField > | alphaEff () const |
Return the effective turbulent thermal diffusivity.
| |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy.
| |
virtual tmp< volScalarField > | omega () const |
virtual tmp< volScalarField > | epsilon () const |
Return the turbulence kinetic energy dissipation rate.
| |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor.
| |
virtual tmp< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor including the laminar stress.
| |
virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
Return the source term for the momentum equation.
| |
virtual void | correct () |
Solve the turbulence equations and correct the turbulence viscosity.
| |
virtual bool | read () |
Read RASProperties dictionary.
|
kOmegaSST | ( | const volScalarField & | rho, |
const volVectorField & | U, | ||
const surfaceScalarField & | phi, | ||
const basicThermo & | thermophysicalModel | ||
) |
Construct from components.
Definition at line 91 of file kOmegaSST.C.
References Foam::bound(), F2, Foam::fvc::grad(), Foam::magSqr(), Foam::max(), Foam::sqrt(), and Foam::symm().
virtual ~kOmegaSST | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 195 of file kOmegaSST.H.
TypeName | ( | "kOmegaSST" | ) |
Runtime type information.
tmp<volScalarField> DkEff | ( | const volScalarField & | F1 ) | const [inline]
|
Return the effective diffusivity for k.
Definition at line 202 of file kOmegaSST.H.
References kOmegaSST::DkEff(), and mu.
Referenced by kOmegaSST::DkEff().
tmp<volScalarField> DomegaEff | ( | const volScalarField & | F1 ) | const [inline]
|
Return the effective diffusivity for omega.
Definition at line 211 of file kOmegaSST.H.
References kOmegaSST::DomegaEff(), and mu.
Referenced by kOmegaSST::DomegaEff().
virtual tmp<volScalarField> mut | ( | ) | const [inline, virtual]
|
Return the turbulence viscosity.
Implements RASModel.
Definition at line 219 of file kOmegaSST.H.
References kOmegaSST::mut().
Referenced by kOmegaSST::mut().
virtual tmp<volScalarField> alphaEff | ( | ) | const [inline, virtual]
|
Return the effective turbulent thermal diffusivity.
Implements RASModel.
Definition at line 225 of file kOmegaSST.H.
References turbulenceModel::alpha(), and kOmegaSST::alphaEff().
Referenced by kOmegaSST::alphaEff().
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy.
Implements RASModel.
Definition at line 234 of file kOmegaSST.H.
virtual tmp<volScalarField> omega | ( | ) | const [inline, virtual]
|
Definition at line 239 of file kOmegaSST.H.
References kOmegaSST::omega().
Referenced by kOmegaSST::omega().
virtual tmp<volScalarField> epsilon | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy dissipation rate.
Implements RASModel.
Definition at line 245 of file kOmegaSST.H.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), kOmegaSST::epsilon(), turbulenceModel::mesh_, fvMesh::time(), and Time::timeName().
Referenced by kOmegaSST::epsilon().
tmp< volSymmTensorField > R | ( | ) | const [virtual]
|
Return the Reynolds stress tensor.
Implements RASModel.
Definition at line 282 of file kOmegaSST.C.
References Foam::dev(), Foam::fvc::grad(), Foam::I, IOobject::NO_READ, IOobject::NO_WRITE, and Foam::twoSymm().
tmp< volSymmTensorField > devRhoReff | ( | ) | const [virtual]
|
Return the effective stress tensor including the laminar stress.
Implements RASModel.
Definition at line 303 of file kOmegaSST.C.
References Foam::dev(), Foam::fvc::grad(), muEff(), IOobject::NO_READ, IOobject::NO_WRITE, and Foam::twoSymm().
tmp< fvVectorMatrix > divDevRhoReff | ( | volVectorField & | U ) | const [virtual]
|
Return the source term for the momentum equation.
Implements RASModel.
Definition at line 323 of file kOmegaSST.C.
References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), muEff(), and Foam::T().
void correct | ( | ) | [virtual]
|
Solve the turbulence equations and correct the turbulence viscosity.
Implements RASModel.
Definition at line 358 of file kOmegaSST.C.
References beta(), Foam::bound(), tmp< T >::clear(), correct(), Foam::fvm::ddt(), Foam::dev(), Foam::fvm::div(), Foam::resError::div(), F1, F2, Foam::fvc::grad(), Foam::fvc::interpolate(), Foam::fvm::laplacian(), Foam::magSqr(), Foam::max(), Foam::min(), Foam::solve(), Foam::fvm::Sp(), Foam::sqrt(), Foam::fvm::SuSp(), Foam::symm(), and Foam::twoSymm().
bool read | ( | ) | [virtual]
|