“classical” average turbulence modelinggtryggva/cfd-course/2011-lecture-35.pdfcomputational...

9
Computational Fluid Dynamics “Classical” Turbulence Modeling Grétar Tryggvason Spring 2011 http://www.nd.edu/~gtryggva/CFD-Course/ Computational Fluid Dynamics Some communities have defined two types of multi- scale problems. Type A Problems: Dealing with Isolated Defects Type B Problems: Constitutive Modeling Based on the Microscopic Models Reference: W. E and B. Enquist, The heterogeneous multiscale methods, Comm. Math. Sci. 1 (2003), 87133. Multiscale Issues Average Velocity-B Thin film model-A gravity Buoyant bubbles in an inclined channel flow 2 Computational Fluid Dynamics Why turbulence modeling Reynolds Averaged Numerical Simulations Zero and One equation models Two equations models Model predictions Wall bounded turbulence Second order closure Direct Numerical Simulations Large-eddy simulations Summary Outline Computational Fluid Dynamics A jet in a cross flow cross section of a jet Most engineering problems involve turbulent flows. Such flows involve are highly unsteady and contain a large range of scales. However, in most cases the mean or average motion is well defined. Computational Fluid Dynamics Flow over a sphere The drag depends on the separation point Computational Fluid Dynamics A modest Reynolds number the separated boundary layer remains initially laminar (left), before becoming turbulent. If the boundary layer is tripped (right) it becomes turbulent, so that it separates farther rearward. The overall drag is thereby dramatically reduced, in a way that occurs naturally on a smooth sphere only at a Reynolds numbers ten times as great. ONERA photograph, Werle 1980. From "An Album of Fluid Motion," by Van Dyke, Parabolic Press. Instantaneous flow past a sphere at R = 15,000. Instantaneous flow past a sphere at R = 30,000 with a trip wire

Upload: phamdiep

Post on 28-Jun-2018

248 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

“Classical”!Turbulence

Modeling!

Grétar Tryggvason!Spring 2011!

http://www.nd.edu/~gtryggva/CFD-Course/!Computational Fluid Dynamics!

Some communities have defined two types of multi-scale problems.!

Type A Problems: Dealing with Isolated Defects!

Type B Problems: Constitutive Modeling Based on the Microscopic Models !

Reference: W. E and B. Enquist, The heterogeneous multiscale methods, Comm. Math. Sci. 1(2003), 87—133.!

Multiscale Issues!

Average Velocity-B!

Thin film model-A!

gravity!

Buoyant bubbles in an inclined channel flow!

2!

Computational Fluid Dynamics!

Why turbulence modeling!Reynolds Averaged Numerical Simulations!Zero and One equation models!Two equations models!Model predictions!Wall bounded turbulence!Second order closure!Direct Numerical Simulations!Large-eddy simulations!Summary!

Outline!

Computational Fluid Dynamics!

A jet in a cross flow!

cross section of a jet!

Most engineering problems involve turbulent flows. Such flows involve are highly unsteady and contain a large range of scales. However, in most cases the mean or average motion is well defined. !

Computational Fluid Dynamics!

Flow over a sphere!

The drag depends on the separation point!

Computational Fluid Dynamics!

A modest Reynolds number the separated boundary layer remains initially laminar (left), before becoming turbulent. If the boundary layer is tripped (right) it becomes turbulent, so that it separates farther rearward. The overall drag is thereby dramatically reduced, in a way that occurs naturally on a smooth sphere only at a Reynolds numbers ten times as great. ONERA photograph, Werle 1980.! From "An Album of Fluid Motion," by Van Dyke, Parabolic Press. !

Instantaneous flow past a sphere at R = 15,000.!

Instantaneous flow past a sphere at R = 30,000 with a trip wire

Page 2: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

Examples of Reynolds numbers:!

Flow around a 3 m long car at 100 km/hr:!

Flow around a 100 m long submarine at 10 km/hr:!

Re = LUv

= 3! 27.781.5 !10"5

= 5.5 !106

Kinematic viscosity !(~20 °C)!

Water ν = 10-6 m2/s!Air ν = 1.5 ✕10-5 m2/s!

1km/hr = 0.27778 m/s!

Re = LUv

= 100 ! 2.7810"6

= 2.78 !108

Water flowing though a 0.01 m diameter pipe with a velocity of 1 m/s!

Re = LUv

= 0.01!110"6

=104

Computational Fluid Dynamics!

It can be shown that for turbulent flow the ratio of the size of the smallest eddy to the length scale of the problem!

!L"O(Re#3 / 4 )

If about 10 grid points are needed for Re=10 (the driven cavity problem) !

