A Hamiltonian Numerical Scheme for Large Scale Geophysical Fluid Systems

Similar documents
The Hamiltonian Particle-Mesh Method for the Spherical Shallow Water Equations

Large-scale atmospheric circulation, semi-geostrophic motion and Lagrangian particle methods

Chapter 1. Governing Equations of GFD. 1.1 Mass continuity

Stochastic Particle Dynamics for Unresolved Degrees of Freedom. Sebastian Reich in collaborative work with Colin Cotter (Imperial College)

Hamiltonian particle-mesh simulations for a non-hydrostatic vertical slice model

Semi-implicit methods, nonlinear balance, and regularized equations

Hydrostatic Hamiltonian particle-mesh (HPM) methods for atmospheric modeling.

Evaluation of three spatial discretization schemes with the Galewsky et al. test

The Euler Equation of Gas-Dynamics

Continuum Mechanics Lecture 5 Ideal fluids

+ ω = 0, (1) (b) In geometric height coordinates in the rotating frame of the Earth, momentum balance for an inviscid fluid is given by

1/18/2011. Conservation of Momentum Conservation of Mass Conservation of Energy Scaling Analysis ESS227 Prof. Jin-Yi Yu

2.5 Shallow water equations, quasigeostrophic filtering, and filtering of inertia-gravity waves

Computational Astrophysics

Scale analysis of the vertical equation of motion:

Semi-Lagrangian Formulations for Linear Advection Equations and Applications to Kinetic Equations

Conservation of Mass Conservation of Energy Scaling Analysis. ESS227 Prof. Jin-Yi Yu

The Shallow Water Equations

Overview of the Numerics of the ECMWF. Atmospheric Forecast Model

ESCI 485 Air/Sea Interaction Lesson 1 Stresses and Fluxes Dr. DeCaria

( u,v). For simplicity, the density is considered to be a constant, denoted by ρ 0

Using hybrid isentropic-sigma vertical coordinates in nonhydrostatic atmospheric modeling

Modified Equations for Variational Integrators

1/3/2011. This course discusses the physical laws that govern atmosphere/ocean motions.

Acoustic Energy Estimates in Inhomogeneous Moving Media

Dust devils, water spouts, tornados

Eulerian semiclassical computational methods in quantum dynamics. Shi Jin Department of Mathematics University of Wisconsin-Madison

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

where p oo is a reference level constant pressure (often 10 5 Pa). Since θ is conserved for adiabatic motions, a prognostic temperature equation is:

The Hopf equation. The Hopf equation A toy model of fluid mechanics

Lagrangian Data Assimilation and Its Application to Geophysical Fluid Flows

Chapter 2. The continuous equations

The Shallow Water Equations

Balanced models in Geophysical Fluid Dynamics: Hamiltonian formulation, constraints and formal stability

2 Equations of Motion

Prof. Simon Tett, Chair of Earth System Dynamics & Modelling: The University of Edinburgh

Control Volume. Dynamics and Kinematics. Basic Conservation Laws. Lecture 1: Introduction and Review 1/24/2017

Lecture 1: Introduction and Review

Answers to Problem Set Number 04 for MIT (Spring 2008)

Geostrophic and Quasi-Geostrophic Balances

Chapter 0. Preliminaries. 0.1 Things you should already know

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

d v 2 v = d v d t i n where "in" and "rot" denote the inertial (absolute) and rotating frames. Equation of motion F =

Finite Volume Method

t tendency advection convergence twisting baroclinicity

Lecture 1: Introduction to Linear and Non-Linear Waves

Advection, Conservation, Conserved Physical Quantities, Wave Equations

M E 320 Professor John M. Cimbala Lecture 10

M E 320 Professor John M. Cimbala Lecture 10. The Reynolds Transport Theorem (RTT) (Section 4-6)

A Study on Numerical Solution to the Incompressible Navier-Stokes Equation

Manifolds in Fluid Dynamics

Daniel J. Jacob, Models of Atmospheric Transport and Chemistry, 2007.

