Turbulence Modeling

Turbulence modeling is a pacing technology for computational fluid dynamics.

The various turbulence models handle different flow conditions and geometric configurations in different ways.

By enabling a turbulence model, the app decreases the mesh density of your finite element model. This decrease allows the turbulence equation solver to streamline calculations, which reduces the run time for the simulation to converge.

If no turbulence model is used, the solver uses an implicit large-eddy simulation (ILES) approach in turbulent flow steps. The ILES technique relies on the intrinsic numerical dissipation properties of the discretization scheme to represent the subgrid scales not resolved by the mesh resolution. In steady-state flow steps, the solver will not be able to account for turbulence effects without a turbulence model specified, and the results will likely be inaccurate unless the Reynolds number is in the laminar regimen.

To consider the effects of turbulence, you can specify one of the turbulence models described below.

This page discusses:

k-ω SST Model

The Shear-Stress Transport (SST) k-ω model is a two-equation turbulence model developed by F. R. Menter that was introduced to alleviate the problems exhibited by the k-ε and k-ω models. The k-ε model exhibits a singularity at the wall that complicates its integration all the way to the wall and as a consequence the model must be supplemented with additional near-wall treatment to allow its integration as the wall is approached. On the other hand, the standard k-ω model does not suffer from singularity at the wall and can be integrated without additional near-wall treatment. Unfortunately, it has been shown that the accuracy of predictions using k-ω model exhibits a strong sensitivity on the free-stream condition of ω (Menter (1992)). The k-ω SST model by Menter linearly combines the standard k-e model with the k-ω developed by Wilcox. This model improves the robustness of the model at the wall by using the k-ω model and removes the free-stream sensitivity by using the k-ε away outside the boundary layer since its predictions do not exhibit sensitivity on the free stream values specified in Menter (1992).

After transforming the standard k-ε model and combining it with Wilcox’s model the revised version of the k-ω SST model (Menter (2003)) equations are described below:

(1) ∂ ρ k ∂ t + ∂ ρ ⁢   u j k ∂ x j =   P k ~ − β * ρ k ω ⁢ + ∂ ∂ x j [ ( μ + σ k μ t ) ∂ k ∂ x j ]
(2) ∂ ρ ⁢   ω ∂ t + ∂ ρ ⁢   u j ω ∂ x j = γ v T   P k ~ − β ρ ω 2 ⁢ + ∂ ∂ x j [ ( μ + σ ω μ t ) ∂ ω ∂ x j ] + 2 ( 1 − F 1 ) ρ σ ω 2 1 ω ∂ k ∂ x j ∂ ω ∂ x j
  P k ~ = min ⁡ ( τ i j S i j ; 10 β * ρ k ω )
(3) τ i j = 2 μ t ( S i j − 1 3 S k k δ i j ) − 2 3 ρ k δ i j ⁢ ⁢ ,
μ t = ρ   a 1 k max ⁡ (   a 1 ω ⁢   ; S F 2 )
F 1 = tanh ⁡ ( χ 4 ) ,
(4) χ ⁢ = min ⁡ [ max ⁡ ( k β * ω y ; 500 v y 2 ω ) , 4 ρ σ ω 2 k C D k ω y 2 ] ,
C D k ω ⁢ =   max ⁡ ( 2 ρ σ ω 2 1 ω ∂ k ∂ x j ∂ ω ∂ x j , 10 − 10 )
(5) F 2 ⁢ =   tanh ⁡ ( η 2 ) ,   η ⁢ = max ⁡ [ 2 k β * ω y ; 500 v y 2 ω ]

Where the constants are computed by linearly combining the k-ε and k-s constants as follows:

ϕ = F 1 ϕ 1 + ( 1 − F 1 ) ϕ 2 ⁢   ,
( 6 ) σ k 1 = 0.85 ,         σ ω 1 = 0.5 ,         β 1 = 0.075 ,         γ 1 = β 1 β * −   σ ω 1 k 2 β * ,
(6) σ k 1 = 0.85 ,         σ ω 1 = 0.5 ,         β 1 = 0.075 ,         γ 1 = β 1 β * −   σ ω 1 k 2 β * ,
σ k 2 = 1.0 ,         σ ω 2 = 0.856 ,         β 2 = 0.0828 ,         γ 2 = β 2 β * −   σ ω 2 k 2 β * ,
β * = 0.09 ,         k = 0.41 ,         a 1 = 0.31

Where

(7) S i j = 1 2 ( ∂ u i ∂ x j ∂ u j ∂ x i ) ,   S = 2 S j j S j j