Re ! 3d ! ! 2d!103!~ 3003 ! ~ 1002!104! ~ 20003 ! ~ 3002!105!~ 100003 ! ~ 10002!

Largest computations today use about 40003 points!

!L"O(Re#1/ 2)

In 3D! In 2D!

Computational Fluid Dynamics!

Reynolds Averaged Navier-Stokes (RANS): Only the averaged motion is computed. The effect of fluctuations is modeled!Large Eddy Simulations (LES): Large scale motion is fully resolved but small scale motion is modeled!

Direct Numerical Simulations (DNS): Every length and time scale is fully resolved!

Computational Fluid Dynamics!

Reynolds Averaged

Navier-Stokes Equations!

Computational Fluid Dynamics!

To solve for the mean motion, we derive equations for the mean motion by averaging the Navier-Stokes equations. The velocities and other quantities are decomposed into the average and the fluctuation part !

a = A + a'

< a > = A< a' > = 0< a + b > = A+ B< ca > = cA< !a > =!A

Defining an averaging procedure that satisfies the following rules:!

This will hold for spatial averaging, temporal averaging, and ensamble averaging!

Computational Fluid Dynamics!

There are several ways to define the proper averages !

For homogeneous turbulence we can use the space average !

For steady turbulence flow we can use the time average!

For the general case we use the ensemble average!

< a > = 1Ladx

0

L

!

< a > = 1T

adt0

T

!

< a > = ar (x,t)ensambles! a = A + a'

Page 3: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

!!tu + " #uu = $ 1

%"p+ &"2u

u =U + u'p = P+ p'

< a >=A< a' >= 0< ca >=cA< !a >=!A

Start with the Navier-Stokes equations!

Decompose the pressure and velocity into mean and fluctuations:!

a = A + a'

Or, in general, for any dependant variable:!

Computational Fluid Dynamics!

!!tU + " #UU = - 1$ "P + %"2U + "# < u'u'>

Applying the averaging to the Navier-Stokes equations results in:!

< u'u'>=< u'u'> < u'v'> < u'w'>< u'v'> < v 'v'> < v 'w'>

< u'w'> < v 'w'> < w'w'>

!

"

# # #

$

%

& & &

Reynold’s stress tensor!

Computational Fluid Dynamics!

Physical interpretation!

< uv >

Fast moving fluid particle!

Slow moving fluid particle!

Net momentum transfer due to velocity fluctuations!

Computational Fluid Dynamics!

Closure:!

Since we only have an equation for the mean flow, the Reynolds stresses must be related to the mean flow. !

No rigorous process exists for doing this!!

THE TURBULENCE PROBLEM!

Computational Fluid Dynamics!

Zero and One equation models!

Computational Fluid Dynamics!

Introduce the “turbulent eddy viscosity”!

!T = l02

t0

< u'u'>ij = !"T#Ui

#x j

+ #Ui

#x j

$

% & &

'

( ) )

where!

Page 4: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

Zero equation models!

!T = l02 dUdy

Prandtl’ mixing length!

l0 = !y

Smagorinsky model!

Baldvin-Lomaz model!

!T = l02 2S ijS ij( )1/ 2

!T = l02 " i" i( )1/ 2

S ij = 12

!Ui

!x j

+!U j

!xi

"

# $ $

%

& ' '

! i = "Ui

"x j

#"U j

"xi

$

% & &

'

( ) )

Computational Fluid Dynamics!

One equation models!

!T = k1/ 2t0

Where k is obtained by an equation describing its temporal-spatial evolution!

However, the problem with zero and one equation models is that t0 and l0 are not universal. Generally, it is found that a two equation model is the minimum needed for a proper description !

Computational Fluid Dynamics!

Two equation models!

Computational Fluid Dynamics!

To characterize the turbulence it seems reasonable to start with a measure of the magnitude of the velocity fluctuations. If the turbulence is isotropic, the turbulent kinetic energy can be used:!

k = 12

< u'u'> + < v 'v'> + < w'w'>( )The turbulent kinetic energy does, however, not distinguish between large and small eddies.!

Computational Fluid Dynamics!

To distinguish between large and small eddies we need to introduce a new quantity that describe!

! " # $u'i$u'i$x j$x j

Usually, the turbulent dissipation rate is used!

Smaller eddies dissipate faster!

Computational Fluid Dynamics!

!T = Cµk 2

"

!!tU + " #UU = $ 1

%"P + & + &T( )"2U

Solve for the average velocity!

Where the turbulent kinematic eddy viscosity is given by!

Page 5: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

!k!t

+U j!k!x j

= " ij!Ui

!x j

#$ + !!x j

% !k!x j

