ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range...

53
ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop, Sopot, Poland 2010 ls Wedi , Pierre Benard, Karim Yessad, Sylvie Malard ts Hamrud and George Mozdzynski ny thanks to Agathe Untch and Fernando II

Transcript of ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range...

Page 1: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 1

Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ?

EULAG workshop, Sopot, Poland 2010

Nils Wedi, Pierre Benard, Karim Yessad, Sylvie Malardel Mats Hamrud and George Mozdzynski

Many thanks to Agathe Untch and Fernando II

Page 2: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 2

Outline

Overview of the current status of non-hydrostatic modelling at ECMWF

Identify main areas of concern and their suggested resolve

The spectral transform method

Compressible vs. unified hydrostatic-anelastic equations

Conclusions

Page 3: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 3

Introduction – A historyResolution increases of the deterministic 10-day medium-range

Integrated Forecast System (IFS) over ~25 years at ECMWF:

1987: T 106 (~125km)

1991: T 213 (~63km)

1998: TL319 (~63km)

2000: TL511 (~39km)

2006: TL799 (~25km)

2010: TL1279 (~16km)

2015?: TL2047 (~10km)

2020-???: (~1-10km) Non-hydrostatic, cloud-permitting, substan-tially

different cloud-microphysics and turbulence parametrization, substantially

different dynamics-physics interaction ?

Page 4: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 4

Skewness and (excess) Kurtosis

Predicted from linear stochastic models forced with non-Gaussian noise (Sardeshmukh and Surda, 2009)

EULAG

IFS

2( )x x

3

32

( )x xs

4

2

( )3

x xk

Variance:

Skewness:

(excess) Kurtosis:

Page 5: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 5

Higher resolution influence (250hPa vorticity)

Extreme eventsassociated with vorticity filaments

2( )x x

3

32

( )x xs

4

2

( )3

x xk

Variance:

Skewness:

Kurtosis: 125 km

1 km12.5 km

Predicted from linear stochastic models forced with non-Gaussian noise (Sardeshmukh and Surda, 2009)

Page 6: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 6

Cyclonic vorticity (extreme events)

For example vorticity filaments are associated with high skewness and high (excess) kurtosis !

Page 7: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 7

Ultra-high resolution global IFS simulations

TL0799 (~ 25km) >> 843,490 points per field/level

TL1279 (~ 16km) >> 2,140,702 points per field/level

TL2047 (~ 10km) >> 5,447,118 points per field/level

TL3999 (~ 5km) >> 20,696,844 points per field/level (world

record for spectral model ?!)

Page 8: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 8

Orography – T1279Max global altitude = 6503m

Alps

Page 9: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 9

Orography - T3999

Alps

Max global altitude = 7185m

Page 10: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 10

The Gaussian grid

Full grid Reduced grid

Reduction in the number of Fourier points at high latitudes is possible because the associated Legendre functions are very small near the poles for large m.

About 30% reduction in number of points

Page 11: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 11

Preparing for the future: The nonhydrostatic IFS

Developed by Météo-France and its ALADIN partners Bubnová et al., (1995); ALADIN (1997); Bénard et al. (2004,2005,2010)

Made available in IFS/Arpège by Météo-France (Yessad, 2008)

Testing of NH-IFS described in Techmemo TM594 (Wedi et al. 2009)

Page 12: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 12

NH-IFS

EULAG

Quasi two-dimensional orographic flow with linear vertical shear

H-IFS

The figures illustrate the correct horizontal (NH) and the (incorrect) vertical (H) propagation of gravity waves in this case (Keller, 1994). Shown is vertical velocity.

(Wedi and Smolarkiewicz, 2009)

Page 13: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 13

25.0m/s

60°N 60°N

70°N70°N

0° 20°E

20°E

Tuesday 17 March 1998 12UTC ECMWF Forecast t+24 VT: Wednesday 18 March 1998 12UTC Surface: **GeopotentialTuesday 17 March 1998 12UTC ECMWF Forecast t+24 VT: Wednesday 18 March 1998 12UTC Model Level 60 U velocity/V velocity

100

250

500

750

Page 14: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 14

Orography – T1279

Alps

Page 15: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 15

Orography T3999

Page 16: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 16

Cloud cover 24h forecast T3999 (~5km)

Era-Interim shows a wind shear with height in the troposphere over the region!

Page 17: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 17

T1279 Precipitation

Page 18: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 18

T3999 precipitation

Page 19: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 19

POW(KE,-5/3)POW(KE,-3)