k-ε Realizable Model

The realizable k-ε model is a two equation based on transport equations that model the evolution of the turbulent kinetic energy and the energy dissipation rate. The equation for the modeled turbulent kinetic energy has been derived from the Navier-Stokes equations, however the equation for the modeled energy dissipation rate is not. This is because the exact equation is rather complicated and introduces additional terms that need to be modeled. Therefore, a simple transport equation with sources that resembles those of the TKE is usually proposed and the necessary physics is introduced to represent the turbulence behavior as accurate as possible.

The k-ε model of Shih et. al. was implemented, which introduces realizability constraints in the energy dissipation rate equations to guarantee that the predicted Reynolds stresses are consistent with their inherent mathematical properties. The coefficients in the ε equation are a function of the turbulence present in the flow. Similarly, the eddy viscosity coefficient adjusts based on the turbulence present in the flow to allow further control on the prediction outside the transport equations.

(8) ∂ ρ k ∂ t + ∂ ρ ⁢   u j k ∂ x j = τ i j S i j − ε ⁢ + ∂ ∂ x j [ ( μ + μ t σ k ) ∂ k ∂ x j ]
(9) ∂ ρ ε ∂ t + ∂ ρ ⁢   u j ε ∂ x j = C 1 S ρ ε − C 2 ⁢ ρ ε 2 k + v ε + ∂ ∂ x j [ ( μ + μ t σ ε ) ∂ ε ∂ x j ]
(10) τ i j = 2 μ t ( S i j − 1 3 ⁢ S k k δ i j ) − 2 3 ρ k δ i j ,
μ t = C μ ρ k 2 ε

Where the coefficients are defined as follows:

σ k σ ε C 2 A 0
1.0 1.2 1.9 4.0
(11) C μ = 1 A 0 + A s U ( * ) k ε

Where

(12) U ( * ) = S i j S i j + R i j R i j ,   A S = 6 cos ⁡ ( ϕ ) ,   ϕ = 1 3 arccos ⁡ ( 6 W )
W = S i j S j k S k i S ˜ ,   S ˜ = S i j S i j ,   S ⁢ = 2 S i j S i j
(13) C 1 = max ⁡ ( 0.43 ,   η 5 + η ) ,   η ⁢ =   S k ε

Spalart-Allmaras (S-A) Model

This model was developed by Spalart and Allmaras [6], and it consists of one transport equation for the turbulent viscosity (ν). The model is geometry dependent, since it requires the distance from the wall (d) used in the damping functions needed to control the turbulent viscosity in the near-wall region. Nevertheless, the model boundary conditions are straightforward and easy to implement. It is important to include this model since besides its reliability in complex flows [7,8], the most popular hybrid RANS/LES model (DES) is built around this model. It is important to mention that DES has gained significant attention due to its potential predicting complex unsteady turbulent flows at low computational cost [9]. For compressible flow, slightly different versions have been proposed for the SpalartAllmaras (S-A) model, see Deck et al. [10], Simon et al. [11], and Allmaras et al. [12]. Here for the sake of generality the model is presented using the compressible formulation found in Allmaras et al. [12]. The incompressible formulation can be obtained from the compressible equations by just factorizing the density in the transport equation. The turbulent viscosity transport equation is

(14) ∂ ρ v ~ ∂ t + ∂ ρ ⁢   u j v ~ ∂ x j = ρ C b 1 S ~ v ~ − ρ C w 1 f w ( v ~ d ) 2 +                                                   1 σ   [ ∂ ∂ x j ( ρ ( v + v ~ ) ∂ v ~ ∂ x j ) − ρ C b 2 ( v + v ~ ) ∂ ρ ∂ x j ∂ v ~ ∂ x j ]

With the blending functions defined following the original formulation [6].

(15) χ = v ~ v ,   f v 1 = χ χ + C v 1 3 ,   f v 2 = 1 − χ 1 + χ f v 1
(16) f w = g [ 1 + C w 3 6 g 6 + C w 3 6 ] 1 6 ,   g = r + C w 2 ( r 6 − r ) , r = min ⁡ [ v ~ S ~ κ 2 d 2 , 10 ]

However, the definition for the effective strain rate magnitude is modified to prevent negative values as proposed by Allmaras et al. [12]