# 12ui'ui'u j' # 1

&p'u j

''

( )

*

+ ,

The exact k-equation is:!

where!

! ij = " ui'u j'

The exact epsilon-equation is considerably more complex and we will not write it down here.!

Both equations contain transport, dissipation and production terms that must be modeled!

Computational Fluid Dynamics!

!k!t

+U "#k = # "Dk#k + production $ dissipation

!"!t

+U #$" = $ #D"$" + production % dissipation

The general for for the equations for k and epsilon is:!

These terms must be modeled !Closure involves proposing a form for the missing terms and optimizing free coefficients to fit experimental data!

Computational Fluid Dynamics!

Here!

The k-epsilon model!

!T = C k 2

"

! ij =< ui'u j' >= 2

3k"ij #$T

%Ui

%x j

+%U j

%xi

&

' ( (

)

* + + and!

C1 = 0.09; C2 =1.0; C3 = 0.769; C4 =1.44; C5 =1.92

DkDt= +! " (# + C2#T )!k - $ ij

%Ui

%x j

&'

D!Dt= " # ($ + C3$T )"! + C4

!k% ij

&Ui

&x j

'C5!2

kProduction! Dissipation!

Turbulent!transport!

Computational Fluid Dynamics!

Two major numerical difficulties!

The equations may be stiff in some regions of the flow requiring very small time step. This can be overcome by an implicit scheme.!

In reality k goes to zero at the walls. In simulations this usually takes place so close to the wall that it is not resolved by the grid. To overcome this we usually use a “wall function” or a damping function!

Computational Fluid Dynamics!

Other two equation turbulence models:!!RNG k-epsilon!!Nonlinear k-epsilon!!k-enstrophy!!k-lo!!k-reciprocal time!!etc!

Computational Fluid Dynamics!

Turbulent transport of energy and species concentrations is modeled in similar ways.!

For temperature we have:!

!T!t

+ " #uT = $"2T

u = U + u'T =< T > +T'

! < T >!t

+ " #U < T >= $"2 < T > %"# <UT >

Gradient Transport Hypothesis:!

<UT >!"T# < T >

Page 6: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

Model Predictions!

Computational Fluid Dynamics!

Spreading rates:!

! ! exp ! k-e ! !Cmott!Plane jet !0.10 - 0.11 ! 0.108! !0.102!Round jet !0.085-0.095 ! 0.116! !0.095!Mixing layer !0.13 - 0.17 ! 0.152! !0.154!

Computational Fluid Dynamics!

From: C.G. Speziale: Analytical Methods for the Development of Reynolds-stress closure in Turbulence. Ann Rev. Fluid Mech. 1991. 23: 107-157!

Computational Fluid Dynamics!

From: C.G. Speziale: Analytical Methods for the Development of Reynolds-stress closure in Turbulence. Ann Rev. Fluid Mech. 1991. 23: 107-157!

Computational Fluid Dynamics!

Results!

From: C.G. Speziale: Analytical Methods for the Development of Reynolds-stress closure in Turbulence. Ann Rev. Fluid Mech. 1991. 23: 107-157!

Computational Fluid Dynamics!

Wall bounded turbulence!

Page 7: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

Wall bounded turbulence!

Fundamental assumption: determined by local variables only!

Mean flow!

Only the mean shear rate and the properties of the fluid are important!

!w = dUdy, ", #

Computational Fluid Dynamics!

Define a “shear velocity:”!

v* = !w"

!w = µ du dy, ", #

kg /ms2[ ], kg /m3[ ], m2 /s[ ]

Normalize the length and velocity near the wall!

u+ = uv*

y + = y v*

v

Called “wall variables”!

Computational Fluid Dynamics!

For parallel flow!

v* = !w

"

!w = µ du dy

u+ = uv*

y + = y v*

v

! ddy

< u'v '>= " dpdx

+ ddy

µ dudy

ρ d

dy< u 'v ' >=

ddy

µ dudy

⎛⎝⎜

⎞⎠⎟0

y

∫ dy

! < u'v '>= µ dudy

" #w

Integrate from the wall to y:!

Resulting in:!

0! Near the wall the fluid “knows nothing” about what drives it. Thus we ignore the pressure gradient!

Computational Fluid Dynamics!

Very close to the wall:!

v* = !w

"

!w = µ du dy

u+ = uv*

y + = y v*

v

< u'v '>! 0

so approximately!

Integrating!

µ dudy

= !w

u(y) = !wµy

Using the nondimensional values!

uv*

= !wµ

yv*

=" v*( )2

µyv*

= v*y#

or:!

u+ = y + Very close to the wall!

! < u'v '>= µ dudy

" #w

