ECMWF Governing Equations 3 Slide 1 Numerical methods IV (time stepping) by Nils Wedi (room 007; ext. 2657) In part based on previous material by Mariano.

Slides:



Advertisements
Similar presentations
Stable Fluids A paper by Jos Stam.
Advertisements

TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advanced Piloting Cruise Plot.
Numeric Integration Methods Jim Van Verth Red Storm Entertainment
SPECIAL PURPOSE ELEMENTS
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Two-step linear equations Variables.
Sigal Gottlieb, UMass Dartmouth: SAMSI workshop November 15, 2007 STRONG STABILITY PRESERVING RUNGE-KUTTA & MULTI-STEP TIME DISCRETIZATIONS Sigal Gottlieb,
2. The WAM Model: Solves energy balance equation, including Snonlin
An Introduction to Numerical Methods
ECMWF Governing Equations 2 Slide 1 Governing Equations II: classical approximations and other systems of equations Thanks to Clive Temperton, Mike Cullen.
by Sylvie Malardel (room 10a; ext. 2414)
The Wave Model ECMWF, Reading, UK.
Governing Equations III
Numerics of physical parametrizations
Numerical methods III (Advection: the semi-Lagrangian technique)
Governing Equations IV
ECMWF Training Course Peter Bechtold and Christian Jakob
Parameterization of orographic related momentum
Slide 1 The Wave Model ECMWF, Reading, UK. Slide 2The Wave Model (ECWAM) Resources: Lecture notes available at:
1 Numerical Weather Prediction Parameterization of diabatic processes Convection III The ECMWF convection scheme Christian Jakob and Peter Bechtold.
The equations of motion and their numerical solutions I by Nils Wedi (2006) contributions by Mike Cullen and Piotr Smolarkiewicz.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
ECMWF flow dependent workshop, June Slide 1 of 14. A regime-dependent balanced control variable based on potential vorticity Ross Bannister, Data.
Page 1 of 26 A PV control variable Ross Bannister* Mike Cullen *Data Assimilation Research Centre, Univ. Reading, UK Met Office, Exeter, UK.
EGR 334 Thermodynamics Chapter 3: Section 12-14
Pole Placement.
Page 1© Crown copyright 2006SRNWP 9-12 October 2006, Zurich Variable resolution or lateral boundary conditions Terry Davies Dynamics Research Yongming.
1 ChE / MET Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing.
CHAPTER 6 Introduction to Graphing and Statistics Slide 2Copyright 2012, 2008, 2004, 2000 Pearson Education, Inc. 6.1Tables and Pictographs 6.2Bar Graphs.
Chapter 2 Section 3.
Squares and Square Root WALK. Solve each problem REVIEW:
Addition 1’s to 20.
25 seconds left…...
Week 1.
We will resume in: 25 Minutes.
Eric Prebys, FNAL.  We have focused largely on a kinematics based approach to beam dynamics.  Most people find it more intuitive, at least when first.
Maria Ugryumova Direct Solution Techniques in Spectral Methods CASA Seminar, 13 December 2007.
1 Functions and Applications
Computational Methods II (Elliptic)
Reduction of Temporal Discretization Error in an Atmospheric General Circulation Model (AGCM) Daisuke Hotta Advisor: Prof. Eugenia Kalnay.
Chapter 8 Elliptic Equation.
(c) MSc Module MTMW14 : Numerical modelling of atmospheres and oceans Staggered schemes 3.1 Staggered time schemes.
RAMS/BRAMS Basic equations and some numerical issues.
Günther Zängl, DWD1 Improvements for idealized simulations with the COSMO model Günther Zängl Deutscher Wetterdienst, Offenbach, Germany.
1 The Spectral Method. 2 Definition where (e m,e n )=δ m,n e n = basis of a Hilbert space (.,.): scalar product in this space In L 2 space where f * :
A Look at High-Order Finite- Volume Schemes for Simulating Atmospheric Flows Paul Ullrich University of Michigan.
– Equations / variables – Vertical coordinate – Terrain representation – Grid staggering – Time integration scheme – Advection scheme – Boundary conditions.
NCAR ΔX O(10 -2 ) m O(10 2 ) m O(10 4 ) m O(10 7 ) m Cloud turbulence Gravity waves Global flows Solar convection Numerical merits of anelastic models.
Most physically significant large-scale atmospheric circulations have time scales on the order of Rossby waves but much larger than the time scales.
– Equations / variables – Vertical coordinate – Terrain representation – Grid staggering – Time integration scheme – Advection scheme – Boundary conditions.
Applied NWP [1.2] “Once the initialization problem was resolved in the 1960s, models based on the primitive equations gradually supplanted those based.
A cell-integrated semi-Lagrangian dynamical scheme based on a step-function representation Eigil Kaas, Bennert Machenhauer and Peter Hjort Lauritzen Danish.
The equations of motion and their numerical solutions II by Nils Wedi (2006) contributions by Mike Cullen and Piotr Smolarkiewicz.
METO , 3.3.6, and 3.4 Junjie Liu. SWE in two dimensions  The term in brackets are the dominant terms for the geostrophic (2.5.1) and the inertia.
SRNWP Mini-workshop, Zagreb 5-6 December, Design of ALADIN NH with Vertical Finite Element Discretisation Jozef Vivoda, SHMÚ Pierre Bénard, METEO.
1 Reformulation of the LM fast- waves equation part including a radiative upper boundary condition Almut Gassmann and Hans-Joachim Herzog (Meteorological.
Governing Equations II
Numerics of Parametrization ECMWF training course May 2006 by Nils Wedi  ECMWF.
Time Integration Schemes Bill Skamarock NCAR/MMM 1.Canonical equations for scheme analyses. 2.Time-integration schemes used in NWP models.
1 On forward in time differencing: an unstructured mesh framework Joanna Szmelter Piotr Smolarkiewicz Loughborough University NCAR UK Colorado USA.
Priority project CDC Task 1.4: Choice of the anelastic equation system and Milestone 3.2: Suitability of fundamental approximations PP CDC-Meeting, ,
Regional Weather and Climate Modeling:
Lecture 4: Numerical Stability
Perturbation equations for all-scale atmospheric dynamics
Objective Numerical methods Finite volume.
6th Lecture : Numerical Methods
Presentation transcript:

ECMWF Governing Equations 3 Slide 1 Numerical methods IV (time stepping) by Nils Wedi (room 007; ext. 2657) In part based on previous material by Mariano Hortal and Agathe Untch

ECMWF Governing Equations 3 Slide 2 What is the basis for a stable numerical implementation ? A: Removal of fast - supposedly insignificant - external and/or internal acoustic modes (relaxed or eliminated), making use of infinite sound speed (c s ) and/or the hydrostatic approximation from the governing equations BEFORE numerics is introduced. B: Use of the full equations WITH a semi-implicit numerical framework, reducing the propagation speed (c s 0) of fast acoustic and buoyancy disturbances, retaining the slow convective-advective component (ideally) undistorted. C: Split-explicit integration of the full equations, since explicit NOT practical (~100 times slower) Determines the choice of the numerical scheme

ECMWF Governing Equations 3 Slide 3 Choices for numerical implementation Avoiding the solution of an elliptic equation fractional step methods (eg. split-explicit); Skamrock and Klemp (1992); Durran (1999) Solving an elliptic equation Projection method; Durran (1999) Semi-implicit Durran (1999); Cullen et. al.(1994); Benard et al. (2004); Benard (2004); Benard et al. (2005) Preconditioned conjugate-residual solvers (eg. GMRES) or multigrid methods for solving the resulting Poisson or Helmholtz equations; Skamarock et. al. (1997); Saad (2003) Direct Methods; Martinsson (2009)

ECMWF Governing Equations 3 Slide 4 Split-explicit integration Skamarock and Klemp (1992); Durran (1999); Doms and Schättler (1999); Slow part of solution Fast part of solution e.g. implemented in popular limited-area models: Deutschland Modell, WRF model

ECMWF Governing Equations 3 Slide 5 Semi-implicit schemes (i) coefficients constant in time and horizontally (hydrostatic models Robert et al. (1972), Benard et al. (2004), Benard (2004) ECMWF/Arpege/Aladin NH) (ii) coefficients constant in time Thomas (1998); Qian, (1998); see references in Bénard (2004) (iii) non-constant coefficients Skamarock et. al. (1997), (UK Met Office NH model, EULAG model) non-linear term, treated explicit linearised term, treated implicit

ECMWF Governing Equations 3 Slide 6 Design of semi-implicit methods Treat all terms involving the fastest propagation speeds implicitly (acoustic waves, gravity waves). Assume that the energy in those components is negligible. Consider the solvability of the resulting implicit system, which is typically an elliptic equation.

ECMWF Governing Equations 3 Slide 7 Example: Shallow water equations Linear analytic solution: Phase speed: Linearized: H denotes here a mean state depth.

ECMWF Governing Equations 3 Slide 8 Shallow water equations : advection In the linear version: : gravity-wave (or sometimes called adjustment) term combined advectionadjustment In the atmosphere in synoptic-scale models ==> Δt 236 sec ~ 4 min

ECMWF Governing Equations 3 Slide 9 Explicit time-stepping Leap-frog explicit scheme xxx xxx xxx j-Δx j+Δx j+Δy j-Δy j Stability: If we treat implicitly the advection terms we do not get a Helmholtz equation

ECMWF Governing Equations 3 Slide 10 Increasing the allowed timestep Forward-backward scheme forward backward von Neumann gives doubles the leapfrog timestep Pressure averaging if ε= > leapfrog if ε=1/4 we get doubles the leapfrog timestep

ECMWF Governing Equations 3 Slide 11 Split-explicit time-stepping Stability as before but M times a simpler problem. Note: The fast solution may be computed implicitly. slow fast Potential drawbacks: splitting errors, conservation. However recent advances for NH NWP suggested in (Klemp et. al. 2007)

ECMWF Governing Equations 3 Slide 12 Semi-implicit time-stepping xxx xxx xxx j-Δx j+Δx j+Δy j-Δy j Solve: Helmholtz equation ! Stability: now only limited by the advection terms Note: if we also treat the advection terms implicitly we do not get a Helmholtz equation!

ECMWF Governing Equations 3 Slide 13 Compressible Euler equations Davies et al. (2003)

ECMWF Governing Equations 3 Slide 14 Compressible Euler equations

ECMWF Governing Equations 3 Slide 15 A semi-Lagrangian semi-implicit solution procedure Davies et al. (1998,2005) (not as implemented, Davies et al. (2005) for details)

ECMWF Governing Equations 3 Slide 16 A semi-Lagrangian semi-implicit solution procedure

ECMWF Governing Equations 3 Slide 17 A semi-Lagrangian semi-implicit solution procedure Non-constant- coefficient approach! Helmholtz equation (solutions see e.g. Skamarock et al. 1997, Smolarkiewicz et al. 2000)

ECMWF Governing Equations 3 Slide 18 Semi-implicit time integration in IFS Choice of which terms in RHS to treat implicitly is guided by the knowledge of which waves cause instability because they are too fast (violate the CFL condition) and need to be slowed down with an implicit treatment. In a hydrostatic model, fastest waves are horizontally propagating external gravity waves (long surface gravity waves), Lamb waves (acoustic wave not filtered out by the hydrostatic approximation) and long internal gravity waves. => implicit treatment of the adjustment terms. L= linearization of part of RHS (i.e. terms supporting the fast modes) => good chance of obtaining a system of equations in the variables at + that can be solved almost analytically in a spectral model.

ECMWF Governing Equations 3 Slide 19 Two-time-level semi-Lagrangian semi- implicit time integration in the hydrostatic IFS Notations: X : advected variable RHS: right-hand side of the equation L: part of RHS treated implicitly Superscripts: 0 indicates value at dep. point (t) 1/2 indicates value at mid-point (t+0.5Δt) + indicates value at arrival point (t+Δt) For compact notation define: semi-implicit correction term L=RHS => implicit scheme L= part of RHS => semi-implicit (β=1) L=0 => explicit (β=0) =>

ECMWF Governing Equations 3 Slide 20 Semi-implicit time integration in IFS semi-implicit equations semi-implicit corrections

ECMWF Governing Equations 3 Slide 21 Semi-implicit time integration in IFS semi-implicit equations Where: Reference state for linearization: ref. temperature ref. surf. pressure => lin. geopotential for X=T => lin. energy conv. term for X=D

ECMWF Governing Equations 3 Slide 22 Linear system to be solved Eliminate all variables to find also a Helmholtz equation for D + : operator acting only on the vertical = unity operator

ECMWF Governing Equations 3 Slide 23 Semi-implicit time integration in IFS Vertically coupled set of Helmholtz equations. Coupling through Uncouple by transforming to the eigenspace of this matrix gamma (i.e. diagonalise gamma). Unity matrix I stays diagonal. => One equation for each In spectral space (spherical harmonics space): because Once D + has been computed, it is easy to compute the other variables at +.