(17) S ~ = { S * + S ¯                     :   S ¯ ≥ − c v 2 S * S * + S * ( c v 2 2 S * + c v 3 S ¯ ) ( c v 3 − 2 c v 2 ) S * − S *                   :   S ¯ < − c v 2 S * S * = 2 ω i j ω i j , ω i j = 1 2 ( ∂ u i ∂ x j − ∂ u j ∂ x i ) S ¯ = v ~ f v 2 κ 2 d κ 2
(18) μ T = ρ v ~ f v 1

The coefficients are given in Table 1.0

Coefficent Value
C b 1 0.1355
C b 2 0.622
C v 1 7.1
σ 2/3
C w 1 C b 1 κ 2 + 1 + C b 2 σ
C w 2 0.3
C w 3 2
κ 0.41
C v 2 0.7
C v 3 0.9

Curvature Correction for S-A Model

The Spalart-Allmaras model has been modified to account for the effects that the curvature of the geometry simulated has upon the flow. Spalart and Shur proposed a simple correction mechanism to the production term of the eddy viscosity equation to account for curvature and rotational effects [13].

The production term in Eq.(1.0) is written in the following form

(19) P = ρ C b 1 S ~ v ~ f r 1

Where the correction function f r 1 is set to 1.0 to recover the original model. According to Shur et al. [13] the correction function is defined as:

(20) f r 1 ( r * , r ~ ) = ( 1 + c r 1 ) 2 r * 1 + r * [ 1 − c r 3 tan -1 ( c r 2 r ~ ) ⁡ ] − c r 1
(21) r * = S / ω r ~ = 2 ω i k S j k ( D S i j D t + ( ϵ i m n S j n + ϵ j m n S i n ) Ω m ) / D 4

Here, the strain rate and the rotational tensors are defined as

(22) S i j = 1 2 ( ∂ u i ∂ x j + ∂ u j ∂ x i ) ,               ω i j = 1 2 ( ( ∂ u i ∂ x j + ∂ u j ∂ x i ) + 2 ϵ m j i Ω m ) S 2 = 2 S i j S i j ,         ω 2 = 2 ω i j ω i j ,       D 2 = 1 2 ( S 2 + ω 2 )

Here, Ω i is the rotation vector of the reference frame if it is encountering rotation, D D t is the material derivative operator, and ϵ i j k is the Levi-Civita tensor.

Second-Order Closure for SA Model

Second-order closure models have been implemented for the Spalart-Allmaras model following the work of Rumsey et al. In this model the Reynolds stress

(23) τ i j = τ i j L − C c r 1 " [ O i k τ j k L + O j k τ i k L ] − C c r 1 " μ T 2 ω m n ω m n δ i j

Where the linear closure is defined in the usual form including the turbulent kinetic energy k in the isotropic part.

(24) τ i j L = 2 μ T ( S i j − 1 3 S k k δ i j ) − 2 3 ρ k δ i j

The second order closure coefficients are defined as

(25) C c r 1 " = C c r 1 ′ ( 1 + C f w 1 f w )
C c r 2 " = C c r 2 ′ ( 1 + C f w 2 f w )

With the second order closure coefficients in Table 1.

Table 1. Second-order closure coefficients for the Spalart-Allmaras model
C c r 1 ′ C c r 2 ′ C f w 1 C f w 2 a 1
0.2 1 3 a 1 2.0 0.3 0.155

Boundary Conditions and Turbulence

The following sections describe how the app models turbulence for each model at boundary conditions: at inlets, free streams, and at walls.

k-ω SST Model

  • At Inlet or free stream boundary condition the turbulence variables can be specified in the following way:
    • Specifying ω ∞ and k ∞ turbulence variables directly. The free stream values for the turbulent kinetic energy can be approximated using, the turbulence intensity I = u ′ U ∞ and the free stream velocity U ∞ , while the specific energy dissipation-rate can be approximated using the free stream velocity and a characteristic length scale of the domain as suggested in Equation 26:
      (26) k ∞ = 3 2 I 2 U ∞ 2 ,   ω ∞ = ( 1 → 10 ) U ∞ L
    • Specify boundary condition values using the Turbulence Intensity I = u ′ U ∞ and the Turbulent Viscosity Ratio T V R = μ T μ . In some cases information about the free stream turbulence is available in this form, the solver will automatically compute the values ω ∞ and k ∞ using the following relationships. Note, that for this boundary condition the velocity, density, and viscosity at the inlet is used to compute the characteristic turbulent velocity scale.
      k ∞ = 3 2 I 2 U i n l e t 2 ,   ω ∞ = ρ μ • T V R k ∞
    • Specify boundary condition values using the Turbulence Intensity I = u ′ U ∞ and the Turbulent length scale I ∞ . In some cases information about the free stream turbulence is available in this form, the solver will automatically compute the values ω ∞ and k ∞ using the following relationships. Note, that for this boundary condition the velocity, density, and viscosity at the inlet is used to compute the characteristic turbulent velocity scale.
      k ∞ = 3 2 I 2 U i n l e t 2 ,   ω ∞ = k ∞ 1 2 β * 1 4 • l ∞ k ∞
  • No slip boundary conditions:
    • For the turbulent kinetic energy, a zero gradient boundary condition is specified at the wall
      δ k δ y | w a l l = 0
    • Given the singular behavior of at the wall, it is impossible to specify a Dirichlet boundary condition on it. By analyzing the near wall behavior of the equation, it is possible to derive the functional relationship that follows as the wall is approached. Near-wall turbulence analysis shows that follows two different relationships in the near wall region.
      • Viscous sub-layer relationship. This region is the closes zone to the wall, here the turbulence fluctuations are entirely dissipated and the flow behaves as laminar. In this region follows the following asymptotic relationship logarithmic-region.
        ω w a l l = 6 v β y 2
      • This is closest region to the wall where the turbulence fluctuations become the main mechanism in the transport of momentum. Here the follows the following asymptotic relationship.
        ω w a l l = u τ β * 1 2 k y
      • The viscous sub-layer and logarithmic region relationships are combined in a single asymptotic relationship that can be used throughout the inner-layer of the turbulent boundary layer.
        ω w a l l = u τ β * 1 2 k y [ 1 − e − β u τ y 6 β * 1 2 v k ]
      • In the solver, instead of applying boundary conditions at the wall for the asymptotic relationships are enforced at the first cell away from the wall. In other words, the partial differential of omega is not solved at the elements attached to the wall boundaries and instead omega is computed using the asymptotic relationships.

k-ε Realizable Model

  • At Inlet or free stream boundary conditions the turbulence variables can be specified in the following way:
    • Specifying ε ∞ and k ∞ turbulence variables directly. The free stream values for the turbulent kinetic energy can be approximated using, the turbulence intensity I = u ′ U ∞ and the free stream velocity U ∞ , while the energy dissipation-rate can be approximated using the free stream velocity and a characteristic length scale of the domain. This method is recommended if the actual values of ε ∞ and k ∞ are known or specified from a previous simulation:

      ( b .1 ) k ∞ = 3 2 I 2 U ∞ 2 ,   ε ∞ = ( 1 → 10 ) ( I U ∞ ) 3 L

    • Specify boundary condition values using the Turbulence Intensity I = u ′ U ∞ and the Turbulent Viscosity Ratio T V R = μ T μ . In some cases information about the free stream turbulence is available in this form, the solver will automatically compute the values ε ∞ and k ∞ using the following relationships. Note, that for this boundary condition the velocity, density, and viscosity at the inlet is used to compute the characteristic turbulent velocity scale.

      ( b .2 ) k ∞ = 3 2 I 2 U i n l e t 2 ,   ε ∞ = ρ C μ μ • T V R k ∞ 2

    • Specify boundary condition values using the Turbulence Intensity I = u ′ U ∞ and the Turbulent length scale I ∞ . In some cases information about the free stream turbulence is available in this form, the solver will automatically compute the values ω ∞ and k ∞ using the following relationships. Note, that for this boundary condition the velocity, density, and viscosity at the inlet is used to compute the characteristic turbulent velocity scale.

      ( b .3 ) k ∞ = 3 2 I 2 U ∞ 2 ,   ε ∞ = C μ 3 4 k ∞ 3 2 l ∞

  • No slip boundary conditions:
    • For the turbulent kinetic energy a zero gradient boundary condition is specified at the wall

      ( b .4 ) δ k δ y | w a l l = 0

    • Given the singular behavior of ε at the wall, it is not possible to specify a Dirichlet boundary condition on it. By analyzing the near wall behavior of the ε equation, it is possible to derive the functional relationship that ε follows as the wall is approached. Near-wall turbulence analysis shows that follows two different relationships in the near wall region.
      • Viscous sub-layer relationship. This region is the closes zone to the wall, here the turbulence fluctuations are entirely dissipated and the flow behaves as laminar. In this region follows the following asymptotic relationship logarithmic-region.

        ( b .5 )   ε w a l l = 2 v k y 2

      • This is closest region to the wall where the turbulence fluctuations become the main mechanism in the transport of momentum. Here the follows the following asymptotic relationship.

        ( b .6 )   ε w a l l = C μ 3 4 k 3 2 k y

      • The viscous sub-layer and logarithmic region relationships are combined in a single asymptotic relationship that can be used throughout the inner-layer of the turbulent boundary layer.

        ( b .7 ) ε w a l l = u τ k y [ 1 − e − k 1 2 y 2 v k C μ − 3 4 ]

      • In the solver, instead of applying boundary conditions at the wall for ε the asymptotic relationships are enforced at the first cell away from the wall. In other words, the partial differential of ε is not solved at the elements attached to the wall boundaries and instead omega is computed using the asymptotic relationships.

Spalart-Allmaras Model

  • At Inlet or free stream boundary conditions the turbulence variables can be specified in the following way:
    • Specifying v ∞ ˜ . This method is recommended if the actual value of v ∞ ˜ is known or specified from a previous simulation. The user can estimate this value by using a Turbulent Viscosity ratio:

      ( c .1 )   v ∞ ˜ = μ • T V R ,

    • Specify boundary condition values using the Turbulent Viscosity Ratio T V R = μ T μ . In some cases information about the free stream turbulence is available in this form, the solver will automatically computes v ∞ ˜ by solving the eddy viscosity equation.

      ( c .2 )   μ • T V R = ρ ⁢   v ˜ f v 1 ( ρ ⁢   v ˜ μ )

    • Specify boundary condition values using the Turbulence Intensity I = u ′ U ∞ and the Turbulent length scale I ∞ . In some cases information about the free stream turbulence is available in this form, the solver will automatically compute the values v ∞ ˜ using the following relationship.

      ( c .3 )   v ∞ ˜ = 3 2 C μ 1 4 I • U i n l e t • l ∞

  • No slip boundary conditions:
    • The wall boundary condition of v ∞ ˜ is zero turbulence at the wall

      ( c .4 )   v w a l l ˜ = 0

References

  • F. R. Menter, “Two-Equation Eddy-Viscosity Turbulence Models for Engineering Applications.”, AIAA Journal, Vol. 32, No. 8, 1994.
  • F. R. Menter, “Influence of Freestream Values on k-w Turbulence Model Predictions.”, AIAA Journal, Vol. 30, No. 6, 1992.
  • D. C. Wilcox, “Reassessment of the Scale-Determining Equation for Advanced Turbulence Models.”, AIAA Journal, Vol. 26, No. 11, 1988.
  • F. R. Menter, “Ten Years of Industrial Experience with the SST Turbulence Model.”, Turbulence, Heat and Mass Transfer 4. 2003.
  • T.H. Shih, W.W. Liou, A. Shabbir, Z. Yang, and J. Zhu, “A New k-e Eddy Viscosity Model For High Reynolds Number Turbulent Flows.”, Computers Fluids Vol. 24, No. 3, 1995.
  • P.R Spalart and S. R. Allmaras. “A one-equation turbulence model for aerodynamic flows.” La Recherche Aerospatiale, 1:5–21, 1994.
  • P. R. Spalart. "Trends in turbulence treatments." AIAA Paper 2000-2306, June 2000.
  • P. R. Spalart. “Strategies for turbulence modeling and simulations.” International Journal of Heat and Fluid Flow, 21:252–263, 2000.
  • P. R. Spalart. “Detached-eddy simulation.” Annual Review of Fluid Mechanics, 41:181–202, 2009.
  • N. Deck, P. Duveau, P. d'Espiney, and P. Guillen. “Development and application of spalart-allmaras one equation turbulence model to three-dimensional supersonic complex configurations.” Aerospace Science and Technology, 6:171–183, 2002.
  • F. Simon, S. Deck, and P. Guillen. “Renolds-Averaged Navier-Stokes/LargeEddy simulations of supersonic base flow.” AIAA Journal, 44(11):2578–2590, 2006.
  • S. R. Allmaras, F. T. Johnson, and P. R. Spalart. “Modifications and clarifications for the implementation of the Spalart-Allmaras turbulent model.” Seventh International Conference on Computation Fluid Dynamics (ICCFD7) ,July 2012.
  • M. L. Shur, M. K. Strelets, A. K. Travin, and P. R. Spalart “Turbulence Modeling in Rotating and Curved Channels: Assessing the Spalart-Shur Correction.” AIAA Journal, 38(5):784–792, 2000.
  • C. L. Rumsey, J.R. Carlson, T. H. Pulliam, and P. R. Spalart “Improvements to the Quadratic Constitutive Relation Based on NASA juncture flow data.” AIAA Journal, 58(10):1–11, 2020.