• No results found

flops/sec & bytes

N/A
N/A
Protected

Academic year: 2021

Share "flops/sec & bytes"

Copied!
22
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

UNRAVELING TURBULENCE

A.E.P. Veldman and R.W.C.P. Verstappen

University of Groningen

(2)

Panta Rhei

Heraclitus (535-475 BC)

(3)

Navier-Stokes equations

Claude Navier (1822) George Stokes (1845)

• Conservation of momentum (incompressible)

∂u

∂t

| {z }

evolution

+ (u · grad)u

| {z }

convection non-linear

creator of turbulence

= −1

ρ grad p

| {z }

pressure

+ div(ν grad u)

| {z }

diffusion ν very small

• ratio convection

diffusion ∼ U L

ν = Re(ynolds number)

Osborne Reynolds (1894)

(4)

Generation of turbulence

∂u

∂t + u∂u

∂x + · · · = · · · + ν2u

∂x2 u ∼ sin ωx ⇒ u∂u

∂x ∼ ω sin ωx cos ωx

∂u

∂t ∼ −12ω sin 2ωx − ν ω2 sin ωx

Energy cascade:

Frequency doubling until diffusion comes into action.

Big whorls have little whorls, Which feed on their velocity,

And little whorls have lesser whorls, And so on to viscosity.

(L.F. Richardson, 1881–1953)

(5)

Scaling and complexity

Kolmogorov (1941) scaling

dissipation of energy ǫ = de/dt [L2T−3] kinematic viscosity ν [L2T−1]

ℓ ∼ (ν3/ǫ)1/4; τ ∼ (ν/ǫ)1/2

size small eddies ℓ ∼ Re−3/4 × size large eddies L

time scale small eddies τ ∼ Re−1/2 × time scale large eddies T

• Complexity of flow

(Re3/4)3 × Re1/2 = Re11/4

• Re 10× larger ⇒ complexity 1000× larger!

(6)

Leonardo’s turbulence

Eddies in water (≈ 1507)

(7)

Laminar vs. turbulent

laminar flow (forced) turbulent flow Turbulent flow is better able to follow curved walls.

Reduces size of wake, and herewith drag!

(8)

Exploiting turbulence

Drag reduction by delaying separation

golf ball

speed skater

head

& legs torso

(9)

Modelling turbulence

RaNS Reynolds-averaged Navier-Stokes:

model all turbulence (steady)

LES Large-eddy simulation (unsteady):

resolve large eddies;

model smaller eddies

DNS direct numerical simulation:

resolve all flow structures

mean

flow behind a square cylinder

snapshot

(10)

Modelling turbulence (2)

Prediction Spalart (2000):

airplane Re = 107−8

model RaNS LES DNS

grid points 107 1011.5 1016

memory (bytes) 1010 1014.5 1018.5

time steps 103 106.7 107.7

flops 1014 1022 1027

speed (flop/s) 109 1017 1022

year 1990 2045 2080

But: Algorithmic improvements bring future sooner!

(11)

Square cylinder at Re=22.000

Testcase RaNS and LES - 1997

(12)

Attempts by RaNS and LES

Models were tuned to known answer

DNS is pure Navier–Stokes – and similar grid ...

(13)

Challenges

• Ten years ago Re = 104 was not really possible.

So how about the following applications?

medium speed Reynolds cyclist (tourist) air 20 km/h 1 · 105 golfball (pro) air 250 km/h 2 · 105 speed skater (pro) air 45 km/h 5 · 105 swimmer (pro) water 5 km/h 3 · 106 car (Dutch) air 80 km/h 5 · 106

shark water 20 km/h 2 · 107

airplane air 900 km/h 3 · 107

ship water 20 km/h upto 109

Note: air is 15× more viscous than water

• A ship (+screw) is even 1015 more expensive!

(14)

Boosting performance

• Computer designers

computer performance: 30× per decade

• Numerical mathematicians

algorithm performance: 30× per decade

⇒ Together: factor 1000 per decade!

i.e. factor 10 in Reynolds number

NB: Similar progress is found in other computational disciplines.

(15)

Numerical progress

Discretization of dφ/dx

000000000000000 000000000000000 111111111111111 111111111111111 000000000000000

000000000000000 111111111111111 111111111111111

Lagrangian interpolation Symmetry preservation

h h

- - +

-

h

