Geometric Numerical Integration

Similar documents
SYMMETRIC PROJECTION METHODS FOR DIFFERENTIAL EQUATIONS ON MANIFOLDS

GEOMETRIC INTEGRATION OF ORDINARY DIFFERENTIAL EQUATIONS ON MANIFOLDS

Backward error analysis

Introduction to Hamiltonian systems

Symplectic integration with Runge-Kutta methods, AARMS summer school 2015

Reducing round-off errors in symmetric multistep methods

1 Ordinary differential equations

Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators

Reducing round-off errors in rigid body dynamics

Lecture 4: High oscillations

REVERSIBLE LONG-TERM INTEGRATION WITH VARIABLE STEPSIZES. 1. Introduction. We consider the numerical treatment of systems

Chapter 1 Symplectic Integrator and Beam Dynamics Simulations

Algebraic structures of B-series

Symmetric multistep methods for charged-particle dynamics

SOME PROPERTIES OF SYMPLECTIC RUNGE-KUTTA METHODS

GEOMETRIC INTEGRATION METHODS THAT PRESERVE LYAPUNOV FUNCTIONS

IMPLICIT INTERVAL MULTISTEP METHODS FOR SOLVING THE INITIAL VALUE PROBLEM

Numerical Integration of Equations of Motion

Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations

Study the Numerical Methods for Solving System of Equation

Solving Orthogonal Matrix Differential Systems in Mathematica

Mini-course on Geometric Numerical Integration

MODIFIED DIFFERENTIAL EQUATIONS. Dedicated to Prof. Michel Crouzeix

ON EXPLICIT INTERVAL METHODS OF ADAMS-BASHFORTH TYPE

High-order symmetric schemes for the energy conservation of polynomial Hamiltonian problems.

Variable Step Runge-Kutta-Nyström Methods for the Numerical Solution of Reversible Systems

Implicit-explicit variational integration of highly oscillatory problems

Fourth-order symplectic exponentially-fitted modified Runge-Kutta methods of the Gauss type: a review

ONE- AND TWO-STAGE IMPLICIT INTERVAL METHODS OF RUNGE-KUTTA TYPE

High-order Symmetric Schemes for the Energy Conservation of Polynomial Hamiltonian Problems 1 2

THREE- AND FOUR-STAGE IMPLICIT INTERVAL METHODS OF RUNGE-KUTTA TYPE

Draft TAYLOR SERIES METHOD FOR SYSTEM OF PARTICLES INTERACTING VIA LENNARD-JONES POTENTIAL. Nikolai Shegunov, Ivan Hristov

Modified Equations for Variational Integrators

Numerical Methods for Differential Equations

Mathematics for chemical engineers. Numerical solution of ordinary differential equations

Ernst Hairer 1, Robert I. McLachlan 2 and Robert D. Skeel 3

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit V Solution of

A New Block Method and Their Application to Numerical Solution of Ordinary Differential Equations

Initial value problems for ordinary differential equations

Butcher tableau Can summarize an s + 1 stage Runge Kutta method using a triangular grid of coefficients

Lecture 2: Symplectic integrators

A NOTE ON EXPLICIT THREE-DERIVATIVE RUNGE-KUTTA METHODS (ThDRK)

Numerical Methods for Differential Equations

Geometric Integrators with Application To Hamiltonian Systems

Numerical Methods for the Solution of Differential Equations

the solution of ()-(), an ecient numerical treatment requires variable steps. An alternative approach is to apply a time transformation of the form t

Parallel-in-time integrators for Hamiltonian systems

Chapter VII. Non-Canonical Hamiltonian Systems

Symplectic integration. Yichao Jing

Energy-Preserving Runge-Kutta methods

Discontinuous Collocation Methods for DAEs in Mechanics

Review Higher Order methods Multistep methods Summary HIGHER ORDER METHODS. P.V. Johnson. School of Mathematics. Semester

THE Hamilton equations of motion constitute a system

