28.07.2013 Views

Turbulence Modelling– 2 - Turbulence Mechanics/CFD Group

Turbulence Modelling– 2 - Turbulence Mechanics/CFD Group

Turbulence Modelling– 2 - Turbulence Mechanics/CFD Group

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

School of Mechanical Aerospace and Civil Engineering<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2<br />

T. J. Craft<br />

George Begg Building, C41<br />

3rd Year Fluid <strong>Mechanics</strong><br />

Contents:<br />

Reading:<br />

◮ Navier-Stokes equations<br />

F.M. White, Fluid <strong>Mechanics</strong><br />

◮ Inviscid flows<br />

J. Mathieu, J. Scott, An Introduction to Turbulent Flow<br />

◮ Boundary layers<br />

P.A. Libby, Introduction to <strong>Turbulence</strong><br />

◮ Transition, Reynolds averaging<br />

P. Bernard, J. Wallace, Turbulent Flow: Analysis Mea-<br />

◮ Mixing-length models of turbulence<br />

surement & Prediction<br />

◮ S.B. Pope, Turbulent Flows<br />

Turbulent kinetic energy equation<br />

◮<br />

D. Wilcox, <strong>Turbulence</strong> Modelling for <strong>CFD</strong><br />

One- and Two-equation models<br />

◮<br />

Notes: http://cfd.mace.manchester.ac.uk/tmcfd<br />

Flow management<br />

- People - T. Craft - Online Teaching Material<br />

◮ As before, we can prescribe a lengthscale, and take ε as k 3/2 /l. The only<br />

unknown quantity in equation (2) is then the diffusion of k.<br />

◮ The molecular diffusion of k does not need modelling – but it is usually<br />

negligible compared with the turbulent contribution, except in the viscous<br />

sublayer.<br />

◮ The turbulent diffusion of k is usually modelled as a gradient transport<br />

process, giving:<br />

<br />

∂<br />

Diffk = ν +<br />

∂y<br />

νt<br />

<br />

∂k<br />

σk ∂y<br />

(3)<br />

where σ k is known as the turbulent Prandtl number for the diffusion of<br />

kinetic energy, usually taken as unity.<br />

◮ Thus, with the above one-equation model, l is prescribed algebraically,<br />

and k is found as the solution of the transport equation<br />

<br />

Dk ∂<br />

= ν +<br />

Dt ∂y<br />

νt<br />

<br />

∂k k<br />

+ Pk −<br />

σk ∂y<br />

3/2<br />

(4)<br />

l<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 3 / 19<br />

One-Equation Models of <strong>Turbulence</strong><br />

◮ Mixing length models are attractively simple, but have some serious<br />

weaknesses, making them unsuitable for modelling complex flows.<br />

◮ Here, we explore strategies for removing some of the weaknesses, while<br />

still keeping the model relatively simple.<br />

◮ In obtaining the MLH we wrote the eddy-viscosity as<br />

νt = cμk 1/2 ∂U<br />

l so that uv = −νt<br />

∂y = −cμk 1/2 l ∂U<br />

∂y<br />

Substituting this into the local equilibrium condition gave an algebraic<br />

expression for k, to then use in the above expression for νt.<br />

◮ An alternative is to retain the expression νt = cμk 1/2 l but, instead of using<br />

local equilibrium to determine k, solve a closed form of the turbulent<br />

kinetic energy transport equation (seen in earlier lectures):<br />

Dk<br />

Dt = P k − ε − ∂<br />

∂x i<br />

<br />

u 2 j u i/2+u ip/ρ − ν ∂k<br />

∂x i<br />

(1)<br />

<br />

= P k − k 3/2 /l + Diffk (2)<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 2 / 19<br />

◮ The turbulent viscosity is taken as νt = cμk 1/2l and used in the<br />

eddy-viscosity formulation to model the Reynolds stresses uiuj: <br />

∂Ui<br />

uiuj = −νt +<br />

∂xj ∂U <br />

j<br />

+(2/3)kδ ij<br />

∂xi ◮ The algebraic prescription of l is usually analogous to that of the mixing<br />

length lm.<br />

◮ However, different near-wall viscous damping terms can be associated<br />

with ε and νt:<br />

◮ A fairly standard near-wall formulation is:<br />