1/27/2010. With this method, all filed variables are separated into. from the basic state: Assumptions 1: : the basic state variables must

Estimation of State Noise for the Ensemble Kalman filter algorithm for 2D shallow water equations.

Symmetries, Conservation Laws and Hamiltonian Structures in Geophysical Fluid Dynamics

III.3 Momentum balance: Euler and Navier Stokes equations

Meteorology 6150 Cloud System Modeling

Lecture 9: Tidal Rectification, Stratification and Mixing

2 Transport of heat, momentum and potential vorticity

BALANCED FLOW: EXAMPLES (PHH lecture 3) Potential Vorticity in the real atmosphere. Potential temperature θ. Rossby Ertel potential vorticity

A Particle-Mesh Method for the Shallow Water Equations near Geostrophic Balance Jason Frank Λ Sebastian Reich y July 25, 2001 Abstract In this paper w

Resonant excitation of trapped coastal waves by free inertia-gravity waves

Chapter 5. Shallow Water Equations. 5.1 Derivation of shallow water equations

Topics in Fluid Dynamics: Classical physics and recent mathematics

INTERNAL GRAVITY WAVES

GFD 2012 Lecture 1: Dynamics of Coherent Structures and their Impact on Transport and Predictability

Latest thoughts on stochastic kinetic energy backscatter - good and bad

Particle-Simulation Methods for Fluid Dynamics

Earth System Modeling Domain decomposition

Finite Volume Schemes: an introduction

2 A: The Shallow Water Equations

Nonlinear MHD Stability and Dynamical Accessibility

Fluid Dynamics. Part 2. Massimo Ricotti. University of Maryland. Fluid Dynamics p.1/17

MECH 5810 Module 3: Conservation of Linear Momentum

Theory of linear gravity waves April 1987

Today s Lecture: Atmosphere finish primitive equations, mostly thermodynamics

Various lecture notes for

Chapter 3. Shallow Water Equations and the Ocean. 3.1 Derivation of shallow water equations

Moving Fluid Elements

Modeling using conservation laws. Let u(x, t) = density (heat, momentum, probability,...) so that. u dx = amount in region R Ω. R

Assignment 1 for GEOL 1820: Geophysical Fluid Dynamics, Waves and Mean Flows Edition Due Sept. 23, 2016

Dynamic coupling between shallow-water sloshing and horizontal vehicle motion

Entropy generation and transport

Section 2: Lecture 1 Integral Form of the Conservation Equations for Compressible Flow

ρ x + fv f 'w + F x ρ y fu + F y Fundamental Equation in z coordinate p = ρrt or pα = RT Du uv tanφ Dv Dt + u2 tanφ + vw a a = 1 p Dw Dt u2 + v 2

Introduction to Isentropic Coordinates: a new view of mean meridional & eddy circulations. Cristiana Stan

Global well-posedness of the primitive equations of oceanic and atmospheric dynamics

Chapter 5. Sound Waves and Vortices. 5.1 Sound waves

FUNDAMENTAL CONCEPTS IN CONTINUUM MECHANICS

Circulation and Vorticity

1 Phase Spaces and the Liouville Equation

A Study of Transonic Flow and Airfoils. Presented by: Huiliang Lui 30 th April 2007

Internal boundary layers in the ocean circulation

Rotation & nonlinear effects in shallow water: the Rossby adjustment problem

New variables in spherical geometry. David G. Dritschel. Mathematical Institute University of St Andrews.

High Order Semi-Lagrangian WENO scheme for Vlasov Equations

ATM 298, Spring 2013 Lecture 2 The Equa;ons of Fluid Mo;on April 3, Paul A. Ullrich (HH 251)

Mixed Mimetic Spectral Elements for Geophysical Fluid Dynamics

Mathematical Concepts & Notation

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

Transcription:

A Hamiltonian Numerical Scheme for Large Scale Geophysical Fluid Systems Bob Peeters Joint work with Onno Bokhove & Jason Frank TW, University of Twente, Enschede CWI, Amsterdam PhD-TW colloquium, 9th April 2009

