skew-symmetric matrices and accurate simulations of compressible turbulent flow

19
Skew-symmetric matrices and accurate simulations of compressible turbulent flow Wybe Rozema Johan Kok Roel Verstappen Arthur Veldman 1

Upload: sivan

Post on 24-Feb-2016

119 views

Category:

Documents


0 download

DESCRIPTION

Skew-symmetric matrices and accurate simulations of compressible turbulent flow. Wybe Rozema Johan Kok Roel Verstappen Arthur Veldman. A simple discretization. The d erivative is equal to the slope of the line. The problem of accuracy. exact. 2 nd order. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Skew-symmetric matrices and accurate simulations of compressible turbulent

flow

Wybe RozemaJohan Kok

Roel VerstappenArthur Veldman

1

Page 2: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

A simple discretization

( πœ• π‘“πœ• π‘₯ )𝑖=𝑓 𝑖+1βˆ’ 𝑓 π‘–βˆ’ 12h

+𝑂(h2)

2

The derivative is equal to the slope of the line

𝑓 π‘–βˆ’ 1

𝑖

𝑓 𝑖+1

h

𝑖+1π‘–βˆ’1

Page 3: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

The problem of accuracy

3

How to prevent small errors from summing to complete nonsense?

𝑖 𝑖+1π‘–βˆ’1

exact

2 nd order

Page 4: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Compressible flow

4

Completely different things happen in air

shock wave

acoustics

turbulence

Page 5: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

It’s about discrete conservation

Skew-symmetric matrices

Simulations ofturbulent flow

5

¿𝐢𝑇=βˆ’πΆ &

Page 6: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Governing equations

6

πœ•π‘‘ πœŒπ’–+𝛻 βˆ™ (πœŒπ’–βŠ—π’–)+𝛻𝑝=𝛻 βˆ™πˆπœ•π‘‘ 𝜌 𝐸+𝛻 βˆ™ (πœŒπ’–πΈ )+𝛻 βˆ™ (𝑝𝒖)=𝛻 βˆ™ (𝜎 βˆ™π’– )βˆ’π›» βˆ™π’’

πœ•π‘‘ 𝜌+𝛻 βˆ™ (πœŒπ’– )=0

𝒖

𝑭 𝑝convective transport

pressure forces

viscous friction

𝜎 𝑦π‘₯𝒒

heat diffusion

Convective transport conserves a lot, but this does not end up in standard finite-volume method

𝜌 𝐸= 12 πœŒπ’– βˆ™π’–+πœŒπ‘’

Page 7: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Conservation and inner products

Inner product

Physical quantities

7

Square root variables

Why does convective transport conserve so many inner products?

√𝜌 βˆšπœŒπ’–βˆš2 βˆšπœŒπ‘’ ⟨ √𝜌 ,√𝜌 ⟩

⟨√𝜌 , βˆšπœŒπ‘’βˆš2 ⟩

⟨ βˆšπœŒπ‘’ ,βˆšπœŒπ‘’ ⟩

⟨ βˆšπœŒπ‘’βˆš2

, βˆšπœŒπ‘’βˆš2 ⟩

kinetic energy

density internal energy

mass internal energy

momentum kinetic energy

Page 8: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Convective skew-symmetry

Skew-symmetry

Inner product evolution

8

Convective terms

Convective transport conserves many physical quantities because is skew-symmetric

βŸ¨π‘ (𝒖 )πœ‘ ,πœ— ⟩=βˆ’ βŸ¨πœ‘ ,𝑐 (𝒖 )πœ— ⟩

πœ•π‘‘πœ‘+𝑐 (𝒖 )πœ‘=…𝑐 (𝒖 )πœ‘=

12 𝛻 βˆ™ (π’–πœ‘ )+ 12𝒖 βˆ™π›»πœ‘

+... =

0 +...

βˆšπœŒβˆšπœŒπ’–βˆš2

βˆšπœŒπ‘’

Page 9: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Conservative discretizationDiscrete skew-symmetry

9

Computational grid

The discrete convective transport should correspond to a skew-symmetric operator

βŸ¨πœ‘ ,πœ— ⟩=βˆ‘π‘˜Ξ©π‘˜πœ‘π‘˜πœ—π‘˜

(𝑐 (𝒖)πœ‘ )π‘˜=1Ξ©π‘˜

βˆ‘π‘“π‘¨π‘“ βˆ™π’– 𝑓

πœ‘π‘›π‘(𝑓 )

2

Discrete inner product

Ξ©π‘˜π‘¨ 𝑓𝑓

βˆšπœŒβˆšπœŒπ’–βˆš2

βˆšπœŒπ‘’

𝐢=12 Ω

βˆ’1 ΒΏ

Page 10: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Matrix notationDiscrete conservation

10

Discrete inner product

The matrix should be skew-symmetric

βˆšπœŒβˆšπœŒπ’–βˆš2

βˆšπœŒπ‘’Matrix equation

Page 11: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Is it more than explanation?

11

βˆšπœŒβˆšπœŒπ’–βˆš2

βˆšπœŒπ‘’

A conservative discretization can be rewritten to finite-volume form

Energy-conserving time integration requires square-

root variables

Square-root variables live in L2

Page 12: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Application in practice

12

NLR ensolv multi-block structured

curvilinear grid collocated 4th-order

skew-symmetric spatial discretization

explicit 4-stage RK time stepping

Skew-symmetry gives control of numerical dissipation

𝝃𝒙

𝒙 (𝝃)

βˆ† ΞΎ

Page 13: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Delta wing simulations

13

Preliminary simulations of the flow over a simplified triangular wing

test section

coarse grid and artificial dissipation outside test section

Ξ± = 25Β°M = 0.3 = 75Β°

Re = 5Β·104

27M cells Ξ±

transition

Page 14: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

It’s all about the grid

14

Making a grid is going from continuous to discrete

𝝃𝒙

𝒙 (𝝃)

conical block structure

fine grid near delta

wing

Page 15: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

The aerodynamics

15

Ξ±

πœ”π‘₯

𝑝

The flow above the wing rolls up into a vortex core

bl sucked into the vortex core

suction peak in vortex core

Page 16: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Flexibility on coarser grids

16

Artificial or model dissipation is not necessary for stability

skew-symmetricno artificial dissipation

sixth-order artificial dissipation

LES model dissipation (Vreman, 2004)

Page 17: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

17

preliminary finalM 0.3 0.3 75° 85°α 25° 12.5°Rec 5 x 104 1.5 x 105

# cells 2.7 x 107 1.4 x 108

CHs 5 x 105 3.7 x 106

23 weeks on 128 cores

preliminary

final (isotropic)

Ξ”x = const.Ξ”y = k x

Ξ”x = Ξ”y

x

y

Ξ”xΞ”y

The final simulations

Page 18: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

The glass ceiling

18

what to store? post-processing

Page 19: Skew-symmetric matrices and accurate simulations of compressible turbulent flow

Take-home messages The conservation

properties of convective transport can be related to a skew-symmetry

We are pushing the envelope with accurate delta wing simulations

19

βˆšπœŒβˆšπœŒπ’–βˆš2

βˆšπœŒπ‘’

[email protected]@rug.nl

𝐢𝑇=βˆ’πΆ