Académique Documents
Professionnel Documents
Culture Documents
Hrvoje Jasak
hrvoje.jasak@fsb.hr
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 1
Outline
Objective
Review turbulence modelling practices in modern CFD: assumptions, choice of
model and performance
Topics
Handling turbulent flows
Vortex dynamics and energy cascade
Direct numerical simulation
Reynolds-averaged Navier-Stokes equations
Eddy viscosity models
Reynolds stress transport models
Near-wall effects and low-Re models
Special topics: transient RANS and transitional flows
Large Eddy Simulation (LES)
Choosing a turbulence model for you application
Review of two popular turbulence models
Spalart-Allmaras model; k SST model by Menter
Future of turbulence modelling
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 2
Why Model Turbulence?
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 3
Handling Turbulent Flows
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 4
Vortex Dynamics and Energy Cascade
Energy
Taylor scale
Inertial range
Dissipation
Wavenumber
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 5
Vortex Dynamics and Energy Cascade
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 6
Vortex Dynamics and Energy Cascade
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 7
Turbulence Modelling
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 8
Direct Numerical Simulation
DNS is, strictly speaking, not a turbulence model at all: we will simulate all scales
of interest in a well-resolved transient mode with sufficient spatial and temporal
resolution
In order to perform the simulation well, it is necessary to ensure sufficient spatial
and temporal resolution:
Spatial resolution: vortices smaller that Kolmogorov scale will dissipate their
energy before a full turn. Smaller flow features are of no interest; Kolmogorov
scale is a function of the Re number
Temporal resolution is also related to Kolmogorov scale; but may be adjusted
for temporal accuracy
Computer resources are immense: we can really handle relatively modest Re
numbers and very simple geometry
. . . but this is the best way of gathering detailed information on turbulent interaction:
mean properties, first and second moments, two-point correlations etc. in full fields
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 9
Direct Numerical Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 10
Direct Numerical Simulation
In order to secure accurate higher moments, special numerics is used: e.g. sixth
order in space and tenth order in space will ensure that higher moments are not
polluted numerically. An alternative are spectral models, using Fourier modes or
Chebyshev polynomials as a discretisation base
DNS simulations involve simple geometries and lots of averaging. Data is
assembled into large databases and typically used for validation or tuning of
proper turbulent models
DNS on engineering geometries is beyond reach: the benefit of more complete
fluid flow data is not balanced by the massive cost involved in producing it
Current research frontier: compressible turbulence with basic chemical reactions,
e.g. mixing of hydrogen and oxygen with combustion; buoyancy-driven flows
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 11
Reynolds-Averaged Models
Reynolds Averaging
The rationale for Reynolds averaging is that we are not interested in the part of
flow solution that can be described as turbulent fluctuations: instead, it is the
mean (velocity, pressure, lift, drag) that is of interest. Looking at turbulent flow, it
may be steady in the mean in spite of turbulent fluctuations. If this is so, and we
manage to derive the equations for the mean properties directly, we may reduce
the cost by orders of magnitude:
It is no longer necessary to perform transient simulation and assemble the
averages: we are solving for average properties directly
Spatial resolution requirement is no longer governed by the Kolmogorov
micro-scale! We can tackle high Reynolds numbers and determine the
resolution based on required engineering accuracy
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 12
Reynolds-Averaged Models
u = u + u
p = p + p
Substitute the above into original equations. Eliminate all terms containing
products of mean and fluctuating values
u
+ (u u) (u) = p + (u u )
t
u = 0
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 13
Reynolds-Averaged Models
R = u u
R is a second rank symmetric tensor. We have seen something similar when the
continuum mechanics equations were assembled, but with clear separation of
scales: molecular interaction is described as diffusion
Modelling Paradigms
In order to close the system, we need to describe the unknown value, R as a
function of the solution. Two ways of doing this are:
1. Write an algebraic function, resulting in eddy viscosity models
R = f (u, p)
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 14
Eddy Viscosity Models
Dimensional Analysis
Looking at R, the starting point is to find an appropriate symmetric second rank
tensor. Remember that the terms acts as diffusion of momentum, appears in the
equation under divergence and appears to act as diffusion
Based on this, the second rank tensor is the symmetric velocity gradient S:
R = f (S)
where
1h T
i
S= u + (u)
2
Under divergence, this will produce a (u) kind of term, which makes physical
sense and is numerically well behaved
Using dimensional analysis, it turns out that we need a pre-factor of dimensions of
viscosity: for laminar flows, this will be [m2 /s] and because of its equivalence with
laminar viscosity we may call it turbulent viscosity t
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 15
Eddy Viscosity Models
Dimensional Analysis
The problem reduces to finding t as a function of the solution. Looking at
dimensions, we need a length and time-scale, either postulated or calculated. On
second thought, it makes more sense to use velocity scale U and length-scale
We can think of the velocity scale as the size of u and length-scale as the size of
energy-containing vortices. Thus:
1h T
i
R = t u + (u)
2
and
t = A U
where A is a dimensionless constant allowing us to tune the model to the actual
physical behaviour
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 16
Eddy Viscosity Models
2
k 1
+ (uk) [(ef f )k] = t (u + uT )
t 2
3
k2
= C
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 17
Eddy Viscosity Models
where CS is the Smagorinsky constant. The model is actually in active use (!)
but not in this manner see below
One equation model: solve the k equation and use an algebraic equation for the
length scale. Example: length-scale for airfoil simulations can be determined form
the distance to the wall
Two-Equation Model
Two-equation models are the work-horse of engineering simulations today. Using
the k equation from above, the system is closed by forming an equation for
turbulent dissipation and modelling its generation and destruction terms
Other choices also exist. For example, the Wilcox model uses eddy turnover time
as the second variable, claiming better behaviour near the wall and easier
modelling
Two-equation models are popular because it accounts for transport of both the
velocity and length-scale and can be tuned to return several canonical results
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 18
Eddy Viscosity Models
Standard k Model
This is the most popular 2-equation model, now on its way out. There exists a
number of minor variants, but the basic idea is the same
Turbulence kinetic energy equation
k
+ (uk) [(ef f )k] = G
t
where
2
1
G = t (u + uT )
2
2
+ (u) [(ef f )] = C1 G C2
t k k
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 19
Eddy Viscosity Models
Standard k Model
Turbulent viscosity
k2
t = C
Reynolds stress
1
R = t (u + uT )
2
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 20
The k Model
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 21
Reynolds Transport Models
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 22
Reynolds Transport Models
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 23
Reynolds Transport Models
Standard Closure
Reynolds stress transport equation
R 2
+(uR)[(R t + l )R] = PC1 R+ (C1 1)IC2 dev(P)+W
t k 3
where
P is the production term
P = R [u + (u)T ]
1
G= tr(P)
2
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 24
Reynolds-Averaged Models
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 25
Near-Wall Effects
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 26
Near-Wall Effects
Wall Functions
In engineering simulations, we are typically not interested in the details of the
near-wall region. Instead, we need to know the drag
This allows us to bridge the troublesome region near the wall with a coarse mesh
and replace it with an equilibrium model for attached flows: wall functions
Wall functions bridge the problematic near-wall region, accounting for drag
increase and turbulence. A typical resolution requirement is y + = 30 50, but
coarser meshes can also be used
This is a simple equilibrium model for fully developed attached boundary layer. It
will cause loss of accuracy in non-equilibrium boundary layers, but it will still
produce a result
Wall functions split the region of operation below and above y + = 11.6 and revert
to laminar flow for below it. Here, increased mesh resolution may result in less
accurate drag prediction this is not a well-behaved model
Advanced wall functions may include effects of adverse pressure gradient and
similar but are still a very crude model
Note that wall functions are used with high-Re bulk turbulence models, reducing
the need for high resolution next to the wall
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 27
Low-Re Model
Wall
Wall
0.
5D
Wall
H
5D
0.
Developed inlet profile Outlet
X
H
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 28
Low-Re Model
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 29
Low-Re Model
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 30
Near-Wall Effects
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 31
Transient RANS Simulations
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 32
Transient RANS Simulations
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 33
Transitional Flows
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 34
Large Eddy Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 35
Large Eddy Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 36
Large Eddy Simulation
u
+ (u u) (u) = p +
t
u = 0
with
= (u u u u) + (u u + u , u) + u u = L + C + B
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 37
Large Eddy Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 38
Large Eddy Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 39
Large Eddy Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 40
Large Eddy Simulation
Energy-Conserving Numerics
For accurate LES simulation, it is critical to correctly predict the amount of energy
removal from resolved scale into sub-grid. This is the role of a SGS model
In order for the SGS model to perform its job, it is critical that the rest of
implementation does not introduce dissipative errors: we need
energy-conserving numerics
Errors introduced by spatial and temporal discretisation must not interfere with the
modelling
In short, good RANS numerics is not necessarily sufficient for LES simulations. In
RANS, a desire for steady-state and performance of RANS models masks poor
numerics; in LES this is clearly not the case
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 41
Large Eddy Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 42
Example: Large Eddy Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 43
Example: Large Eddy Simulation
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 44
Choosing a Turbulence Model
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 45
Choosing a Turbulence Model
Choice of Models
k model and its variants; k model represent normal industrial choice.
There are still issues with mesh resolution for full car/aeroplane aerodynamics:
meshes for steady RANS with wall functions can be of the order of 100 million cells
and larger
Low-Re formulations wall-bounded flows is not popular: excessive mesh resolution
for realistic geometric shapes
Study of instabilities and aero-acoustic effects in moving steadily to LES. Typically,
only a part of the geometry is modelled and coupled to the global (RANS) model
for boundary conditions. Examples: bomb bay in aeroplanes or wing mirrors in
automobiles
Current Fashion in Turbulence Modelling
Spalart-Allmaras 1-equation model
k Shear Stress Transport (SST) 2-equation eddy viscosity model
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 46
Turbulence Model Review
Spalart-Allmaras Model
Spalart-Allmaras model is a one equation model which solves a transport equation
for a viscosity-like variable
3
t = fv1 fv1 = 3 3
=
+ Cv1
1 1
+ (u) [( + )] = Cb1 [1 ft2 ]S + Cb2 ||2
t
2
Cb1
Cw1 fw 2 ft2 + ft1 U 2
d
S = S + fv2 fv2 = 1
2 d2 1 + fv1
1/6
6
1 + Cw3
1
S= 2 = [u (u)T ] fw =g 6 6
2 g + Cw3
g = r + Cw2 (r 6 r) r =
S2 d2
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 47
Turbulence Model Review
Spalart-Allmaras Model
Model is originally written as an airfoil-specific RANS model
Solution method is compact and numerically stable
Originally written as a RANS model; can be used in LES by manipulating d:
instead of using distance to the nearest wall, a LES-type filtering is prescribed
Since the model can be used both in RANS and LES mode, it is ideal for hybrid
simulations
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 48
Turbulence Model Review
k SST Model
Developed by Menter (1993-) it is a two-equation eddy-viscosity model
In the inner parts of the boundary layer it uses original formulation by Wilcox
Eliminates sensitivity to free-stream conditions by blending into standard k
model, reformulated in terms of
a1 k
T =
max(a1 , S F2 )
k
+ (uk) [( + k T )k] = Pk k
t
1
+ (u) [( + T )] = S 2 2 + 2(1 F1 ),2 k
t
2" !#2 3
2 k 500 `
5 Pk = min u, 10 k
F2 = tanh 4 max ,
y y 2
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 49
Turbulence Model Review
k SST Model
8( " ! #)4 9
< k 500 42 k =
F1 = tanh min max , ,
: y y 2 CDk y 2 ;
1
CDk = max 22 k , 1010
In the inner parts of the boundary layer it uses original formulation by Wilcox
Eliminates sensitivity to free-stream conditions by blending into standard k
model, reformulated in terms of
Using the equation next to the wall means the model can (should be able to)
operate without wall functions, in the low-Re regime
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 50
Future of Turbulence Modelling
NUMAP-FOAM Summer School, Zagreb 2-15 Sep 2009 Turbulence Modelling for CFD p. 51