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

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

Introduction to Hamiltonian systems

Geometric Numerical Integration

Scientific Computing II

COMBINED EXPLICIT-IMPLICIT TAYLOR SERIES METHODS

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

Parallel-in-time integrators for Hamiltonian systems

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations

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

Chap. 20: Initial-Value Problems

Lecture IV: Time Discretization

Liouville Equation. q s = H p s

Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators

Backward error analysis

Symplectic integration. Yichao Jing

ON THE INTEGRATION OF EQUATIONS OF MOTION: FEM AND MOLECULAR DYNAMICS PROBLEMS

Physics 115/242 Comparison of methods for integrating the simple harmonic oscillator.

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras

Chapter 1 Symplectic Integrator and Beam Dynamics Simulations

THE Hamilton equations of motion constitute a system

Reducing round-off errors in symmetric multistep methods

Chaotic motion. Phys 420/580 Lecture 10

Numerical Methods for Initial Value Problems; Harmonic Oscillators

What is Classical Molecular Dynamics?

THE USE OF CALCULATORS, BOOKS, NOTES ETC. DURING THIS EXAMINATION IS PROHIBITED. Do not write in the blanks below. 1. (5) 7. (12) 2. (5) 8.

Chaotic motion. Phys 750 Lecture 9

Ordinary Differential Equations

Numerical Methods for the Solution of Differential Equations

Reducing round-off errors in rigid body dynamics

Ordinary Differential Equations

Lecture 11 : Overview

The Adiabatic Invariance of the Action Variable in Classical Dynamics

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

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

Implicit-explicit variational integration of highly oscillatory problems

Introduction to numerical methods for Ordinary Differential Equations

Runga-Kutta Schemes. Exact evolution over a small time step: Expand both sides in a small time increment: d(δt) F (x(t + δt),t+ δt) Ft + FF x ( t)

Conjugate Gradient (CG) Method

Practical Course Scientific Computing and Visualization

Symplectic Runge-Kutta methods satisfying effective order conditions

ME Computational Fluid Mechanics Lecture 5

Differential Equations

Assignment 8. [η j, η k ] = J jk

9.6 Predictor-Corrector Methods

Canonical transformations (Lecture 4)


Figure 1: System of three coupled harmonic oscillators with fixed boundary conditions. 2 (u i+1 u i ) 2. i=0

Numerical Methods for Initial Value Problems; Harmonic Oscillators

Advanced Molecular Molecular Dynamics

Lecture V: The game-engine loop & Time Integration

Math 128A Spring 2003 Week 12 Solutions

Numerical methods for physics simulations.

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

( r) = 1 Z. e Zr/a 0. + n +1δ n', n+1 ). dt ' e i ( ε n ε i )t'/! a n ( t) = n ψ t = 1 i! e iε n t/! n' x n = Physics 624, Quantum II -- Exam 1

3.4 Numerical orbit integration

ECE 422/522 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability

M.SC. PHYSICS - II YEAR

Overview of Solution Methods

Time stepping methods

Born simulation report

Pendulum with a vibrating base

Kinematics. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Kinematics Semester 1, / 15

Applied Math for Engineers

Efficient Leaping Methods for Stochastic Chemical Systems

Kinematics. Basilio Bona. October DAUIN - Politecnico di Torino. Basilio Bona (DAUIN - Politecnico di Torino) Kinematics October / 15

COURSE Iterative methods for solving linear systems

Physical Dynamics (SPA5304) Lecture Plan 2018

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

8 Numerical Integration of Ordinary Differential

Lecture 4: High oscillations

The Simple Double Pendulum

AN OVERVIEW. Numerical Methods for ODE Initial Value Problems. 1. One-step methods (Taylor series, Runge-Kutta)

Domain decomposition schemes with high-order accuracy and unconditional stability

Periodic functions: simple harmonic oscillator

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

SYMMETRIC PROJECTION METHODS FOR DIFFERENTIAL EQUATIONS ON MANIFOLDS

Partitioned Methods for Multifield Problems

Chapter 2: Complex numbers

Initial value problems for ordinary differential equations

Problem Solving Session 10 Simple Harmonic Oscillator Solutions

AIMS Exercise Set # 1

Physics 115/242 The leapfrog method and other symplectic algorithms for integrating Newton s laws of motion

Massachusetts Institute of Technology Department of Physics. Final Examination December 17, 2004

Accuracy Enhancement Using Spectral Postprocessing for Differential Equations and Integral Equations

Solving Linear Systems

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras

On interval predictor-corrector methods

NUMERICAL METHODS FOR SECOND-ORDER STOCHASTIC DIFFERENTIAL EQUATIONS

ODEs. PHY 688: Numerical Methods for (Astro)Physics

Introduction to the Numerical Solution of IVP for ODE

The Finite Element Method for the Analysis of Non-Linear and Dynamic Systems: Non-Linear Dynamics Part I

Modified Equations for Variational Integrators

Kalman Filter. Predict: Update: x k k 1 = F k x k 1 k 1 + B k u k P k k 1 = F k P k 1 k 1 F T k + Q

11/17/10. Chapter 14. Oscillations. Chapter 14. Oscillations Topics: Simple Harmonic Motion. Simple Harmonic Motion

A STUDY OF GENERALIZED ADAMS-MOULTON METHOD FOR THE SATELLITE ORBIT DETERMINATION PROBLEM

Handout 10: Inductance. Self-Inductance and inductors

8.1 Introduction. Consider the initial value problem (IVP):

MTH 452/552 Homework 3

Physical Dynamics (PHY-304)

Transcription:

TAYLOR SERIES METHOD FOR SYSTEM OF PARTICLES INTERACTING VIA LENNARD-JONES POTENTIAL Nikolai Shegunov, Ivan Hristov March 9, Seminar in IMI,BAS,Soa 1/25