x- x x

φ

φ

-

0

+

-

0

φ

+

0 +

h

φ+ φ

φ

x x

x 0 +

dx = h2φ+ + (h2+ − h20 − h2+φ h+h(h+ + h)

Coefficient of φ0 can make sys- tem singular!

dx = φ+ − φ h+ + h

Skew-symmetric expression:

– system never singular!

– no artifical diffusion!

(16)

Balance at smallest scales

• Turbulence is subtle balance between production by (non-linear) convection and destruction by diffusion

Numerical diffusion must not interfere with this balance !!

• Skew-symmetric discretization has no numerical diffusion

• Similar story for skew-symmetric turbulence modelling

(17)

Evolution of energy

h

dt + Lhφh = 0

• ‘Energy’ ||φh||2h = φhh evolves in time as d

dt||φh||2h = −(Lhφh)h − φhHLhφh

= −φh(HLh + (HLh)h (H represents local grid size)

⇒ – energy is conserved iff HLh is skew-symmetric – energy dissipates iff symmetric part of H Lh is

positive definite

(18)

Channel turbulence (1)

1 2 5 10 20 50 100 200

0 4 8 12 16 20

u+ = y +

u+ = 2.5 ln y + + 5 u+

y+

DNS 4th−order 64x64x32 Kim et al (1987)

Kuroda et al (1995) Gilbert & Kleiser (1991)

Calculated mean flow

(19)

Channel turbulence (2)

Grid coarsening: 128 → 16 across channel

Turbulent statistics uu

0 1 2 3

0 10 20 30 40

DNS 4th-order 64x96x32 DNS 4th-order 64x64x32 DNS 4th-order 64x32x32 DNS 4th-order 64x16x32 DNS 2nd-order 64x64x32

Experiment Kreplin & Eckelman (1979) DNS Kim et al. (1987)

u

y rms

+

Kim et al. (1987) 128 points; now reduced to 32 or even 16!

Algorithmic gain 1000, i.e. 20 years!

(20)

Current ‘price’ for DNS

golf ball car ship skater airplane

Reynolds 105 107 109

grid points 1010 1014.5 1019 memory (bytes) 1013 1017.5 1022

time steps 105 106 107

flops 1018 1023.5 1029

performance (flop/s) 1012 1017.5 1023

2-week run

Enough room left for algorithmic and modelling improvement ... ;-)

(21)

Price tag for DNS

2-wk run without further numerics progress

104 105 106 107 108 109

Giga Tera Peta

Exa Zeta

Reynolds number

flops/sec & bytes

golf ball

swimmer car

airplane

ship

2007

speed memory

(22)

Epilogue

Sir Horace Lamb in 1932 (then aged 83) stated:

I am an old man now, and when I die and go to heaven there are two matters on which I hope for enlightenment. One is quantum- electrodynamics, and the other is the turbulent motion of fluids. And about the former I am rather optimistic.

Computer simulation may shed some light on the latter.

Referenties

GERELATEERDE DOCUMENTEN

In the case of vapor bubbles present in a liquid near its boiling point, thermal coupling between the liquid and vapor can moderate this additional motion by reducing

› Revenue 2004: 838 million dollars (Statista, 2018) › Revenue 2016: 7880 million dollars (Statista, 2018) › Growth is dependent on innovation (OECD, 2007) › Theoretical

pH, Total Alcohol and Higher Alcohol content of the Wines made from Untr.eated, Ion Exchange Treated and Tartaric Acid Addition Riesling and Stein musts. Average

Het uitzicht van een aantal straten werd ingrijpend gewijzigd; ze werden tevens meteen verbreed (Meiaan, Lange Heergracht); nieuwe bouwgronden kwamen vrij (o.m. bij de Brouwe-

The authors are greatly indebted to Professor Dr. H.Groendijk for stimulating discussions on the design of the experiment and for valuable comments on the

Tijdens het onderzoek zijn in totaal 27 werkputten aangelegd waarbij het onderzoeksvlak aangelegd werd op het hoogst leesbare niveau waarop sporen kunnen

Abstract: In this paper we present techniques to solve robust optimal control problems for nonlinear dynamic systems in a conservative approximation.. Here, we assume that the

The HSRC and Whiteford estimated that approximately 57% of individuals in South Africa were living below the poverty income line in 2001, unchanged from 1996.. Lim-