[Table of Contents] [Index] [ Version 7 | Version 6 | **Version 5** | Version 4 ]

## 7.2 Turbulence models

The turbulenceProperties dictionary is read by any solver that includes turbulence modelling. Within that file is the simulationType keyword that controls the type of turbulence modelling to be used, either:

- laminar
- uses no turbulence models;
- RAS
- uses Reynolds-averaged simulation (RAS) modelling;
- LES
- uses large-eddy simulation (LES) modelling.

### 7.2.1 Reynolds-averaged simulation (RAS) modelling

If RAS is selected, the choice of RAS modelling is specified in a RAS sub-dictionary which requires the following entries.

- RASModel: name of RAS turbulence model.
- turbulence: switch to turn the solving of turbulence modelling on/off.
- printCoeffs: switch to print model coeffs to terminal at simulation start up.
- <RASModel>Coeffs: optional dictionary of coefficients for the respective RASModel, to override the default coefficients.

Turbulence models can be listed by running a solver with the -listTurbulenceModels option, e.g.

simpleFoam -listTurbulenceModels

The RAS models used in the tutorials can be listed using foamSearch with the following command. The lists of available models are given in the following sections.

foamSearch $FOAM_TUTORIALS RAS.RASModel turbulenceProperties

find $FOAM_TUTORIALS -name turbulenceProperties | \\

xargs grep -l buoyantKEpsilon

#### 7.2.1.1 Incompressible RAS turbulence models

For incompressible flows, the RASModel can be chosen from the list below.

- LRR
- Launder, Reece and Rodi Reynolds-stress turbulence model for incompressible and compressible flows.
- LamBremhorstKE
- Lam and Bremhorst low-Reynolds number k-epsilon turbulence model for incompressible flows
- LaunderSharmaKE
- Launder and Sharma low-Reynolds k-epsilon turbulence model for incompressible and compressible and combusting flows including rapid distortion theory (RDT) based compression term.
- LienCubicKE
- Lien cubic non-linear low-Reynolds k-epsilon turbulence models for incompressible flows.
- LienLeschziner
- Lien and Leschziner low-Reynolds number k-epsilon turbulence model for incompressible flows.
- RNGkEpsilon
- Renormalization group k-epsilon turbulence model for incompressible and compressible flows.
- SSG
- Speziale, Sarkar and Gatski Reynolds-stress turbulence model for incompressible and compressible flows.
- ShihQuadraticKE
- Shih’s quadratic algebraic Reynolds stress k-epsilon turbulence model for incompressible flows
- SpalartAllmaras
- Spalart-Allmaras one-eqn mixing-length model for incompressible and compressible external flows.
- kEpsilon
- Standard k-epsilon turbulence model for incompressible and compressible flows including rapid distortion theory (RDT) based compression term.
- kOmega
- Standard high Reynolds-number k-omega turbulence model for incompressible and compressible flows.
- kOmegaSSTLM
- Langtry-Menter 4-equation transitional SST model based on the k-omega-SST RAS model.
- kOmegaSSTSAS
- Scale-adaptive URAS model based on the k-omega-SST RAS model.
- kkLOmega
- Low Reynolds-number k-kl-omega turbulence model for incompressible flows.
- qZeta
- Gibson and Dafa’Alla’s q-zeta two-equation low-Re turbulence model for incompressible flows
- realizableKE
- Realizable k-epsilon turbulence model for incompressible and compressible flows.
- v2f
- Lien and Kalitzin’s v2-f turbulence model for incompressible and compressible flows, with a limit imposed on the turbulent viscosity given by Davidson et al.

#### 7.2.1.2 Compressible RAS turbulence models

For compressible flows, the RASModel can be chosen from the list below.

- LRR
- Launder, Reece and Rodi Reynolds-stress turbulence model for incompressible and compressible flows.
- LaunderSharmaKE
- Launder and Sharma low-Reynolds k-epsilon turbulence model for incompressible and compressible and combusting flows including rapid distortion theory (RDT) based compression term.
- RNGkEpsilon
- Renormalization group k-epsilon turbulence model for incompressible and compressible flows.
- SSG
- Speziale, Sarkar and Gatski Reynolds-stress turbulence model for incompressible and compressible flows.
- SpalartAllmaras
- Spalart-Allmaras one-eqn mixing-length model for incompressible and compressible external flows.
- buoyantKEpsilon
- Additional buoyancy generation/dissipation term applied to the k and epsilon equations of the standard k-epsilon model.
- kEpsilon
- Standard k-epsilon turbulence model for incompressible and compressible flows including rapid distortion theory (RDT) based compression term.
- kOmega
- Standard high Reynolds-number k-omega turbulence model for incompressible and compressible flows.
- kOmegaSSTLM
- Langtry-Menter 4-equation transitional SST model based on the k-omega-SST RAS model.
- kOmegaSSTSAS
- Scale-adaptive URAS model based on the k-omega-SST RAS model.
- realizableKE
- Realizable k-epsilon turbulence model for incompressible and compressible flows.
- v2f
- Lien and Kalitzin’s v2-f turbulence model for incompressible and compressible flows, with a limit imposed on the turbulent viscosity given by Davidson et al.