Lecture IV: Time Discretization

Introduction to numerical methods for Ordinary Differential Equations

The family of Runge Kutta methods with two intermediate evaluations is defined by

Accuracy Enhancement Using Spectral Postprocessing for Differential Equations and Integral Equations

CHAPTER 10: Numerical Methods for DAEs

Symplectic exponentially-fitted modified Runge-Kutta methods of the Gauss type: revisited

Solving Ordinary Differential equations

A SYMBOLIC-NUMERIC APPROACH TO THE SOLUTION OF THE BUTCHER EQUATIONS

1. Introduction. We consider canonical Hamiltonian systems in the form 0 I y(t 0 ) = y 0 R 2m J = I 0

Module 4: Numerical Methods for ODE. Michael Bader. Winter 2007/2008

On the stability regions of implicit linear multistep methods

Application of Geometric Integration to some Mechanical Problems

Estimating Accuracy in Classical Molecular Simulation

369 Nigerian Research Journal of Engineering and Environmental Sciences 2(2) 2017 pp

Exponential integrators for oscillatory second-order differential equations

A NEW CLASS OF VARIABLE STEP-SIZE METHODS FOR MULTIBODY DYNAMICS

DYNAMICS, NUMERICAL ANALYSIS, AND SOME GEOMETRY

Validated Explicit and Implicit Runge-Kutta Methods

Geometric numerical integration illustrated by the Störmer Verlet method

An Implicit Runge Kutta Solver adapted to Flexible Multibody System Simulation

Stability Ordinates of Adams Predictor-Corrector Methods

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations

ENERGY PRESERVING METHODS FOR VOLTERRA LATTICE EQUATION

THE θ-methods IN THE NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS. Karel J. in t Hout, Marc N. Spijker Leiden, The Netherlands

16.7 Multistep, Multivalue, and Predictor-Corrector Methods

Technische Universität Berlin

Ordinary Differential Equations II

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations

arxiv: v1 [math.na] 31 Oct 2016

The Geometry of Euler s equation. Introduction

About the numerical conservation of first integral by a class of symmetric methods

Ordinary Differential Equations II

Finite Element Decompositions for Stable Time Integration of Flow Equations

Chapter 4 Molecular Dynamics and Other Dynamics

Applications of Mathematics

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations

Adebayo O. Adeniran1, Saheed O. Akindeinde2 and Babatunde S. Ogundare2 * Contents. 1. Introduction

Part IB Numerical Analysis

Numerical Differential Equations: IVP

THEWAY in which time evolution acts on observables may be rephrased in

An algebraic approach to invariant preserving integators: The case of quadratic and Hamiltonian invariants

Structure-preserving General Linear Methods

Numerical Methods for ODEs. Lectures for PSU Summer Programs Xiantao Li

Solving PDEs with PGI CUDA Fortran Part 4: Initial value problems for ordinary differential equations

Implicit-explicit exponential integrators

Long simulations of the Solar System: Brouwer s Law and chaos

NORGES TEKNISK-NATURVITENSKAPELIGE UNIVERSITET. Singly diagonally implicit Runge-Kutta methods with an explicit first stage

Transcription:

Geometric Numerical Integration (Ernst Hairer, TU München, winter 2009/10) Development of numerical ordinary differential equations Nonstiff differential equations (since about 1850), see [4, 2, 1] Adams (1855), multistep methods, problem of Bashforth (1883) Runge (1895) and Kutta (1901), one-step methods. Stiff differential equations (since about 1950), see [5, 2, 1] Dahlquist (1963), A-stability of multistep methods Gear (1971), backward differentiation code. Geometric numerical integration (since 1986), see [3, 7, 6] structure-preserving integration of differential equations, Hamiltonian, reversible, divergence-free, Poisson systems. Provisional contents of the lectures Hamiltonian systems symplectic transformations, theorem of Poincaré generating functions Symplectic numerical integrators Störmer Verlet method symplectic Runge Kutta methods composition and splitting methods Backward error analysis long-time energy conservation perturbed integrable Hamiltonian systems Hamiltonian systems on manifolds constrained mechanical systems (DAE s) numerical integrator RATTLE Differential equations with highly oscillatory solutions Fermi Pasta Ulam type problems modulated Fourier expansion 1