lε = 2.4y(1 − exp(−Ady + ))<br />

lμ = 2.4y(1 − exp(−Aμy + ))<br />

with A d = 0.016, Aμ = 0.235. y<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 4 / 19<br />

l<br />

(5)


◮ One advantage of solving an equation for k<br />

is that the turbulence energy, and thus the<br />

viscosity, does not now have to vanish<br />

when ∂U/∂y vanishes locally.<br />

◮ In the wall-jet example shown, P k is non-zero either side of the velocity<br />

maximum. Although it will be zero at the peak, k will be non-zero, being<br />

diffused across this region.<br />

◮ Some transport effects have thus been incorporated into the turbulence<br />

model.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 5 / 19<br />

Two-Equation Models<br />

◮ In complex flows, prescribing the lengthscale becomes impossible. It may<br />

be difficult to define the distance to the wall, and the local level of l is<br />

affected by convection and diffusion processes.<br />

bl thicker on upper<br />

surface due to apg<br />

y<br />

x<br />

larger lengthscale<br />

due to thickening bl<br />

◮ An alternative, building on the modelling already y adopted for k, is to<br />

y<br />

obtain l from its own separate transport equation.<br />

l<br />

l<br />

more uniform<br />

lengthscale<br />

further<br />

downstream<br />

◮ Most two-equation models solve a transport equation for a variable of the<br />

form k<br />

U<br />

U<br />

al b . Since we also solve the k transport equation, this enables us<br />

to obtain l.<br />

◮ A popular choice of second variable is ε, the dissipation rate of k. ie<br />

a = 3/2, b = −1 (since ε = k 3/2 /l).<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 7 / 19<br />

Other One-Equation Models<br />

◮ Although we have considered a transport equation for k, other<br />

one-equation models have been proposed, where the transport equation<br />

is for some other variable.<br />

◮ Amongst others, Barth (1990), Spalart & Allmaras (1994) and<br />

Menter (1994) have all developed models that solve for νt itself.<br />

◮ A typical example is that of Menter (1994):<br />

<br />

∂Ui<br />

Dνt<br />

= c1νt −<br />

Dt ∂xj ∂Uj<br />

2 ν<br />

− c2<br />

∂xi 2 <br />

t ∂ νt ∂νt<br />

+<br />

l2 ∂xj σν ∂xj ◮ Different one-equation models will perform somewhat differently in<br />

particular flows, but are generally more widely applicable than<br />

mixing-length schemes.<br />

◮ However, they do still need a lengthscale to be prescribed – in the above<br />

example for the destruction term in the νt transport equation.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 6 / 19<br />

The k-ε Model<br />

◮ In earlier lectures we obtained a transport equation for k.<br />

◮ It is possible to derive an exact transport equation for ε, by manipulating<br />

the transport equations for u i (since ε = ν(∂ui/∂xj) 2 ).<br />

◮ However, the result is not very useful for direct modelling purposes: most<br />

of the terms appearing in it need to be modelled. A modelled transport<br />

equation for ε is thus usually devised via a more empirical approach.<br />

◮ Typical model ε equations are devised by reference to the k equation:<br />

Dε<br />

Dt<br />

=<br />

ε<br />

cε1<br />

k Pk <br />

Source<br />

−<br />

ε<br />

cε2<br />

2<br />

<br />

k<br />

<br />

Sink<br />

+<br />

<br />

∂<br />

ν +<br />

∂xj νt<br />

<br />

∂ε<br />

σε ∂xj <br />

Diffusion<br />

(7)<br />

◮ The source term ensures that if k is being created by mean shear the<br />

dissipation rate also increases.<br />

◮ The sink term ensures that if P k is zero both k and ε decrease.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 8 / 19<br />

(6)


◮ The turbulent timescale k/ε and model coefficients cε1 and cε2 are<br />

associated with the generation and destruction terms.<br />

◮ The simple diffusion model is similar to that adopted in the k equation.<br />

◮ The coefficients cε1, cε2 and σε are taken as constants, to be tuned over<br />

a range of flows.<br />

◮ Generally, one might expect that the wider the range of flows considered<br />

when tuning these model coefficients, the more applicable the scheme<br />

will be to complex, real-life, flow situations.<br />

◮ We now consider how values for these model coefficients are typically<br />

