Hamiltonian tools applied to non-hydrostatic modeling Almut Gassmann Max Planck Institute for Meteorology Hamburg, Germany.

Slides:



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

Parametrization of surface fluxes: Outline
Introduction Irina Surface layer and surface fluxes Anton
Discrete variational derivative methods: Geometric Integration methods for PDEs Chris Budd (Bath), Takaharu Yaguchi (Tokyo), Daisuke Furihata (Osaka)
PALM model equations Universität Hannover Institut für Meteorologie und Klimatologie, Palm-Seminar Zingst July 2004, Micha Gryschka PALM – model equations.
Institut für Meteorologie und Klimatologie Universität Hannover
CHEMICAL AND PHASE EQUILIBRIUM (1)
Lecture 15: Capillary motion
Louisiana Tech University Ruston, LA Slide 1 Time Averaging Steven A. Jones BIEN 501 Monday, April 14, 2008.
(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.
AOSS 321, Winter 2009 Earth System Dynamics Lecture 10 2/10/2008 Christiane Jablonowski Eric Hetland
ICONAM ICOsahedral Non-hydrostatic Atmospheric Model -
Chapter 9 Vertical Motion. (1) Divergence in two and three dimensions. The del “or gradient” operator is a mathematical operation performed on something.
Sensible heat flux Latent heat flux Radiation Ground heat flux Surface Energy Budget The exchanges of heat, moisture and momentum between the air and the.
ES 202 Fluid and Thermal Systems Lecture 7: Mechanical Energy Balance (12/16/2002)
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Lecture of : the Reynolds equations of turbulent motions JORDANIAN GERMAN WINTER ACCADMEY Prepared by: Eng. Mohammad Hamasha Jordan University of Science.
Numerical Hydraulics Wolfgang Kinzelbach with Marc Wolf and Cornel Beffa Lecture 1: The equations.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
Dynamics Energetics of General Circulation In the previous lecture we discussed the characteristics of the general circulation of the atmosphere In today’s.
Basic Concepts of Numerical Weather Prediction 6 September 2012.
Introduction to Numerical Weather Prediction 4 September 2012.
M. Baldauf, DWD Numerical contributions to the Priority Project ‘Runge-Kutta’ COSMO General Meeting, Working Group 2 (Numerics) Bukarest,
METR and 13 February Introduction What is thermodynamics? Study of energy exchange between a system and its surroundings In meteorology,
A Look at High-Order Finite- Volume Schemes for Simulating Atmospheric Flows Paul Ullrich University of Michigan.
Zängl ICON The Icosahedral Nonhydrostatic model: Formulation of the dynamical core and physics-dynamics coupling Günther Zängl and the ICON.
Development of WRF-CMAQ Interface Processor (WCIP)
CEE 262A H YDRODYNAMICS Lecture 5 Conservation Laws Part I 1.
Javier Junquera Molecular dynamics in the microcanonical (NVE) ensemble: the Verlet algorithm.
– Equations / variables – Vertical coordinate – Terrain representation – Grid staggering – Time integration scheme – Advection scheme – Boundary conditions.
Xin Xi. 1946: Obukhov Length, as a universal length scale for exchange processes in surface layer. 1954: Monin-Obukhov Similarity Theory, as a starting.
Global models with 1 km resolution possible in near future Followed in Projects outside COSMO: ICON; NCAR- NOAA-Fort Collins; Earth simulator quasi regular.
Applied NWP [1.2] “Once the initialization problem was resolved in the 1960s, models based on the primitive equations gradually supplanted those based.
Comparison of Different Approaches NCAR Earth System Laboratory National Center for Atmospheric Research NCAR is Sponsored by NSF and this work is partially.
Comparison of convective boundary layer velocity spectra calculated from large eddy simulation and WRF model data Jeremy A. Gibbs and Evgeni Fedorovich.
A cell-integrated semi-Lagrangian dynamical scheme based on a step-function representation Eigil Kaas, Bennert Machenhauer and Peter Hjort Lauritzen Danish.
A particle-gridless hybrid methods for incompressible flows
Prof. dr. A. Achterberg, Astronomical Dept., IMAPP, Radboud Universiteit.
EVAT 554 OCEAN-ATMOSPHERE DYNAMICS FILTERING OF EQUATIONS OF MOTION FOR ATMOSPHERE (CONT) LECTURE 7 (Reference: Peixoto & Oort, Chapter 3,7)
3.3.3: Semi-Lagrangian schemes AOSC614 class Hong Li.
Dr. R. Nagarajan Professor Dept of Chemical Engineering IIT Madras Advanced Transport Phenomena Module 2 Lecture 7 Conservation Equations: Alternative.
Some Aspects of Parameterisation in Small Scaled Models Thomas Roschke German Weather Service Department of Aviation Meteorology.
Three Lectures on Tropical Cyclones Kerry Emanuel Massachusetts Institute of Technology Spring School on Fluid Mechanics of Environmental Hazards.
CEE 262A H YDRODYNAMICS Lecture 7 Conservation Laws Part III.
M. Baldauf, U. Blahak (DWD)1 Status report of WG2 - Numerics and Dynamics COSMO General Meeting Sept. 2013, Sibiu M. Baldauf, U. Blahak (DWD)
Chapter 2 Modeling Approaches  Physical/chemical (fundamental, global) Model structure by theoretical analysis  Material/energy balances  Heat, mass,
Richard Rotunno National Center for Atmospheric Research, USA Dynamical Mesoscale Mountain Meteorology.
Lecture 21-22: Sound Waves in Fluids Sound in ideal fluid Sound in real fluid. Attenuation of the sound waves 1.
Matthias Raschendorfer DWD Recent extensions of the COSMO TKE scheme related to the interaction with non turbulent scales COSMO Offenbach 2009 Matthias.
Chapter 5 - PBL MT 454 Material Based on Chapter 5 The Planetary Boundary Layer.
AOSS 401, Fall 2007 Lecture 21 October 31, 2007 Richard B. Rood (Room 2525, SRB) Derek Posselt (Room 2517D, SRB)
LINEAR MOMENTUM APPLICATIONS AND THE MOMENT OF MOMENTUM 1.More linear momentum application (continuing from last day) Fluid Mechanics and Hydraulics.
Monatomic Crystals.
Standardized Test Set for Nonhydrostatic Dynamical Cores of NWP Models
Mass Coordinate WRF Dynamical Core - Eulerian geometric height coordinate (z) core (in framework, parallel, tested in idealized, NWP applications) - Eulerian.
1 Reformulation of the LM fast- waves equation part including a radiative upper boundary condition Almut Gassmann and Hans-Joachim Herzog (Meteorological.
1.Fundamental equations and concepts 2.Balanced flow and vortex motion 3.Waves 4.Instabilities 5.Nonlinear phenomena An Introduction to Geophysical Fluid.
Adjoint models: Theory ATM 569 Fovell Fall 2015 (See course notes, Chapter 15) 1.
Atms 4320 / 7320 lab 8 The Divergence Equation and Computing Divergence using large data sets.
Hydrodynamics Continuity equation Notation: Lagrangian derivative
Flow of Compressible Fluids. Definition A compressible flow is a flow in which the fluid density ρ varies significantly within the flowfield. Therefore,
Time Integration Schemes Bill Skamarock NCAR/MMM 1.Canonical equations for scheme analyses. 2.Time-integration schemes used in NWP models.
Great Innovations are possible through General Understanding …. P M V Subbarao Professor Mechanical Engineering Department I I T Delhi Thermodynamic View.
Meteorological Variables 1. Local right-hand Cartesian coordinate 2. Polar coordinate x y U V W O O East North Up Dynamic variable: Wind.
PURPOSE OF AIR QUALITY MODELING Policy Analysis
Introduction to Fluid Dynamics & Applications
Modeling Approaches Chapter 2 Physical/chemical (fundamental, global)
Conservative Dynamical Core (CDC)
Presentation transcript:

Hamiltonian tools applied to non-hydrostatic modeling Almut Gassmann Max Planck Institute for Meteorology Hamburg, Germany

Contents Hamiltonian form Spatial discretisation Temporal discretisation Motivation... (1)Hamiltonian form for the continuous moist turbulent equations (2)Spatial discretisation of Poisson brackets (3)Temporal discretisation Contents... Max Planck Institute for Meteorology and German Weather Service (DWD) are developing a new global model system in a joint project: ICON Members and collaborators present at IPAM: Marco Giorgetta, Peter Korn, Luis Kornblueh, Leonidas Linardakis, Stephan Lorenz, Almut Gassmann, Werner Bauer, Florian Rauser, Hui Wan, Peter Dueben, Tobias Hundertmark, Luca Bonaventura My part: non-hydrostatic atmospheric model

Contents Hamiltonian form Spatial discretisation Temporal discretisation Governing equations for NWP and climate simulations Is there really a need to reconsider that? No! But: As soon as moisture and turbulence averaging come into play, things become ugly: → Approximations to thermodynamics may distort local mass and/or energy consistency. Unfortunately, we do not know the longer term impact of such small, but systematic errors.

Contents Hamiltonian form Spatial discretisation Temporal discretisation Starting from general equation set... Momentum equation Conservation of total (moist) mass First law of thermodynamics Conservation of tracer mass q: specific quantities Approximations that do not change mass or energy balance: - neglect the molecular heat flux against the turbulent one: W → R - neglect the molecular dissipation against the turbulent one Make sure that the diffusion fluxes of the constituents and the conversion terms sum up to 0.

Contents Hamiltonian form Spatial discretisation Temporal discretisation The energy budget must be closed... rudimentary mean turbulent kinetic energy equation shear productionbuoyancy production dissipation This suggests: adding in the heat equation

Contents Hamiltonian form Spatial discretisation Temporal discretisation Specifics for a moist atmosphere... The internal energy u is not a suitable variable. We have to unveil the phase changes of water or chemical reactions, and thus consider rather the enthalpy h instead of the internal energy u. The ideal equation of state is assumed to be valid also for averaged quantities virtual increment Finally, a prognostic temperature equation is obtained.

Contents Hamiltonian form Spatial discretisation Temporal discretisation Towards flux form equations... viewpoints of fluid dynamics Particle view (Lagrange) Field view (Euler) Flux form for scalars specific moisture quantities some form of entropy variable Because the actual entropy s including all moisture quantities is impractical to handle, we decide for a compromise: the virtual potential temperature. We write the wind advection in Lamb form to unveil the vorticity (reason: particle relabelling symmetry). The views are equally valid and suitable for building a numerical model. In our ICON project, we decide for the Eulerian standpoint.

Contents Hamiltonian form Spatial discretisation Temporal discretisation Equation set that unveils the entropy production... virtual potential temparture „entropy production“ Next step: Poisson bracket form for the non-dissipative adiabatic limit case...

Contents Hamiltonian form Spatial discretisation Temporal discretisation Hamiltonian dynamics... A suitable Hamiltonian functional at least covers the adiabatic part of the dynamics: The Hamiltonian is a function of the density, a suitable thermodynamic variable and the velocity. With the choice of the virtual potential temperature density we obtain ''dynamic'' and ''thermodynamic'' functional derivatives independently. Hamiltonian dynamics (at least for the adiabatic part)

Poisson bracket... Antisymmetry: swapping F and H only alters the sign, F=H gives a zero bracket result Note: only the divergence operator appears, not the gradient operator, duality of the div and grad operators is automatically given Background: integration by parts rule scalar triple product is antisymmetric: A.(BxC) = -B.(AxC) = -C.(BxA) Contents Hamiltonian form Spatial discretisation Temporal discretisation

Summary so far... Exact Hamiltonian form with Poission brackets seems to be only practicable to write down for idealized (dry, non-turbuent) flows. This is no contradiction to the conservation of the total energy, because friction contributes correctly also to the internal enery by dissipative heating, and phase changes do not change the total energy. The structure of the Poisson bracket guarantees for correct energy conversions and thus energy conservation comes as a by product. Mass conservation is automatically given. The virtual potential temperature enters the equations as a passive tracer – as expected. In the dry adiabatic non-dissipative limit case, the entropy is conserved. Prognostic variables might be chosen freely. „Nice“ prognostic variables are the density and virtual potential temperture density (also the Exner pressure). Next step: Discretize brackets instead of single terms in the equations...

Numerics with brackets... Contents Hamiltonian form Spatial discretisation Temporal discretisation R. Salmon (2005, etc.): „...From the standpoint of differential equations, conservation laws arise from manipulations that typically include the product rule for derivatives. Unfortunately, the product rule does not generally carry over to discrete systems; try as we might, we will never get digital computers to respect it. However, in the strategy adopted here, conservation laws are converted to antisymmetry properties that transfer easily to the discrete case; digital computers understand antisymmetry as well!“

C-grid discretisations... Poisson brackets convert easily the Arakawa C grid (also in the vertical ➞ Lorenz grid) : Requirements: - divergence via Gauss theorem - Laplacian-consistent inner product Note: θ v is not touched by the bracket philosophy, it is only required 'somehow' at the interface position. Contents Hamiltonian form Spatial discretisation Temporal discretisation

Role of the potential temperature as a 'tracer'... prognostic equations Higher order advection scheme is interpreted as to give an interface value for theta. Well balancing approach (for terrain following-coordinates) might be interpreted as to give a special nearly hydrostatic state via the estimation of theta at the vertical interface. A combination of both requirements is also possible -> next slide.

Contents Hamiltonian form Spatial discretisation Temporal discretisation Well balancing... Atmospheric motions are nearly hydrostatic. The local truncation error of the pressure gradient term might violate the nearly hydrostatic state. Workaround: locally well balanced reconstruction with the help of a local hydrostatic background state (Botta et al., 2002) contrib. to covariant horizontal equation: interface value in flux divergence term:

Contents Hamiltonian form Spatial discretisation Temporal discretisation Vorticity flux term... absolute potential vorticity gives the mass flux Same type of vector reconstruction. In case of an (irregular) hexagonal grid, further consistency requirements are required, which determine the stencil and method for the vector reconstruction. The PV takes the same role as theta in the previous considerations: it is the tracer quantity in the vorticity equation and might be subject to further conditions (anticipated vorticity flux method etc.).

Time integration scheme... State of the art nonhydrostatic models vertically implict horizontally explicit (forward-backward wave solver in combination with a Runge-Kutta type scheme for advection: split-explicit) fully implicit (expensive and global) How does the time integration scheme look like, if we have discretized Poisson brackets? Contents Hamiltonian form Spatial discretisation Temporal discretisation vorticity flux termgradient of the kinetic energy belongs to the 'divergent' part of the flow The nonlinear advection of momentum is split into two parts.

Contents Hamiltonian form Spatial discretisation Temporal discretisation Energy budget equation Shallow water example Energy conserving time integration scheme...

Contents Hamiltonian form Spatial discretisation Temporal discretisation Forward-backward time integration scheme for waves. But kinetic energy term is implicit! Goal: Explicit time stepping...

Contents Hamiltonian form Spatial discretisation Temporal discretisation similar to RK2 procedure proposed prediction step Predictor step philosophy... Linear implicit method for the predictor step behaves similarly to the proposed explicit scheme and is stable. Linear stability analysis reveals an unstable behaviour, which is not found in numerical experiments, presumably because the whole scheme is nonlinear. Linear implicit method behaves similarly to RK2 split explicit scheme and is unstable. The predictor step plays the role of divergence damping in traditional split-explicit methods.

Contents Hamiltonian form Spatial discretisation Temporal discretisation Trick to make it explicit relabeling of time levels gives explicit scheme Remark: This approach is known with empirical weights as acoustic mode filtering (Klemp et al, 2007). We can shed different light on this procedure. Our new weigths are physically based. pressure gradient term 'unfortunately implicit' Pressure gradient term...

Summary on the temporal discretisation... Product rule for derivatives in the context of time integration. Strict splitting between 'wave solver' and 'advection' becomes questionable. New light is shed on split-explicit schemes: Alternative explanations for divergence damping acoustic mode filtering The vorticity flux term is still an outsider here. Because it should be energetically neutral, the mass flux therein must be consistent with the continuity equation – also in the time level choice. The time level of the PV itself is not constrained.

Baroclinic wave test case Non-hydrostatic ICON model on the hexagonal grid (dx = 240km) including some of the numerical issues disussed in the talk. The run is without additional diffusion.