skew-symmetric matrices and accurate simulations of compressible turbulent flow wybe rozema johan...

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

Upload: bryce-barrett

Post on 17-Dec-2015

221 views

Category:

Documents


2 download

TRANSCRIPT

Skew-symmetric matrices and accurate simulations of compressible turbulent

flow

Wybe RozemaJohan Kok

Roel VerstappenArthur Veldman

1

A simple discretization

(๐œ• ๐‘“๐œ• ๐‘ฅ )๐‘–

=๐‘“ ๐‘–+1โˆ’ ๐‘“ ๐‘–โˆ’ 12h

+๐‘‚(h2)

2

The derivative is equal to the slope of the line

๐‘“ ๐‘–โˆ’ 1

๐‘–

๐‘“ ๐‘–+1

h

๐‘–+1๐‘–โˆ’1

The problem of accuracy

3

How to prevent small errors from summing to complete nonsense?

๐‘– ๐‘–+1๐‘–โˆ’1

exact

2 nd order

Compressible flow

4

Completely different things happen in air

shock wave

acoustics

turbulence

Itโ€™s about discrete conservation

Skew-symmetric matrices

Simulations ofturbulent flow

5

ยฟ๐ถ

๐‘‡=โˆ’๐ถ&

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 ๐œŒ๐’– โˆ™๐’–+๐œŒ๐‘’

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

Convective skew-symmetry

Skew-symmetry

Inner product evolution

8

Convective terms

Convective transport conserves many physical quantities because is skew-symmetric

โŸจ๐‘ (๐’– )๐œ‘ ,๐œ— โŸฉ=โˆ’ โŸจ๐œ‘ ,๐‘ (๐’– )๐œ— โŸฉ

๐œ•๐‘ก๐œ‘+๐‘ (๐’– )๐œ‘=โ€ฆ๐‘ (๐’– )๐œ‘=

12๐›ป โˆ™ (๐’–๐œ‘ )+ 1

2๐’– โˆ™๐›ป๐œ‘

+... =

0 +...

โˆš๐œŒโˆš๐œŒ๐’–โˆš2

โˆš๐œŒ๐‘’

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 ยฟ

Matrix notationDiscrete conservation

10

Discrete inner product

The matrix should be skew-symmetric

โˆš๐œŒโˆš๐œŒ๐’–โˆš2

โˆš๐œŒ๐‘’Matrix equation

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

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

๐ƒ

๐’™

๐’™ (๐ƒ)

โˆ† ฮพ

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

Itโ€™s all about the grid

14

Making a grid is going from continuous to discrete

๐ƒ๐’™

๐’™ (๐ƒ)

conical block structure

fine grid near delta

wing

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

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)

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

The glass ceiling

18

what to store? post-processing

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

๐ถ๐‘‡ =โˆ’๐ถ