Base class implementation of the k-omega-SST turbulence model for incompressible and compressible flows. More...
Public Types | |
typedef BasicEddyViscosityModel::alphaField | alphaField |
typedef BasicEddyViscosityModel::rhoField | rhoField |
typedef BasicEddyViscosityModel::transportModel | transportModel |
Public Member Functions | |
kOmegaSSTBase (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName) | |
Construct from components. More... | |
virtual | ~kOmegaSSTBase () |
Destructor. More... | |
virtual bool | read () |
Re-read model coefficients if they have changed. More... | |
tmp< volScalarField > | DkEff (const volScalarField &F1) const |
Return the effective diffusivity for k. More... | |
tmp< volScalarField > | DomegaEff (const volScalarField &F1) const |
Return the effective diffusivity for omega. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy. More... | |
virtual tmp< volScalarField > | epsilon () const |
Return the turbulence kinetic energy dissipation rate. More... | |
virtual tmp< volScalarField > | omega () const |
Return the turbulence kinetic energy dissipation rate. More... | |
virtual void | correct () |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
Protected Member Functions | |
tmp< volScalarField > | F1 (const volScalarField &CDkOmega) const |
tmp< volScalarField > | F2 () const |
tmp< volScalarField > | F3 () const |
tmp< volScalarField > | F23 () const |
tmp< volScalarField > | blend (const volScalarField &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const |
tmp< volScalarField > | alphaK (const volScalarField &F1) const |
tmp< volScalarField > | alphaOmega (const volScalarField &F1) const |
tmp< volScalarField > | beta (const volScalarField &F1) const |
tmp< volScalarField > | gamma (const volScalarField &F1) const |
virtual void | correctNut (const volScalarField &S2) |
virtual void | correctNut () |
virtual tmp< fvScalarMatrix > | kSource () const |
virtual tmp< fvScalarMatrix > | omegaSource () const |
virtual tmp< fvScalarMatrix > | Qsas (const volScalarField &S2, const volScalarField &gamma, const volScalarField &beta) const |
Private Member Functions | |
kOmegaSSTBase (const kOmegaSSTBase &) | |
kOmegaSSTBase & | operator= (const kOmegaSSTBase &) |
Base class implementation of the k-omega-SST turbulence model for incompressible and compressible flows.
Turbulence model described in:
Menter, F. R. & Esch, T. (2001). Elements of Industrial Heat Transfer Prediction. 16th Brazilian Congress of Mechanical Engineering (COBEM).
with updated coefficients from
Menter, F. R., Kuntz, M., and Langtry, R. (2003). Ten Years of Industrial Experience with the SST Turbulence Model. Turbulence, Heat and Mass Transfer 4, ed: K. Hanjalic, Y. Nagano, & M. Tummers, Begell House, Inc., 625 - 632.
but with the consistent production terms from the 2001 paper as form in the 2003 paper is a typo, see
http://turbmodels.larc.nasa.gov/sst.html
and the addition of the optional F3 term for rough walls from
Hellsten, A. (1998). "Some Improvements in Menter’s k-omega-SST turbulence model" 29th AIAA Fluid Dynamics Conference, AIAA-98-2554.
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 if y+ becomes sufficiently small blending u_tau in this manner clearly becomes nonsense.
The default model coefficients are
kOmegaSSTBaseCoeffs { alphaK1 0.85; alphaK2 1.0; alphaOmega1 0.5; alphaOmega2 0.856; beta1 0.075; beta2 0.0828; betaStar 0.09; gamma1 5/9; gamma2 0.44; a1 0.31; b1 1.0; c1 10.0; F3 no; }
Definition at line 115 of file kOmegaSSTBase.H.
typedef BasicEddyViscosityModel::alphaField alphaField |
Definition at line 216 of file kOmegaSSTBase.H.
typedef BasicEddyViscosityModel::rhoField rhoField |
Definition at line 217 of file kOmegaSSTBase.H.
typedef BasicEddyViscosityModel::transportModel transportModel |
Definition at line 218 of file kOmegaSSTBase.H.
|
private |
kOmegaSSTBase | ( | const word & | type, |
const alphaField & | alpha, | ||
const rhoField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const transportModel & | transport, | ||
const word & | propertiesName = turbulenceModel::propertiesName |
||
) |
Construct from components.
Definition at line 181 of file kOmegaSSTBase.C.
|
inlinevirtual |
Destructor.
Definition at line 238 of file kOmegaSSTBase.H.
|
private |
|
protected |
Definition at line 39 of file kOmegaSSTBase.C.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::alphaK(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::alphaOmega(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::beta(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::blend(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::DkEff(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::DomegaEff(), and kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::gamma().
|
protected |
Definition at line 68 of file kOmegaSSTBase.C.
|
protected |
Definition at line 85 of file kOmegaSSTBase.C.
|
protected |
Definition at line 98 of file kOmegaSSTBase.C.
|
inlineprotected |
Definition at line 172 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::alphaK(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::alphaOmega(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::beta(), and kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::gamma().
|
inlineprotected |
Definition at line 181 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::DkEff().
|
inlineprotected |
Definition at line 186 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::DomegaEff().
|
inlineprotected |
Definition at line 191 of file kOmegaSSTBase.H.
|
inlineprotected |
Definition at line 196 of file kOmegaSSTBase.H.
|
protectedvirtual |
Reimplemented in kOmegaSST< BasicTurbulenceModel >, and kOmegaSSTDES< BasicTurbulenceModel >.
Definition at line 113 of file kOmegaSSTBase.C.
|
protectedvirtual |
Reimplemented in kOmegaSSTSato< BasicTurbulenceModel >, kOmegaSST< BasicTurbulenceModel >, and kOmegaSSTDES< BasicTurbulenceModel >.
Definition at line 124 of file kOmegaSSTBase.C.
|
protectedvirtual |
Definition at line 131 of file kOmegaSSTBase.C.
|
protectedvirtual |
Definition at line 145 of file kOmegaSSTBase.C.
|
protectedvirtual |
Reimplemented in kOmegaSSTSAS< BasicTurbulenceModel >.
Definition at line 160 of file kOmegaSSTBase.C.
|
virtual |
Re-read model coefficients if they have changed.
Reimplemented in kOmegaSSTSato< BasicTurbulenceModel >, kOmegaSSTSAS< BasicTurbulenceModel >, kOmegaSSTIDDES< BasicTurbulenceModel >, kOmegaSSTDES< BasicTurbulenceModel >, and kOmegaSSTDDES< BasicTurbulenceModel >.
Definition at line 357 of file kOmegaSSTBase.C.
|
inline |
Return the effective diffusivity for k.
Definition at line 248 of file kOmegaSSTBase.H.
|
inline |
Return the effective diffusivity for omega.
Definition at line 257 of file kOmegaSSTBase.H.
|
inlinevirtual |
Return the turbulence kinetic energy.
Definition at line 270 of file kOmegaSSTBase.H.
|
inlinevirtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 276 of file kOmegaSSTBase.H.
|
inlinevirtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 295 of file kOmegaSSTBase.H.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Reimplemented in kOmegaSSTSato< BasicTurbulenceModel >, and kOmegaSSTDES< BasicTurbulenceModel >.
Definition at line 385 of file kOmegaSSTBase.C.
|
protected |
Definition at line 132 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::alphaK().
|
protected |
Definition at line 133 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::alphaK().
|
protected |
Definition at line 135 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::alphaOmega().
|
protected |
Definition at line 136 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::alphaOmega().
|
protected |
Definition at line 138 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::gamma().
|
protected |
Definition at line 139 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::gamma().
|
protected |
Definition at line 141 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::beta().
|
protected |
Definition at line 142 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::beta().
|
protected |
Definition at line 144 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::epsilon().
|
protected |
Definition at line 146 of file kOmegaSSTBase.H.
|
protected |
Definition at line 147 of file kOmegaSSTBase.H.
|
protected |
Definition at line 148 of file kOmegaSSTBase.H.
|
protected |
Definition at line 150 of file kOmegaSSTBase.H.
|
protected |
Wall distance.
Note: different to wall distance in parent RASModel which is for near-wall cells only
Definition at line 158 of file kOmegaSSTBase.H.
|
protected |
Definition at line 160 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::epsilon(), and kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::k().
|
protected |
Definition at line 161 of file kOmegaSSTBase.H.
Referenced by kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::epsilon(), and kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::omega().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.