Title 3Title 3KE Lev 18 H+6 f9yi

-6

-5

-4

-3

-2

-1

0

1

2

3

4

5

6

horizo

ntal

kin

etic

ene

rgy

log(

E)

0 0.5 1 1.5 2 2.5 3 3.5spherical wavenumber log(n)

MAGICS 6.12 cormac - naw Tue Dec 22 14:42:07 2009

Kinetic Energy Spectra (10hPa)T3999 – T1279H IFS

TL3999

TL1279

Page 20: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 20

POW(KE,-5/3)POW(KE,-3)

fai2 T1279 fai2 T1279 f9yi T3999

-6

-5

-4

-3

-2

-1

0

1

2

3

4

5

6

horizo

ntal

kin

etic

ene

rgy

log(

E)

0 0.5 1 1.5 2 2.5 3 3.5spherical wavenumber log(n)

MAGICS 6.12 cormac - naw Tue Dec 22 14:42:30 2009

Kinetic Energy Spectra (500hPa)T3999 – T1279H IFS

TL3999

TL1279

Page 21: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 21

POW(KE,-5/3)POW(KE,-3)

Title 3Title 3Title 3

-6

-5

-4

-3

-2

-1

0

1

2

3

4

5

6

horizo

ntal

kin

etic

ene

rgy

log(

E)

0 0.5 1 1.5 2 2.5 3 3.5spherical wavenumber log(n)

MAGICS 6.12 cormac - naw Fri Jan 15 08:52:27 2010

Kinetic Energy Spectra (500hPa)T3999 NH vs. H IFS

H TL3999

NH TL3999

Note that the difference arisesmost likely from the increased horizontal diffusion necessary for stability in the NH-IFS simulation.

Page 22: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 22

Computational Cost at TL2047

0 1000 2000 3000 4000

GP_DYN

SP_DYN

TRANS

Physics

other H - IFS NH - IFS

Total cost increase NH – H 106 %

Page 23: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 23

0 1000 2000 3000 4000

GP_DYN

SP_DYN

TRANS

Physics

other H - IFS NH - IFS

Computational Cost at TL3999

Total cost increase for 24h forecast: H 50min vs. NH 150min

Page 24: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 24

H TL3999NH TL3999

Computational Cost at TL3999hydrostatic vs. non-hydrostatic IFS

Page 25: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 25

The spectral transform method

Page 26: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 26

Schematic description of the spectral transform method in the ECMWF IFS model

Grid-point space -semi-Lagrangian advection -physical parametrizations -products of terms

Fourier space

Spectral space -horizontal gradients -semi-implicit calculations -horizontal diffusion

FFT

LT

Inverse FFT

Inverse LT

Fourier space

FFT: Fast Fourier Transform, LT: Legendre Transform

No grid-staggering of prognostic variables

Page 27: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 27

Horizontal discretisation of variable X (e.g. temperature)

( , , , ) ( , ) ( , )N N

m mn n

m N n m

X t X t Y

1

1

2