1 Hamiltonian system (double well potential) Consider a differential equation q = U(q) which can also be written as q = p ṗ = U(q) or q = p H(p, q) ṗ = q H(p, q) with H(p, q) = 1 2 pt p + U(q). We have energy conservation along exact solutions: H ( p(t), q(t) ) = Const Numerical experiment with U(q) = (q 2 1) 2, taken from http://sma.epfl.ch/ vilmart/ A quartic Hamiltonian system (double well) 11/22/09 2:18 PM der 1: Symplectic Euler sleep= 30 ms speed= x 1 Start stepsize h= 0.05 q(0)= 0.01 H? p(0)= 0.0 init file:///users/hairer/cours/geo_int/javaanim/martinet.html Page 1 of 2 Explicit Euler Symplectic Euler q n+1 = q n + h p n p n+1 = p n h U(q n ) q n+1 = q n + h p n p n+1 = p n h U(q n+1 ) or q n+1 = q n + h p n+1 p n+1 = p n h U(q n ) 2

2 N-body problem (planetary motion) For p i, q i R 3 we consider the Hamiltonian (kinetic plus potential energy) H(p, q) = 1 2 N i=1 with the gravitational potential 1 m i p T i p i + 1 i<j N U ij ( qi q j ) U ij (r) = G m i m j r Illustration: sun jupiter saturn (http://sma.epfl.ch/ vilmart/) The three body problem Sun-Jupiter-Saturn 11/22/09 5:46 PM sleep= 40 ms speed= x 50 restart Start order 1: Explicit Euler stepsize h= 3 file:///users/hairer/cours/geo_int/javaanim/sunjupitersaturn.html Page 1 of 2 Conserved quantities (first integrals): Hamiltonian (total energy) H(p, q) linear momentum P (p, q) = N i=1 N angular momentum L(p, q) = q i p i i=1 3 p i

3 N-body problem (molecular dynamics) N-body problem as before, but with Lennard Jones potential ( (σij ) 12 ( σij ) ) 6 U ij (r) = 4 ε ij r r Numerical simulation with initial configuration (left picture) and solution after sufficiently long time (right picture), see http://sma.epfl.ch/ vilmart/ Molecular dynamics simulation: Lennard-Jones potential Molecular dynamics simulation: Lennard-Jones potential 11/22/09 6:20 PM 11/22/09 5:47 PM sleep= 40 ms speed= x 1 restart Start sleep= 40 ms speed= x 1 restart Start order 2: Stormer-Verlet stepsize h= 0.05 order 2: Stormer-Verlet stepsize h= 0.05 file:///users/hairer/cours/geo_int/javaanim/lennardjones.html file:///users/hairer/cours/geo_int/javaanim/lennardjones.html Page 1 of 2 Page 1 of 2 4 Idea of backward error analysis For a differential equation ẏ = f(y) consider a numerical solution obtained by a one-step method y n+1 = Φ h (y n ). Find a modified differential equation ẏ = f h (y) of the form ẏ = f(y) + hf 2 (y) + h 2 f 3 (y) +..., such that its solution ỹ(t) satisfies (formally) y n = ỹ(nh). 4

Numerical experiment with double well potential. The following pictures show the exact solution (in phase space (q, p)) and solutions of the modified equation for various numerical integrators. exact solution explicit Euler symplectic Euler explicit in p, implicit in q symplectic Euler explicit in q, implicit in p Modified differential equation for explicit Euler: ( ) ( ) q p = ṗ U + h ( ) ( ) U (q) (q) 2 U + h2 2 U (q)p (q)p 4 2 U U U p 2 +... Modified differential equation for symplectic Euler (expl. in q, impl. in p): ( ) ( ) q p = ṗ U + h ( ) ( ) U (q) (q) 2 U + h2 2 U (q)p (q)p 12 2 U U U p 2 +... this modified equation is Hamiltonian with H(p, q) = 1 2 p2 + U(q) h ) 2 U (q)p + (U h2 (q) 2 + U (q)p 2 12 +... 5

5 Constrained mechanical system Position of corners q i R 3, i = 0,..., 5 (6 3 = 18 variables) Constraints motion of one piece (red) is prescribed, i.e., q 0, q 1, q 2 are fixed (9 conditions), distances between neighbor corners is unity (4 conditions), orthogonality between neighbor edges (q n 1 q n ) (q n+1 q n ) (5 conditions). Graphics: J.-P. Eckmann & M. Hairer Dynamics (red piece is fixed, corners have equal mass one, massless edges) H(p, q) = 1 2 5 p T i p i + i=3 5 q iz, i=3 where q iz is the vertical component of q i. We obtain a differential-algebraic equation (DAE) q i = pi H(p, q) ṗ i = qi H(p, q) G T (q)λ 0 = g(q) Here, q is the vector composed by q 3, q 4, q 5, p = q is the velocity, g(q) = 0 represents the 9 constraints for q, and G(q) = g (q) (matrix of dimension 9 9). 6

6 Euler s equations of motion for a free rigid body The angular momentum vector y = (y 1, y 2, y 3 ) T satisfies ẏ 1 = (I3 1 I2 1 ) y 3 y 2 ẏ 1 0 y 3 y 2 y 1 /I 1 ẏ 2 = (I1 1 I3 1 ) y 1 y 3 or ẏ 2 = y 3 0 y 1 y 2 /I 2 ẏ 3 = (I2 1 I3 1 ) y 2 y 1 ẏ 3 y 2 y 1 0 y 3 /I 3 Hamiltonian: H(y) = 1 2 ( y 2 1 + y2 2 + y2 3 ), Casimir: C(y) = 1 ( ) y1 2 +y2 2 +y3 2 I 1 I 2 I 3 2 1st picture: integration with explicit Euler 2nd picture: trapezoidal rule with projection onto the sphere 3rd picture: implicit midpoint rule 7

References [1] J. C. BUTCHER, Numerical Methods for Ordinary Differential Equations, John Wiley & Sons Ltd., Chichester, 2nd ed., 2008. [2] P. DEUFLHARD AND F. BORNEMANN, Numerische Mathematik 2, de Gruyter Lehrbuch. [de Gruyter Textbook], Walter de Gruyter & Co., Berlin, revised ed., 2008. Gewöhnliche Differentialgleichungen. [Ordinary differential equations]. [3] E. HAIRER, C. LUBICH, AND G. WANNER, Geometric Numerical Integration. Structure-Preserving Algorithms for Ordinary Differential Equations, Springer Series in Computational Mathematics 31, Springer-Verlag, Berlin, 2nd ed., 2006. [4] E. HAIRER, S. P. NØRSETT, AND G. WANNER, Solving Ordinary Differential Equations I. Nonstiff Problems, Springer Series in Computational Mathematics 8, Springer, Berlin, 2nd ed., 1993. [5] E. HAIRER AND G. WANNER, Solving Ordinary Differential Equations II. Stiff and Differential-Algebraic Problems, Springer Series in Computational Mathematics 14, Springer-Verlag, Berlin, 2nd ed., 1996. [6] B. LEIMKUHLER AND S. REICH, Simulating Hamiltonian Dynamics, Cambridge Monographs on Applied and Computational Mathematics 14, Cambridge University Press, Cambridge, 2004. [7] J. M. SANZ-SERNA AND M. P. CALVO, Numerical Hamiltonian problems, vol. 7 of Applied Mathematics and Mathematical Computation, Chapman & Hall, London, 1994. 8