obtained.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 9 / 19<br />

◮ Equation (8) gives an expression for ε. Substituting this, and the<br />

expression for k, into equation (9) leads to:<br />

−U 2 cn(n+1)x −(n+2) c<br />

= −cε2<br />

2n2U 2x −2(n+1)<br />

cx −n<br />

◮ Cancelling common factors gives<br />

(n+1) = ncε2 or cε2 = n+1<br />

n<br />

◮ From experiments, the decay rate n ≈ 1.1, giving cε2 ≈ 1.9.<br />

◮ Thus, taking cε2 ≈ 1.9 in the model should ensure that it will return the<br />

correct rate of decay of turbulence in the absence of any generation.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 11 / 19<br />

(10)<br />

Decaying Grid <strong>Turbulence</strong><br />

◮ A value for cε2 can be found by considering decaying grid turbulence.<br />

◮ In a uniform stream passed2 through a<br />

turbulence-generating grid, 1k<br />

decays x<br />

downstream of the grid (there are no<br />

x<br />

velocity gradients, so Pk = 0).<br />

3<br />

◮ k decays exponentially with distance downstream of the grid, k = cx<br />

)<br />

−n .<br />

The constants c and n can be measured experimentally.<br />

2<br />

y<br />

◮ In such decaying homogeneous 1 grid turbulence, Pk = 0 and diffusion can<br />

be neglected.<br />

◮ The k and ε equations then reduce to<br />

U dk<br />

dx<br />

U dε<br />

dx<br />

2<br />

d<br />

= −ε or ε = −U<br />

3 dx (cx −n ) = cnUx −(n+1)<br />

ε<br />

= −cε2<br />

2<br />

k<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 10 / 19<br />

Log-Law Region of an Equilibrium Boundary Layer<br />

y<br />

U<br />

k<br />

k=cx −n<br />

◮ In an earlier lecture we saw that in the fully turbulent, local equilibrium,<br />

region of a simple boundary layer we should have:<br />

2<br />

Pk = ε |uv | = uτ |uv |/k = c 1/2<br />

μ so k = u 2 τ /c 1/2<br />

μ<br />

where the friction velocity uτ ≡ (τw/ρ) 1/2 .<br />

◮ The mean velocity satisfied the log-law:<br />

U<br />

uτ<br />

= 1<br />

log(Eyuτ/ν) so<br />

κ<br />

∂U uτ<br />

=<br />

∂y κy<br />

and νt = κyuτ<br />

◮ As a second constraint we ensure that the modelled ε equation will return<br />

the above results in a simple boundary layer.<br />

◮ The convection term Dε/Dt can be neglected, but diffusion cannot be<br />

ignored (the lengthscale increases linearly with wall-distance, so<br />

ε = k 3/2 /(2.5y) and hence ε ∝ 1/y).<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 12 / 19<br />

x<br />

(8)<br />

(9)


◮ The ε transport equation in this case then becomes<br />

<br />

νt<br />

0 = P2 k<br />

d<br />

(cε1 − cε2)+<br />

k dy<br />

= (uv )2<br />

k<br />

σε<br />

d(P k)<br />

dy<br />

2 ∂U<br />

(cε1 − cε2)+<br />

∂y<br />

d<br />

dy<br />

<br />

νt d<br />

−uv<br />

σε dy<br />

∂U<br />

<br />

∂y<br />

◮ Substituting in the earlier expressions for uv , k, ∂U/∂y and νt then gives<br />

0 = u 4 u<br />

τ<br />

2 τ<br />

κ2y 2<br />

c 1/2<br />

μ<br />

u2 (cε1 − cε2)+<br />

τ<br />

d<br />

<br />

κyuτ d<br />

u<br />

dy σε dy<br />

2 <br />

uτ<br />

τ<br />

κy<br />

= u4 τ c1/2 μ<br />

κ2 <br />

d u4 τ y 1<br />

(cε1 − cε2) −<br />

y 2 dy σε y 2<br />

<br />

= u4 τ c 1/2<br />

μ<br />

κ2y 2 (cε1 − cε2)+ u4 τ<br />

σεy 2<br />

◮ Cancelling u4 τ /y 2 leaves a relation between the model coefficients cε1,<br />