0

)(),,,(4

1),(

ddePtXtX imm

nmn

FFT (fast Fourier transform)usingNF 2N+1points (linear grid)(3N+1 if quadratic grid)“fast” algorithm available …

Legendre transformby Gaussian quadratureusing NL (2N+1)/2“Gaussian” latitudes (linear grid)((3N+1)/2 if quadratic grid)“fast” algorithm desirable …

Triangular truncation(isotropic)

Spherical harmonics

associated Legendre polynomials

Fourier functions

Triangular truncation:

m

nN

m = -N m = N

Page 28: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 28

Computation of the associated Legendre polynomialsIncrease of error due to recurrence formulae (Belousov,

1962)

Recent changes to transform package went into cycle 35r3 that allow the computation of Legendre functions and Gaussian latitudes in double precision following (Schwarztrauber, 2002) and increased accuracy 10-13 instead of 10-12.

Note: the increased accuracy leads in the “Courtier and Naughton (1994) procedure for the reduced Gaussian grid” to slightly more points near the poles for all resolutions.

Note: At resolutions > T3999 above procedure needs review!

Page 29: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 29

Spectral transform method

FFT can be computed as C*N*log(N) where C is a small positive number and N is the cut-off wave number in the triangular truncation.

Ordinary Legendre transform is O(N2) but can be combined with the fields/levels such that the arising matrix-matrix multiplies make use of the highly optimized BLAS routine DGEMM.

But overall cost is O(N3) for both memory and CPU time requirements.

Desire to use a fast Legendre transform where the cost is proportional to C*N*log(N) with C << N

and thus overall cost N2*log(N)

Page 30: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 30

Fast Legendre transformThe algorithm proposed in (Tygert, 2008) suitably fits into the

IFS transform library by simply replacing the single DGEMM call with 2 new steps plus more expensive pre-computations.

(1) Instead of the recursive Cuppen divide-and-conquer algorithm (Tygert, 2008) we use the so called butterfly algorithm (Tygert, 2010) based on a matrix compression technique via rank reduction with a specified accuracy to accelerate the arising matrix-vector multiplies (sub-problems still use dgemm).

(2) The arising interpolation from one set of roots of the associated Legendre polynomials to another can be accelerated by using a FMM (fast multipole method).

Page 31: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 31

Page 32: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 32

The IFS NH equations

Page 33: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 33

Vertical coordinate

with

coordinate transformation coefficient

hybrid vertical coordinate

Simmons and Burridge (1981)

Prognostic surface pressure tendency:

Denotes hydrostatic pressure in the context of a shallow, vertically unbounded planetary atmosphere.

Page 34: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 34

Two new prognostic variables in the nonhydrostatic formulation

‘Nonhydrostaticpressure departure’

‘vertical divergence’

Three-dimensional divergence writes

With residual residual

Define also:

Page 35: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 35

NH-IFS prognostic equations

‘Physics’

Page 36: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 36

Diagnostic relations

With

Page 37: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 37

Auxiliary diagnostic relations

Page 38: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 38

Numerical solution

Advection via a two-time-level semi-Lagrangian numerical technique as before.

Semi-implicit procedure with two reference states with respect to gravity and acoustic waves, respectively.

The resulting Helmholtz equation is more complicated than in the hydrostatic case but can still be solved (subject to some constraints on the vertical discretization) with a direct spectral method as before. (Benard et al 2004,2005,2010)

Page 39: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 39

Towards a unified hydrostatic-anelastic systemScientifically, the benefit of having a prognostic equation

for non-hydrostatic pressure departure is unclear.

The coupling to the physics is ambiguous.

For stability reasons, the NH system requires at least one iteration, which essentially doubles the number of spectral transforms.

Given the cost of the spectral transforms, any reduction in the number of prognostic variables will save costs.

Page 40: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 40

Unapproximated Euler equations

Page 41: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 41

Unified system(Arakawa and Konor, 2009)

presented here in the context of IFS

qx = (p-π)/π

Page 42: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 42

Unified system – the non-linear equations

Page 43: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 43

Unified system – the non-linear equations

Page 44: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 44

Unified system – the linear system

Describes the small deviation from a hydrostatically balanced, isothermal, and resting reference state.

Page 45: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 45

Unified system – the linear system

The structure equation is identical to the Lipps and Hemler system, or in other words, small perturbations from a hydrostatically balanced reference state show the same behaviour in EULAG and the unified system ! (in the absence of Coriolis at least.)

At large scales the unified system collapses to the existing hydrostatic system.

Page 46: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 46

Semi-implicit schemes

non-linear term, treated explicit

linearised term, treated implicit

Page 47: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 47

SLSI solution procedure

Page 48: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 48

Summary and outlook“Pushing the boundaries” with first TL3999 simulations.

Nonhydrostatic IFS: Computational cost (almost 3 x at TL3999) is a serious issue ! Even with the hydrostatic IFS at TL3999 the

spectral computations are about 50% of the total computing time.

Fast Legendre Transform (Tygert, 2008,2010) shows some promise but to be evaluated further.

Unified IFS hydrostatic-anelastic equations (Arakawa and Konor, 2008) (at least in the absence of Coriolis) have the same linear structure equation, i.e. show the same physical behaviour with respect to small perturbations as the Lipps/Hemler system in EULAG, while converging to the existing hydrostatic framework at hydrostatic scales !

Possibilities in the framework of SLSI need to be explored !

Page 49: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 49

Additional slides

Page 50: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 50

T1279 Skandinavia 24 h total cloud cover

H

Page 51: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 51

T3999 Skandinavia 24 h total cloud cover

H

Page 52: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 52

T3999 Skandinavia 24 h total cloud cover

NH

Page 53: ECMWF Potsdam 2010 Slide 1 Non-hydrostatic model formulations for ultra-high resolution medium-range forecasting: compressible or anelastic ? EULAG workshop,

ECMWFPotsdam 2010 Slide 53

Unified system – linear system