### 7.2.2 Large eddy simulation (LES) modelling

If LES is selected, the choice of LES modelling is specified in a LES sub-dictionary which requires the following entries.

- LESModel: name of LES turbulence model.
- delta: name of delta model.
- <LESModel>Coeffs: dictionary of coefficients for the respective LESModel, to override the default coefficients.
- <delta>Coeffs: dictionary of coefficients for the delta model.

The LES models used in the tutorials can be listed using foamSearch with the following command. The lists of available models are given in the following sections.

foamSearch $FOAM_TUTORIALS turbulenceProperties LES.LESModel

#### 7.2.2.1 Incompressible LES turbulence models

For incompressible flows, the LESModel can be chosen from the list below.

- DeardorffDiffStress
- Differential SGS Stress Equation Model for incompressible and compressible flows
- Smagorinsky
- The Smagorinsky SGS model.
- SpalartAllmarasDDES
- SpalartAllmaras DDES turbulence model for incompressible and compressible flows
- SpalartAllmarasDES
- SpalartAllmarasDES DES turbulence model for incompressible and compressible flows
- SpalartAllmarasIDDES
- SpalartAllmaras IDDES turbulence model for incompressible and compressible flows
- WALE
- The Wall-adapting local eddy-viscosity (WALE) SGS model.
- dynamicKEqn
- Dynamic one equation eddy-viscosity model
- dynamicLagrangian
- Dynamic SGS model with Lagrangian averaging
- kEqn
- One equation eddy-viscosity model
- kOmegaSSTDES
- Implementation of the k-omega-SST-DES turbulence model for incompressible and compressible flows.

#### 7.2.2.2 Compressible LES turbulence models

For compressible flows, the LESModel can be chosen from the list below.

- DeardorffDiffStress
- Differential SGS Stress Equation Model for incompressible and compressible flows
- Smagorinsky
- The Smagorinsky SGS model.
- SpalartAllmarasDDES
- SpalartAllmaras DDES turbulence model for incompressible and compressible flows
- SpalartAllmarasDES
- SpalartAllmarasDES DES turbulence model for incompressible and compressible flows
- SpalartAllmarasIDDES
- SpalartAllmaras IDDES turbulence model for incompressible and compressible flows
- WALE
- The Wall-adapting local eddy-viscosity (WALE) SGS model.
- dynamicKEqn
- Dynamic one equation eddy-viscosity model
- dynamicLagrangian
- Dynamic SGS model with Lagrangian averaging
- kEqn
- One equation eddy-viscosity model
- kOmegaSSTDES
- Implementation of the k-omega-SST-DES turbulence model for incompressible and compressible flows.

### 7.2.3 Model coefficients

The coefficients for the RAS turbulence models are given default values in their respective source code. If the user wishes to override these default values, then they can do so by adding a sub-dictionary entry to the RAS sub-dictionary file, whose keyword name is that of the model with Coeffs appended, e.g. kEpsilonCoeffs for the kEpsilon model. If the printCoeffs switch is on in the RAS sub-dictionary, an example of the relevant …Coeffs dictionary is printed to standard output when the model is created at the beginning of a run. The user can simply copy this into the RAS sub-dictionary file and edit the entries as required.

### 7.2.4 Wall functions

A range of wall function models is available in OpenFOAM that are applied as boundary conditions on individual patches. This enables different wall function models to be applied to different wall regions. The choice of wall function model is specified through the turbulent viscosity field in the 0/nut file. Note for OpenFOAM versions prior to v3.0.0: wall functions for compressible RAS are specified through the field in the 0/mut file, through in the 0/nuSgs file for incompressible LES and in the 0/muSgs file for compressible LES. For example, a 0/nut file:

18

19 internalField uniform 0;

20

21 boundaryField

22 {

23 movingWall

24 {

25 type nutkWallFunction;

26 value uniform 0;

27 }

28 fixedWalls

29 {

30 type nutkWallFunction;

31 value uniform 0;

32 }

33 frontAndBack

34 {

35 type empty;

36 }

37 }

38

39 // ************************************************************************* //

There are a number of wall function models available in the release, e.g. nutWallFunction, nutRoughWallFunction, nutUSpaldingWallFunction, nutkWallFunction and nutkAtmWallFunction. The user can consult the relevant directories for a full list of wall function models:

find $FOAM_SRC/TurbulenceModels -name wallFunctions

Having selected the particular wall functions on various patches in the nut/mut file, the user should select epsilonWallFunction on corresponding patches in the epsilon field and kqRwallFunction on corresponding patches in the turbulent fields k, q and R.

© 2011-2017 OpenFOAM Foundation