Outline Outline 1. Introduction & Motivation 2. Hamiltonian parcel formulation for shallow water equations (SWE) 3. Hamiltonian particle-mesh method 4. Numerical example 5. Generalization to adiabatic atmosphere 6. Conclusions & Outlook PhD-TW April Page 2 of 23

Introduction & Motivation Given: In the limit of no forcing and dissipation, our climate system is governed by conservation laws: T t + F = 0 T = mass, momentum, energy and vorticity (barotropic fluid); and F its associated flux, system can be rewritten in Hamiltonian way, it has a special phase space structure: symplecticity However: Climate system is weakly dissipative. So why bother about Hamiltonian systems? PhD-TW April Page 3 of 23

Hypothesis: Introduction & Motivation Numerical methods that reproduce the correct flow structure in limit of no forcing and dissipation provide better climate predictions. Arguments?? + Promising results for symplectic time integration for ensemble of dissipatively perturbed low-order models (e.g., Cotter & Reich, 2003). + Since that symplectic time integrators recover the limiting behavior correctly, they allow for accurate long time integrations of such models (Hairer et al., 2002). PhD-TW April Page 4 of 23

Introduction & Motivation Phase space structure?? Consider 1-particle mechanical system ẍ = dv dx ẋ = v & v = dv dx Phase space: collection {x, v} R 2 Phase fluid Φ = (ẋ, v) is divergence free: ẋ x + v v = 0 PhD-TW April Page 5 of 23

Introduction & Motivation V t=0 t=t X PhD-TW April Page 6 of 23

Introduction & Motivation Our starting point: no forcing and friction Tasks: Find Hamiltonian description of fluid system. Find Hamiltonian discretization. Point: No general method for reducing noncanonical Hamiltonian PDEs to a finite-dim Hamiltonian system. can t use Eulerian fluid equations adopt Lagrangian point of view use discretization based on Hamiltonian parcel formulation (Bokhove & Oliver, 2006). PhD-TW April Page 7 of 23

Hamiltonian parcel formulation for SWE Shallow Water Equations: Eulerian description v t + v v + fv + g h = 0 h t + (hv) = 0 v = (u, v), v = ( v, u) h(x, y, t) height of the fluid free surface f Coriolis parameter: effect of earth rotation PhD-TW April Page 8 of 23

Hamiltonian parcel formulation for SWE Hamiltonian description of fluid system steps: 1. view fluid as continuum of fluid parcels 2. each parcel has fixed (infinitesimal) mass Parcel formulation what are the parcel trajectories for the SWE? PhD-TW April Page 9 of 23

Hamiltonian parcel formulation for SWE Parcel s motion given by dx = V H = V, dt (1a) dv dt = f V H X H = f V g X h, (1b) with ( X, V ) ( X, V ). The parcel s Hamiltonian reads H(X, V, t) = 1 2 V 2 + g h(x, t). (2) PhD-TW April Page 10 of 23

Hamiltonian parcel formulation for SWE Crux I: how to obtain the fluid depth h from parcel data? h(x, t) = h(a, 0) δ((x) χ t (a)) da. (3) Indeed: integrand nonzero χ t (a) = χ t (A) X. Crux II: we view (3) as Eulerian function h(x, t), evaluated at x = X. Why?? PhD-TW April Page 11 of 23

Hamiltonian particle-mesh method Hamiltonian discretization: The Hamiltonian Particle-Mesh Method (HPM) (Frank et al., 2002) procedure simple: parcels particles PhD-TW April Page 12 of 23

The algorithm: Hamiltonian particle-mesh method i) Fluid decomposed in N particles. ii) Lagrangian step: Apply symplectic time integrator to move the particles. iii) Eulerian steps: a. Fixed grid (x i, y j ). b. Redistribution of particles induces new density field. Density on grid found from discretization of (3). c. Interpolate grid values h ij (t) back to h(x, y, t) using appropriate interpolation function. PhD-TW April Page 13 of 23

