ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 1 The semi-Lagrangian semi-implicit technique in the ECMWF model by Michail Diamantakis (room.

Slides:



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

Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Numerical methods III (Advection: the semi-Lagrangian technique)
Governing Equations IV
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.
Status and performance of HIRLAM 4D-Var Nils Gustafsson.
Finite Difference Methods
(c) MSc Module MTMW14 : Numerical modelling of atmospheres and oceans Staggered schemes 3.1 Staggered time schemes.
Günther Zängl, DWD1 Improvements for idealized simulations with the COSMO model Günther Zängl Deutscher Wetterdienst, Offenbach, Germany.
ICONAM ICOsahedral Non-hydrostatic Atmospheric Model -
EARS1160 – Numerical Methods notes by G. Houseman
Semi-Lagrangian Dynamics in GFS Sajal K. Kar. Introduction Over the years, the accuracy of medium-range forecasts has steadily improved with increasing.
Non-hydrostatic IFS at ECMWF
Design and evaluation of the National Institute for Environmental Studies (NIES) transport model Dmitry Belikov and Shamil Maksyutov National Institute.
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
Motion Analysis (contd.) Slides are from RPI Registration Class.
A Semi-Lagrangian Laplace Transform Filtering Integration Scheme Colm Clancy and Peter Lynch Meteorology & Climate Centre School of Mathematical Sciences.
Geophysical Modelling: Climate Modelling How advection, diffusion, choice of grids, timesteps etc are defined in state of the art models.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Derivation of the Gaussian plume model Distribution of pollutant concentration c in the flow field (velocity vector u ≡ u x, u y, u z ) in PBL can be generally.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
Basic Concepts of Numerical Weather Prediction 6 September 2012.
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 * :
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
A Look at High-Order Finite- Volume Schemes for Simulating Atmospheric Flows Paul Ullrich University of Michigan.
Development of WRF-CMAQ Interface Processor (WCIP)
An introduction to semi-Lagrangian methods III Luca Bonaventura Dipartimento di Matematica “F. Brioschi”, Politecnico di Milano MOX – Modeling and Scientific.
1 A Framework for The Analysis of Physics-Dynamics Coupling Strategies Andrew Staniforth, Nigel Wood (Met Office Dynamics Research Group) and Jean Côté.
ECMWF 2015 Slide 1 Lagrangian/Eulerian equivalence for forward-in-time differencing for fluids Piotr Smolarkiewicz “The good Christian should beware of.
A cell-integrated semi-Lagrangian dynamical scheme based on a step-function representation Eigil Kaas, Bennert Machenhauer and Peter Hjort Lauritzen Danish.
The Finite Element Method A Practical Course
© Crown copyright Met Office A Framework for The Analysis of Physics-Dynamics Coupling Strategies Andrew Staniforth, Nigel Wood (Met O Dynamics Research)
A particle-gridless hybrid methods for incompressible flows
ALADIN NH Recent progress Petra Smolíková, Radmila Brožková.
3.3.3: Semi-Lagrangian schemes AOSC614 class Hong Li.
7. Introduction to the numerical integration of PDE. As an example, we consider the following PDE with one variable; Finite difference method is one of.
The status and development of the ECMWF forecast model M. Hortal, M. Miller, C. Temperton, A. Untch, N. Wedi ECMWF.
Recent Developments in the NRL Spectral Element Atmospheric Model (NSEAM)* Francis X. Giraldo *Funded.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Standardized Test Set for Nonhydrostatic Dynamical Cores of NWP Models
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
EGU General assembly 2014, AS 1.5 A three-dimensional Conservative Cascade semi-Lagrangian transport Scheme using the Reduced Grid on the sphere (CCS-RG)
Development of an Atmospheric Climate Model with Self-Adapting Grid and Physics Joyce E. Penner 1, Michael Herzog 2, Christiane Jablonowski 3, Bram van.
Numerics of Parametrization ECMWF training course May 2006 by Nils Wedi  ECMWF.
Deutscher Wetterdienst Flux form semi-Lagrangian transport in ICON: construction and results of idealised test cases Daniel Reinert Deutscher Wetterdienst.
Global variable-resolution semi-Lagrangian model SL-AV: current status and further developments Mikhail Tolstykh Institute of Numerical Mathematics, Russian.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Deutscher Wetterdienst 1FE 13 – Working group 2: Dynamics and Numerics report ‘Oct – Sept. 2008’ COSMO General Meeting, Krakau
Performance of a Semi-Implicit, Semi-Lagrangian Dynamical Core for High Resolution NWP over Complex Terrain L.Bonaventura D.Cesari.
Time Integration Schemes Bill Skamarock NCAR/MMM 1.Canonical equations for scheme analyses. 2.Time-integration schemes used in NWP models.
Lecture 3 & 4 : Newtonian Numerical Hydrodynamics Contents 1. The Euler equation 2. Properties of the Euler equation 3. Shock tube problem 4. The Roe scheme.
The semi-Lagrangian semi-implicit technique in the ECMWF model
CHAPTER 2 - EXPLICIT TRANSIENT DYNAMIC ANALYSYS
Lecture 4: Numerical Stability
A Semi-Lagrangian Laplace Transform Filtering Integration Scheme
Introduction to Numerical Methods I
Convergence in Computational Science
Perturbation equations for all-scale atmospheric dynamics
Lecture Objectives: Advance discretization methods
Objective Unsteady state Numerical methods Discretization
Ensemble variance loss in transport models:
Finite Volume Method for Unsteady Flows
Objective Numerical methods Finite volume.
Introduction to Fluid Dynamics & Applications
topic4: Implicit method, Stability, ADI method
Topic 8 Pressure Correction
Conservative Dynamical Core (CDC)
6th Lecture : Numerical Methods
Presentation transcript:

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 1 The semi-Lagrangian semi-implicit technique in the ECMWF model by Michail Diamantakis (room 2107; ext. 2402)

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 2 What do we want to achieve? We want to build an accurate and robust global weather forecasting system at the lowest possible cost  Role of numerical technique is central into achieving this goal  Semi-Lagrangian (SL) semi-implicit (SI) technique is ideal!  Unconditionally stable advection scheme having good phase speeds with little numerical dispersion  No CFL restriction in Δt!  Unconditional stability of semi-implicit technique  No restriction in Δt from integration of “fast forcing” terms such as gravity wave + acoustic terms (in non- hydrostatic models)

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 3 What is a semi-Lagrangian method?  A numerical technique for solving transport PDEs which applies Lagrangian “thinking” on grid-point models:  It is like a Lagrangian method: fluid parcels follow a Lagrangian trajectory  However, at each time-step a parcel trajectory always arrives on a grid-point. Mesh is not allowed to “depart” from its original form (constant resetting at every time-step).  It gradually evolved to current form from schemes introduced in the ’50s, ’60s and 70s (Wiin-Nielsen, Krishnamurti, Sawyer, Leith, Purnel)

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 4 History of semi-Lagrangian IFS  IFS: Integrated Forecast System for medium range forecasts operating since 1979  Until the beginning of 1991 IFS is a spectral Eulerian model on a full Gaussian grid at T106 horizontal resolution and 19 levels  An increase to T231 L31 resolution was planned  This upgrade required at least 12 x available CPU power  Funding was available for 4 x CPU increase …  Upgrade was made possible only due to switching to:  A semi-Lagrangian scheme on a reduced Gaussian grid  The new model was 6 x faster!

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 5 Basic concepts: the departure point Linear advection equation: At time t parcel is at d and at t +∆t arrives at a grid-point  Finding the “departure point” is an essential part of the technique:  Solution at t+ Δt is obtained by interpolating the available (defined at time t) grid-point -values at the d.p.  Advection term absorbed by the Lagrangian derivative (advection nonlinearity vanishes)

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 6 A simple Semi-Lagrangian algorithm

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 7 Stability in one dimension p α ∆x p: integer Assuming linear interpolation conduct Von Neuman stability analysis: NOTE: when p=0 => α is the CFL number => SL with linear interpolation is essentially Eulerian upstream differencing! |λ|≤1 if 0 ≤α ≤1 (interpolation from two nearest points) Linear interpolation = damping! x (constant wind) j-p-1 j-p j Departure to arrival pt distance (displacement): Amplification factor:

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 8 How to find d.p. in SL NWP models In atmospheric flows wind field changes in space and time  To find departure points, solve equation: where the position and wind vector along a trajectory. Second order mid-point rule is often used:  Departure point is computed iteratively Trajectory midpoint For 3-time level scheme: t-extrapolation needed: No t-extrapolation but more expensive

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 9 Iterative mid-point scheme for d.p.  Consider two time-level (TL) scheme and assume that during a time-step parcels follow straight lines (great circle) trajectories   To find d.p. iterate discretized trajectory equation  2 nd order midpoint scheme iterations: normally K=2 (2 nd order) Interpolate V at midpoint (using linear interpolation) Extrapolate V at t+∆t/2 Smolarkiewicz & Pudikiewicz (J. Atmos. Sci.1992): Convergence requires satisfaction of a Lipschitz condition (parcels trajectories do not cross): Doesn’t depend on mesh size and less restrictive than CFL for atmospheric flows

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 10 Time extrapolated winds and stability When computing d.p extrapolating V at t+∆t/2 can be a source of weak instability Cordero et al (QJRMS, 2005). Solutions: a.Iterative (expensive) approach: 1.Time-step dynamics once to obtain V(t+∆t) estimate (predictor) 2.Time-step again BUT now use predictor to interpolate at t+∆t/2: V(t+∆t/2)=[V(t)+V(t+∆t)]/2 b.Use Stable Extrapolating Two Time-Level Semi-Lagrangian (SETTLS) scheme (low cost) by Hortal (QJRMS, 2002) T forecast 200 hPa (from 1997/01/04 ) Standard extrapolation SETTLS

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 11 SETTLS for computing departure points and Taylor expansion to second order: Hence, Therefore d.p. can be computed by iterative sequence: Interpolate at AV: average value along SL trajectory

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 12 SETTLS extrapolation weaknesses  Noise in upper stratosphere often occurring in “Sudden Stratospheric Warming” events (model doesn’t predict accurately the warming event)  A solution: use hybrid SETTLS/non-extrapolating scheme in vertical (see ecmwf newsletter No.141 Autumn 2014, M. Diamantakis) noisy divergence 24hrs forecast: weak warming no noise + “correct” warming (hybrid vertical scheme) SETTLS

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 13 Interpolation in the IFS semi-Lagrangian scheme Two important steps in SL algorithm: 1.Compute departure point (trajectory calculation) 2.Interpolate advected field to d.p. to obtain: Interpolation must use (for stability) neighbouring to d.p. gridpoints ECMWF model uses quasi-monotone quasi-cubic Lagrange interpolation xxxx x xxxx xxxx xxxx x x x x y x Number of 1D cubic interpolations in 2D: 5 =>3D: 21 (64pt stencil) To save computations: cubic interpolation only for nearest neighbour rows, linear interpolation remaining i.e. “quasi-cubic interpolation”=> 7*cubic+10*linear in 3D (32 pt stencil) Cubic Lagrange interpolation:,

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 14 Shape-preserving (locally monotonic) interpolation Creation of “artificial” maxima /minima x x x x x x: grid point values x: interpolated value Shape-preserving (quasi-monotone) interpolation - Alternative: Spline or Hermite interpolation (not used in IFS operationally) x - Quasi-monotone cubic interpolation: φ max φ min x x φ cub

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 15 Trajectory calculation A note on SL advection on the sphere X Y Z A V x D Momentum eq. is discretized in vector form (a vector is continuous across the poles, components are not!) Trajectories are arcs of great circles if constant (angular) velocity is assumed for the duration of a time step. - To transport a vector use local reference system and apply rotation matrix from D to A to take into account earth’s curvature - Interpolations at D are done for u & v components of the velocity vector relative to the system of reference local at D. Rotation matrix Temperton et al (QJRMS 2001)

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 16 SL issues and practices to be aware

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 17 Applying SLSI time stepping to NWP eqns  We want to solve a nonlinear system of m-prognostic equations:  Integrate along SL trajectory and approximate (using 2 nd order trapezoidal scheme):  Linearize fast nonlinear terms e.g. Implicit and nonlinear coupling. “Fast linearized” (GW/acoustic) terms will be integrated implicitly nonlinear “slow” terms: these will be integrated explicitly e.g. X=(u,v,T,p,q,…)

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 18 Applying SLSI to NWP eqns (II) Two-time-level, 2 nd order IFS discretization (Temperton et al, QJRMS 2001): can be obtained “explicitly” using one of the two extrapolation schemes discussed: interpolate to d.p. SETTLS: operational forecast scheme 2 nd order accurate formula (can be verified by Taylor expansion) Simple 2 nd order scheme all right-hand side terms are given

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 19 Assembling all equations: Helmholtz solver

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 20 2-TL SLSI integration of IFS hydrostatic PE set Fast nonlinear terms linearized to define L, N: nonlinear but slow changing linear but fast changing Continuity derivation: (Eulerian form) BCs: Term is further simplified using vertical coordinate definition: p=A( η)+ B( η)p s

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 21 Deriving Helmholtz equation (part I)

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 22 Deriving and solving Helmholtz equation Eliminate T, ln p s to derive a Helmholtz equation wrt to D: ( off-centring i.e. α-value >0.5 increases damping. It is an option in IFS code but is not used operationally – reduces accuracy while not needed mostly due to continuity formulation) α=0.5 Decouple equations by diagonalizing Γ, transform in spectral space Define: 1 trivial eqn/lev Back-substitute to update remaining fields

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 23 A simplified view of IFS timestepping Call radiation parametrization scheme (currently every 3 hrs) and store output Transform variables from Spectral->Gridpoint space Compute R.H.S. terms of equations at time t Call SL advection: compute d.p. + interpolate model variables and RHS terms at d.p. and update time t estimate of model variables Update variables adding radiation tendencies ->call vertical diffusion + update -> call GWdrag + update -> call convection + update -> call cloud scheme + update Transform variables: Gridpoint-> Spectral space Solve Helmholtz problem -> do final update of variables (back- substitution) -> add horizontal diffusion

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 24 Issues in SI time stepping to be aware  SI time stepping as implemented in IFS and other operational models is not strictly unconditionally stable  extrapolations are a source of instability. Therefore,  need to carefully consider how to split the right hand side to fast linear (L) and slow nonlinear (N) terms  In IFS SETTLS extrapolation of nonlinear terms is used  Iterative approach can eliminate such stability problems  Available in IFS (ICI: Iterative Centred Implicit)  Iterative approach works like predictor-corrector: no need to extrapolate at the corrector stage as a good predictor for the atmospheric state at t+∆t exists. However, expensive!

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 25 Limitations of the SLSI approach  Not formally conserving  In long integrations mass drifts and needs to be “fixed”  In IFS and most SL models mass fixers are used for tracers and air mass in long simulations (GMD 2014, Diamantakis & Flemming)  Inherently mass conserving SL schemes do exist but haven’t been used into operations so far (expensive, issues with complex terrain)  Scalability issues at convection permitting resolution:  IFS: high communication cost of transpositions (gridpoint -> spectral -> gridpoint)  UKMO: high cost Helmholtz solver on lat/lon grid

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 26 Brief note on inherently conserving SL schemes  Air mass / tracer local and global mass conservation  Essentially, they are finite-volume SL methods (e.g. UK Met Office SLICE-ENDGAME version). Ensuring that:  mass in dep volume=mass in arrival (grid) volume  However,for NWP, these are costly alternatives to standard SLSI. But they can outperform Eulerian flux-form methods especially when many tracers are advected (e.g. climate models), an example is CSLAM (Lauritzen et al, JCP 2010) advected fluid volume arrival / departure volume Picture from JCP 2010 Lauritzen et al

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 27 Some references  Staniforth and Cote (MWR 1990) review paper: “Semi Lagrangian schemes for Atmospheric models”  Ritchie et al (MWR 1995): “Implementation of the Semi- Lagrangian Method in a High-Resolution version …”  Temperton, Hortal, Simmons (QJRMS 2001): “A two-time- level semi-Lagrangian global spectral model”  Hortal (QJRMS 2002): “The development and testing of a new two-time level semi-Lagrangian scheme (SETTLS) in the ECMWF forecast model”  Dale Durran’s book: “Numerical methods for Wave Equations in Geophysical Fluid Dynamics” (1999)  Training course notes & references in slides

ECMWF Semi-Lagrangian semi-implicit technique in IFS Slide 28 Thank you for your attention!