Computational Fluid Dynamics!

Further away from the wall:!

v* = !w

"

!w = µ du dy

u+ = uv*

y + = y v*

v

< u'v '>=!Tdudy

so approximately!

Taking:!

Giving:!

µ dudy

! 0

! < u'v '>= "#w

!y dudy

= "#w$

l0 = !y

yields!

u'! y dudy

Or simply assume:!

< u'v '>= lo2 dudy

dudy

= !y dudy

"

# $

%

& ' 2

!T = lo2 dudywhere! and!

Computational Fluid Dynamics!

v* = !w

"

!w = µ du dy

u+ = uv*

y + = y v*

v

Using the nondimensional values!

!y dudy

= "#w$

!y + du+

dy + = "#wv

*

$=1

integrating!

du+ = 1!" dy +

y +"

u+ = 1!ln y + + C

We have!

giving!

Page 8: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

Thus, the velocity near the wall is!

Velocity versus distance from wall!

u+

y +

u+ = y +

u+ = 1!ln y + + C

10!

! = 0.4C = 5.5

v* = !w

"

!w = µ du dy

u+ = uv*

y + = y v*

v

Buffer layer!

Outer layer!

Viscous sub-layer!

Computational Fluid Dynamics!

For a “practical” engineering problem!

L = 1m; U = 1m/s; ν = 10-6 (water)!

The Reynolds number is therefore:!

For a flat plate, the average drag coefficient is!

Re = LUv

=106

CD = FD12 !U

2LW

CD = 0.592Re!1/ 5 where!

Computational Fluid Dynamics!

The average shear stress is therefore!

!w = FDLW

= CD12 "U

2 = 3.74

And we find!

v* = 0.06The average thickness of the viscous sub-layer is 10 in units of y+:!

CD = 0.0037

Or!

Computational Fluid Dynamics!

y = 10!! *

= 10 "10#6

0.06=1.667 "10#4m = 0.1667 mm

Thickness of the viscous sub-layer!

Find the thickness of the boundary layer!

!L

= 0.37Re"1/ 5

!L

= 0.0233m = 23.3mm

To resolve the viscous sublayer at the same time as the turbulent boundary layer would require a large number of grid points!

Computational Fluid Dynamics!

To deal with this problem it is common to use “wall functions” where the mean velocity is matched with an analytical approximation to the viscosus sublayer.!

For a reference, see: Patel, Rodi, and Scheuerer, “Turbulence Models for Near-Wall and Low Reynolds Number Flows: A Review. AIAA Journal, 23 (1985), 1308-1319!

Computational Fluid Dynamics!

Second order closure!

Page 9: “Classical” Average Turbulence Modelinggtryggva/CFD-Course/2011-Lecture-35.pdfComputational Fluid Dynamics! “Classical”! Turbulence Modeling! Grétar Tryggvason! Spring 2011!

Computational Fluid Dynamics!

The k-epsilon and other two equation models have several serious limitations, including the inability to predict anisotropic Reynolds stress tensors, relaxation effects, and nonlocal effects due to turbulent diffusion.!

For these problems it is necessary to model the evolution of the full Reynolds stress tensor!

Computational Fluid Dynamics!

Derive equations for the Reynolds stresses:!

∂ui

∂t+∇uiu j = −

1ρ∇p + ν∇2ui

The Navier-Stokes equations in component form:!

ui!ui!t

+ "uiu j = - 1# "p+ $"2ui% & '

( ) *

Multiply the equation by the velocity!

and averaging leds to equations for !

!!t

uiu j

Computational Fluid Dynamics!

The new equations contain terms like!

which are not known. These terms are therefore modeled!

uiuiu j

The Reynolds stress model introduces 6 new equations (instead of 2 for the k-e model. Although the models have considerably more physics build in and allow, for example, anisotrophy in the Reynolds stress tensor, these model have yet to be optimized to the point that they consistently give superior results.!

For practical problems, the k-e model or more recent improvements such as RNG are therefore most commonly used!!

Computational Fluid Dynamics!

Turbulence models are used to allow us to simulate only the averaged motion, not the unsteady small scale motion.!Turbulence modeling rest on the assumption that the small scale motion is “universal” and can be described in terms of the large scale motion.!

Although considerable progress has been made, much is still not known and results from calculations using such models have to be interpreted by care!!

Computational Fluid Dynamics!

For more information:!

D. C. Wilcox, Turbulence Modeling for CFD (2nd ed. 1998; 3rd ed. 2006). !

The author is one of the inventors of the k-ω model and the book promotes it use. The discussion is, however, general and very accessible, as well as focused on the use of turbulence modeling for practical applications in CFD!