Molecular Dynamics Classical trajectories and exact solutions

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Example Project and Numerical Integration Computational Neuroscience 03 Lecture 11.
Formal Computational Skills
Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
Chapter 6 Differential Equations
Molecular dynamics in different ensembles
Molecular Dynamics at Constant Temperature and Pressure Section 6.7 in M.M.
Lecture 13: Conformational Sampling: MC and MD Dr. Ronald M. Levy Contributions from Mike Andrec and Daniel Weinstock Statistical Thermodynamics.
© copyright 2013-William A. Goddard III, all rights reservedCh120a-Goddard-L06 Ch121a Atomic Level Simulations of Materials and Molecules William A. Goddard.
A Digital Laboratory “In the real world, this could eventually mean that most chemical experiments are conducted inside the silicon of chips instead of.
LINCS: A Linear Constraint Solver for Molecular Simulations Berk Hess, Hemk Bekker, Herman J.C.Berendsen, Johannes G.E.M.Fraaije Journal of Computational.
Integration Techniques
Introduction to Molecular Orbitals
Computational Methods in Physics PHYS 3437
Computational Solid State Physics 計算物性学特論 第2回 2.Interaction between atoms and the lattice properties of crystals.
Fundamental concepts and terminology of Verification and Validation Verification is the process that checks whether mathematical model was implemented.
Molecular Dynamics Simulation (a brief introduction)
The Calculation of Enthalpy and Entropy Differences??? (Housekeeping Details for the Calculation of Free Energy Differences) first edition: p
MAT 594CM S10Fundamentals of Spatial ComputingAngus Forbes Week 2 : Dynamics & Numerical Methods Goal : To write a simple physics simulation Topics: Intro.
ECIV 201 Computational Methods for Civil Engineers Richard P. Ray, Ph.D., P.E. Error Analysis.
1cs533d-winter-2005 Notes  More optional reading on web for collision detection.
Radiative Transfer with Predictor-Corrector Methods ABSTRACT TITLE : Radiative Transfer with Predictor-Corrector Methods OBJECTIVE: To increase efficiency,
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
Part 3 Truncation Errors.
1cs533d-term Notes  list Even if you’re just auditing!
Joo Chul Yoon with Prof. Scott T. Dunham Electrical Engineering University of Washington Molecular Dynamics Simulations.
Physics 151: Principles of Physics: Mechanics & Heat (Honors) Prof. Stan Zygmunt Neils
Molecular Modeling: Reaction Rates C372 Introduction to Cheminformatics II Kelsey Forsythe.
Molecular Modeling Part I Molecular Mechanics and Conformational Analysis ORG I Lab William Kelly.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Boyce/DiPrima 9th ed, Ch 8.4: Multistep Methods Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and Richard.
Molecular Dynamics Simulations
Erin Catto Blizzard Entertainment Numerical Integration.
Javier Junquera Molecular dynamics in the microcanonical (NVE) ensemble: the Verlet algorithm.
Molecular Dynamics Simulation Solid-Liquid Phase Diagram of Argon ZCE 111 Computational Physics Semester Project by Gan Sik Hong (105513) Hwang Hsien Shiung.
Simulating Electron Dynamics in 1D
Smoothed Particle Hydrodynamics (SPH) Fluid dynamics The fluid is represented by a particle system Some particle properties are determined by taking an.
Basics of molecular dynamics. Equations of motion for MD simulations The classical MD simulations boil down to numerically integrating Newton’s equations.
Force Fields and Numerical Solutions Christian Hedegaard Jensen - within Molecular Dynamics.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Mark Nelson Movement and physics Fall 2013
Molecular Dynamics Simulations. Objective : To understand the properties of materials Question : How to accomplish the goal? Answer : Positions and momentums.
1 Solution of Nonlinear Equation Dr. Asaf Varol
Molecular Mechanics Studies involving covalent interactions (enzyme reaction): quantum mechanics; extremely slow Studies involving noncovalent interactions.
CSCE 552 Fall 2012 Math, Physics and Collision Detection By Jijun Tang.
1 CE 530 Molecular Simulation Lecture 23 Symmetric MD Integrators David A. Kofke Department of Chemical Engineering SUNY Buffalo
Sensitivity derivatives Can obtain sensitivity derivatives of structural response at several levels Finite difference sensitivity (section 7.1) Analytical.
Numerical Modeling in Astronomy By Astronomers who sleep at night.
Introduction to Particle Simulations Daniel Playne.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Dynamics of Uniform Circular Motion Uniform Circular Motion Centripetal Acceleration Centripetal Force Satellites in Circular Orbits Vertical Circular.
حرارة وديناميكا حرارية
Particle Systems. Applications Particle systems are broadly defined for: Explosion Cloth Fluid And more… It is integrated into many animation software,
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Game Technology Animation V Generate motion of objects using numerical simulation methods Physically Based Animation.
CHAPTER- 3.2 ERROR ANALYSIS. 3.3 SPECIFIC ERROR FORMULAS  The expressions of Equations (3.13) and (3.14) were derived for the general relationship of.
Molecular dynamics (MD) simulations  A deterministic method based on the solution of Newton’s equation of motion F i = m i a i for the ith particle; the.
Introduction to Computer Simulation of Physical Systems (Lecture 3) Simulating Particle Motion PHYS 3061.
Computational Physics (Lecture 11) PHY4061. Variation quantum Monte Carlo the approximate solution of the Hamiltonian Time Independent many-body Schrodinger’s.
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
Finite Difference Methods
Modeling of Traffic Flow Problems
Integrators of higher order
Overview of Molecular Dynamics Simulation Theory
s= mt+constant where m=Ds/Dt i.e., speed
Chapter 9: Molecular-dynamics
GPAT – Chapter 7 Physics.
Presentation transcript:

Molecular Dynamics Classical trajectories and exact solutions Finite difference methods: the Verlet algorithm and variants Predictor-corrector methods Choosing an algorithm and time step

Classical Trajectory Simulated atoms are modeled classically, by Newton’s second Law For particle i with position xi, Forces are determined by the specific program used

Simplest case: Hard Spheres In this, earliest model, interactions occur only in collision. (no Van der Walls forces) Acceleration only occurs at discrete times: when a collision occurs. The trajectories can be solved exactly More sophisticated models have continuous interactions, Each motion is coupled to all other motions; this results in a many-body problem with no analytic solution

The time step dt The numeric solution to the dilemma of the coupling of motions is to use a finite time step, labeled dt. For this timeframe, the changes to the force on the particle due to its own motion are neglected, avoiding the many-body problem. Trajectories of the particles are approximated using a Taylor series:

The Verlet algorithm The next step can be predicted from the Taylor expansion: Similarly, the previous step: Taking the difference cancels the velocity term: Velocity need not be explicitly calculated, but can be estimated, e.g.:

Using Verlet The Verlet algorithm is straightforward and easy to implement However, it requires a previous step’s position, so the first step requires an additional position, which can be estimated simply: (from truncated Taylor expansion.) Numeric problems can arise from the small dt2a(t) being added to the much larger r(t) and r(t-dt) terms

The Half-Step (‘Leapfrog’) Velocities are calculated, halfway between position steps: Explicitly includes the velocity, so energy scaling is easier Avoids a dt2 term, so numeric (rounding) errors are smaller Positions and velocities are not known simultaneously, complicating analysis of the results.

Velocity Verlet This method also uses a half-step velocity calculation: After which a(t+dt) is computed, then the next v:

(a): Verlet (b): Half-Step (Leapfrog) (c ): Velocity Verlet

Beeman’s algorithm Somewhat similar to velocity Verlet: More complicated and requires more memory than velocity Verlet, but is more consistent in energetic consistency.

Gear’s Predictor-Corrector methods Predict ac(t+dt) from the Taylor expansion at the starting point Begin with a simple prediction, as in any of the previous methods Initially step to r(t+dt), v (t+dt), a(t+dt),b(t+dt) at that point. The difference between the a(t+dt) and the predicted ac(t+dt): Estimates the error in the initial step, which is used to correct:

More Predictor-Corrector The set of constants to use is parameterized. For the third-order example above Gear suggested: c0=1/6, c1=5/6, c2=1 (obviously), c3=1/3 These change with different order computations This method can be iterated over the same step to improve the step prediction. This is usually done two or three times. Gear methods are very accurate with short time steps, but are worse than simpler methods for long time steps.

Error with respect to size of timestep Circles: Verlet Squares: Gear 4th order Triangles: Gear 5th order Diamonds: Gear 6th order (RMS Energy deviation) (log/log scale)

Choosing a time step Too short - computation needlessly slow Too long - errors result from approximations Just right - errors acceptable, maximum speed

Overlong Timesteps Particularly near collisions, The forces change quickly. Errors in these regions are compounded in subsequent steps. Simulation of the interatomic distance between two Argon atoms at two dts. The difference from the exact path is plotted.

Choosing an Integration Algorithm Usual test of adequacy of the algorithm is the size of the RMS of the total energy variance over a number of steps. This is strongly dependent on the step size. While methods are better with smaller sizes, some scale up better than others. Often, the best algorithm to choose is the one which maximizes (maximum accurate step size / computation time per step) Other factors may be relevant (memory required, self-starting, compatibility with other algorithms)