Hamiltonian particle-mesh method Smoothing: i) Weak point in our discretization is the truncated form of (3) ii) We like to apply smoothing to the particle depth values. iii) If we introduce a Eulerian grid, we can compute the smoothing using FFT. PhD-TW April Page 14 of 23

Numerical example Numerical example: Burger s profile Assume 1-dimensional flow, f = 0. u(x, t) + 2 g h(x, t) = K, with K constant. Then the SWE reduces to Burgers equation q t + q q x = 0 for q(x, t) = K 3 g h(x, t). Analytical solution implicitly defined by q(x, t) = q 0 (x q(x, t) t). Wave breaking after certain time. PhD-TW April Page 15 of 23

Numerical example Movie Input Initial profile: q 0 = sin(x) with K = 3 on domain [0, 2π]. Wave breaking at t = 1. Take 200 time steps. 100 gridpoints, 2 particles per cell initially. Second order symplectic time integrator. Smoothing operator to avoid non-smooth interpolation of grid values h ij. Output Nearly second order spatial convergence. Exponentially small drift in total energy. PhD-TW April Page 16 of 23

Generalization to adiabatic atmosphere Generalization to adiabatic atmosphere Model assumptions: 1) fluid on rotating plane, 2) hydrostatic balance, 3) reversible thermodynamics entropy conserved per fluid parcel, 4) statically stable atmosphere. Denote specific entropy by s. statically stable conditions if s z > 0. PhD-TW April Page 17 of 23

Generalization to adiabatic atmosphere 3) + 4) allow for isentropic frame of reference: (x, y, z) (x, y, s). Since entropy is materially conserved, the flow becomes horizontal within this frame: v = (u, v, 0) T, ( x, y, 0)T. z adiabatic diabatic s s 3 s 2 s 1 y s 3 s 2 s 1 y x x PhD-TW April Page 18 of 23

The equations Generalization to adiabatic atmosphere momentum eq. continuity eq. v t + v v + fv + M = 0 (4) σ t + (σv) = 0 (5) hydrostatic eq. for ideal gas ( ( σ = p 00 σ g s Z ρ 00 s ) c p ) cv s s 00 e cv (6) PhD-TW April Page 19 of 23

4. Atmospheric equations σ is pseudodensity, M = g Z + c p T(σ, Z s ) is the Montgomery potential. Closed formulation for {v, σ, Z}. v = v(x, s, t) σ = σ(x, s, t) Z = Z(x, s, t) Picture: Flow can be thought of as being horizontal, where all layers are coupled though eq. (6), which is nonlinear elliptic equation in s only. PhD-TW April Page 20 of 23

4. Atmospheric equations Parcel formulation for adiabatic model Changes w.r.t. parcel formulation SWE: h M in momentum equation and Hamiltonian, ρ σ in continuity equation, New equation (6) for the coupling σ to M. Conclusion: In isentropic coordinates, the adiabatic atmospheric flow forms a continuum stack of 2D SWE type of flows coupled via a 1D elliptic inversion. PhD-TW April Page 21 of 23

Outlook We have found a Hamiltonian discretization for the adiabatic atmosphere (for simplified boundary conditions), based on HPM and a Finite Element discretization in the s-direction. Outlook Extend to more general boundary conditions. Find way to account for unresolved but important dynamics, like gravity waves. Extend to a spherical model. Forcing & friction. PhD-TW April Page 22 of 23

Questions??

References References Cotter, C.J. and Reich, S. 2003: An extended dissipative particle dynamics model. Europhys. Lett. 64, 723-729. Hairer, E., Lubich, C. and Wanner, G. 2002: Geometric numerical integration: structure preserving algorithms for ordinary differential equations. Springer, Heidelberg. Bokhove, O., Oliver, M. 2006: Parcel Eulerian-Lagrangian fluid dynamics of rotating geophysical flows. Proc. R. Soc. Lond. A 462: 2563-2573. Frank, J., Gottwald, G., Reich, S. 2002: A Hamiltonian particle-mesh method for the rotating shallow-water equations. Lecture Notes in Computational Science and Engineering, vol. 26. Springer, Heidelberg, 131-142. PhD-TW April