cε2, and σε:<br />

c 1/2<br />

μ (cε1 − cε2)<br />

κ2 = − 1<br />

σε<br />

(11)<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 13 / 19<br />

The Resultant k-ε Model<br />

◮ A commonly used set of coefficients, obtained as outlined above, is<br />

cμ σ k σε cε1 cε2<br />

0.09 1.0 1.3 1.44 1.92<br />

◮ In summary, the k-ε model then solves transport equations for k and ε:<br />

Dk<br />

Dt = Pk − ε + ∂<br />

Dε<br />

Dt<br />

=<br />

<br />

νt ∂k<br />

∂xj σk ∂xj εPk ε<br />

cε1 − cε2<br />

k<br />

(12)<br />

2 <br />

∂ νt ∂ε<br />

+<br />

k ∂xj σε ∂xj<br />

(13)<br />

and uses the linear stress-strain relation:<br />

<br />

∂Ui<br />

uiuj = (2/3)kδij − νt +<br />

∂xj ∂U <br />

j<br />

∂xi with turbulent viscosity νt = cμk 2 /ε.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 15 / 19<br />

(14)<br />

◮ We thus want to choose model coefficients that satisfy equation (11), to<br />

ensure the model will return an appropriate logarithmic velocity profile<br />

when applied to a local equilibrium boundary layer.<br />

◮ The model will then return a lengthscale k 3/2 /ε that does increase<br />

linearly with wall distance in a local equilibrium boundary layer.<br />

◮ However, in more complex flows it need not always return this same<br />

variation (whereas in the simpler models considered, we imposed such a<br />

variation regardless of local flow conditions).<br />

◮ To finally determine the coefficients, cε1 is chosen from computer<br />

optimization, considering simple free flows (eg. plane jet or mixing layer).<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 14 / 19<br />

◮ The k-ε model is generally more expensive to apply than zero- or<br />

one-equation schemes.<br />

◮ On the other hand, it does not require one to prescribe lengthscales<br />

across the flow, and is thus more convenient to apply to complex flow<br />

geometries. Only appropriate boundary conditions for k and ε need to be<br />

provided at the flow domain edges.<br />

◮ Wall-jet profiles show better performance than the one-equation model<br />

results seen earlier.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 16 / 19


Other Two-Equation Models<br />

◮ Other two-equation models mostly still solve a transport equation for k,<br />

but use the second equation to solve for something other than ε.<br />

◮ For example, the k-ω model of Wilcox (1988) solves for ω (≡ ε/k):<br />

Dk<br />

Dt = P k − ωk + diffusion (15)<br />

Dω ωPk = cω1<br />

Dt k − cω2ω2 + diffusion (16)<br />

and defines the turbulent viscosity as νt = cμk/ω.<br />

◮ The model coefficients in these other schemes are usually obtained in<br />

similar ways to those already outlined for the ε equation.<br />

◮ In the near-wall, viscosity-affected, layer most two-equation models<br />

include a number of ‘damping’ terms – usually dependent on either the<br />

turbulent Reynolds number (Rt = k 2 /(εν)) or non-dimensional wall<br />

distance y + . Details of these are not considered here.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 17 / 19<br />

◮ There are a number of more advanced modelling practices.<br />

◮ These range from simple refinements to coefficients, or more complex<br />

algebraic stress-strain relationships, through to full second-moment<br />

closures where separate transport equations are solved for each of the<br />

Reynolds stress components, u iuj.<br />

◮ A number of the more advanced schemes are now available in<br />

commercial <strong>CFD</strong> packages, but details of their development is beyond<br />

this course.<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 19 / 19<br />

Summary of Two-Equation Model Performance<br />

◮ For industrial engineering simulations, two-equation models are the most<br />

widely used approach for modelling the effects of turbulence.<br />

◮ The simpler modelling schemes often require substantial ad-hoc,<br />

case-by-case input to the model (eg. prescription of lengthscales).<br />

◮ Although not considered here, even two-equation models have a number<br />

of well-known weaknesses when applied to certain important classes of<br />

flows (eg. impinging flows, curved flows, rotating flows, . . . ).<br />

x<br />

r<br />

Q<br />

<strong>Turbulence</strong> <strong>Modelling–</strong> 2 2010/11 18 / 19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!