Mathematical model We consider the Hamiltonian : N H(p, q) = 1 1 2 m pt p i i + N 1 i=1 i=1 N j=i+1 4ε[( σ r ij ) 12 ( σ r ij ) 6 ] r ij = q i q j 2 is the distance between i-th and j-th particles. m, ε, σ are suitable constants depending on the atoms. We normalize time and space this way: t t = σm 1/2 ε 1/2, q = q σ Omitting tilde we have the normalized system: ṗ i = H q i = 24 N (2( 1 ) 14 ( 1 ) 8 )(q i q j ) r ij r ij j=1 q i = H = p i p i p i and q i are vectors in R d, d = 1, 2, 3 but we omit the arrow. The only exception is next slide. 2/25

Numerical method - Taylor Series Method We need to calculate derivatives (with respect to time) of solution via partial derivatives of H. For example for second derivatives we have Let r = ( q 1, q 2,... q N, p 1, p 2,..., p N ) T Explicit Taylor method Implicit Taylor method 3/25

For second derivatives in our case we have: p i = 24 q i = ṗ i = 24 N j=1 N (2( 1 ) 14 ( 1 ) 8 )(q i q j ) r ij r ij j=1 ( 28( 1 r ij ) 16 +8( 1 r ij ) 10 )((q i q j ) T (p i p j ))(q i q j ) +24 N (2( 1 ) 14 ( 1 ) 8 )(p i p j ) r ij r ij j=1 Third derivatives are also easy to calculate but they have more sums. We use them in our calculations. 4/25

We denote explicit method that use rst derivative with ex1. This is actually Explicit Euler method. Implicit method that use st derivative is im1. This is actually Implicit Euler. The methods that use rst and second derivatives are ex2 and im2. The methods that use rst,second and third derivatives are ex3 and im3. We also consider composition methods (half step with implicit (explicit) and then half step explicit (implicit)). We have in addition ex1 im1,im1 ex1, ex2 im2, im2 ex2,ex3 im3,im3 ex3. Let us mention that: ex1 im1=implicit midpoint rule (symplectic) im1 ex1=trapezidual rule(not symplectic but also very good) Verlet method = one Seidel correction for im1 ex1 with explicit Euler with entire step as predictor. Seidel correction means using already updated q for updating p. 5/25

Predictor-corrector scheme We solve implicit method as predictor-corrector. Predictor is the explicit formula of the same order. Corrections are with implicit formula. For example for im2 we have. Predictor: r (0) (t + τ ) = r(t) + τ ṙ(t) + τ 2 r(t) 2 Corrections: r (k+1) (t + τ ) = r(t) + τ ṙ(t + τ ) (k) τ 2 r(t + τ )(k) 2 This is simple iteration. The derivatives of p depends on q and we can use already updated q. This gives Seidel iteration which is actually better. 6/25

Stopping criterion for iterative process Let (k) = max i=1,...,n r i (k) r i (k 1) is the increment of two successive approximations. N is the number of particles. r i = ( p i, q i ) Following Ernst Hairer we iterate until either (k) = 0 or (k) (k 1) which indicates that increments of the iteration start to oscillate due to roundo. 7/25

Discretization error 8/25

Discretization error 9/25

Discretization error 10/25

Stability on the test equation of linear oscillator We have the Hamiltonian H(p, q) = 1 2 p2 + 1 2 ω2 q 2, ω > 0 ṗ = H q = ω2 q q = H p = p Exact solution of the test initial problem is ( p(t) ωq(t) ) ( ) ( ) cos ωt sin ωt p(0) = sin ωt cos ωt ωq(0) As we expect growth matrices for dierent methods are with truncated cos and sin series elements! 11/25

All composition methods give orthogonal matrices! That means exactly conserving the energy for harmonic oscillator! Remember that composition methods are ex1 im1, im1 ex1, ex2 im2, im2 ex2 ex3 im3, im3 ex3. For all of them we stay on the circle with small phase error of corresponding order of the method! For example the growth matrix A for ex1 im1 is: A = ( 1 τ ω 2 τ ω 2 1 ) 1 ( 1 τ ω 2 τ ω 1 2 ) 12/25

Stability on the test equation of linear oscillator Ex1 and ex2 are not stable for every choice of step τ! The energy grows! Im1 and im2 are stable for every choice of step τ! But the energy decrease which is not physical! 13/25

Stability on the test equation of linear oscillator In contrast to Ex1 and Ex2, Ex3 is stable for certain step sizes. As calculations show ex3 method is conditionally stable: τ ω < 1.732 In some cases Ex3 could be a good choice of method. 14/25

The experiments conrm the conditionally stability of Ex3. 15/25

Numerical experiments and results We solve numerically two problems for our experiments. 1) Molecular analog of pendulum (two particles oscillator) 2) 12 particles in 8x8 box and periodic boundary conditions (as the example from the book of Gould and Tabochnik An itroduction to computer simulation methods). The experiments show that all composition methods behaves as symplectic, that is The error in H is O(τ k ). The global error error is O(tτ k ),k is the order of accuracy. 16/25

. Simple iteration versus Seidel 17/25

Simple iteration versus Seidel 18/25

Testing for accuracy of Im3 Ex3 Conrming fourth order accuracy 19/25

Testing for accuracy of Im3 Ex3 20/25

Global error behavior for molecule oscillator, Im3 Ex3 21/25

Long time integration for molecule oscillator, Im3 Ex3 22/25

Long time integration for molecule oscillator, Im3 Ex3 23/25

Long time integration for 12 particles in 8x8 box, Im3 Ex3 24/25

25/25