Fundamentals of Molecular Dynamics Simulations

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
Statistical mechanics
Molecular dynamics in different ensembles
Formulation of an algorithm to implement Lowe-Andersen thermostat in parallel molecular simulation package, LAMMPS Prathyusha K. R. and P. B. Sunil Kumar.
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Molecular Biophysics III – dynamics
Molecular Dynamics at Constant Temperature and Pressure Section 6.7 in M.M.
Transfer FAS UAS SAINT-PETERSBURG STATE UNIVERSITY COMPUTATIONAL PHYSICS Introduction Physical basis Molecular dynamics Temperature and thermostat Numerical.
Lecture 13: Conformational Sampling: MC and MD Dr. Ronald M. Levy Contributions from Mike Andrec and Daniel Weinstock Statistical Thermodynamics.
Survey of Molecular Dynamics Simulations: Week 2 By Will Welch For Jan Kubelka CHEM 4560/5560 Fall, 2014 University of Wyoming.
© copyright 2013-William A. Goddard III, all rights reservedCh120a-Goddard-L06 Ch121a Atomic Level Simulations of Materials and Molecules William A. Goddard.
Molecular Dynamics. Basic Idea Solve Newton’s equations of motion Choose a force field (specified by a potential V) appropriate for the given system under.
LINCS: A Linear Constraint Solver for Molecular Simulations Berk Hess, Hemk Bekker, Herman J.C.Berendsen, Johannes G.E.M.Fraaije Journal of Computational.
Techniques for rare events: TA-MD & TA-MC Giovanni Ciccotti University College Dublin and Università “La Sapienza” di Roma In collaboration with: Simone.
Joo Chul Yoon with Prof. Scott T. Dunham Electrical Engineering University of Washington Molecular Dynamics Simulations.
Simulations Patrice Koehl Department of Biological Sciences National University of Singapore
Bioinf. Data Analysis & Tools Molecular Simulations & Sampling Techniques117 Jan 2006 Bioinformatics Data Analysis & Tools Molecular simulations & sampling.
‘Tis not folly to dream: Using Molecular Dynamics to Solve Problems in Chemistry Christopher Adam Hixson and Ralph A. Wheeler Dept. of Chemistry and Biochemistry,
Introduction to (Statistical) Thermodynamics
MSc in High Performance Computing Computational Chemistry Module Introduction to Molecular Dynamics Bill Smith Computational Science and Engineering STFC.
Molecular Dynamics Simulations
1 Physical Chemistry III Molecular Simulations Piti Treesukol Chemistry Department Faculty of Liberal Arts and Science Kasetsart University :
STATIC EQUILIBRIUM [4] Calkin, M. G. “Lagrangian and Hamiltonian Mechanics”, World Scientific, Singapore, 1996, ISBN Consider an object having.
Room 2032 China Canada Winnipeg Manitoba.
Free energies and phase transitions. Condition for phase coexistence in a one-component system:
Javier Junquera Molecular dynamics in the microcanonical (NVE) ensemble: the Verlet algorithm.
Molecular Dynamics Simulations An Introduction TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA A A A A Pingwen Zhang.
A PPLIED M ECHANICS Lecture 02 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Molecular Dynamics Simulation Solid-Liquid Phase Diagram of Argon ZCE 111 Computational Physics Semester Project by Gan Sik Hong (105513) Hwang Hsien Shiung.
Molecular Dynamics A brief overview. 2 Notes - Websites "A Molecular Dynamics Primer", F. Ercolessi
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December 2001 Lecture 18: First Look at Molecular Dynamics CASTEP Developers’ Group.
Minimization v.s. Dyanmics A dynamics calculation alters the atomic positions in a step-wise fashion, analogous to energy minimization. However, the steps.
Basics of molecular dynamics. Equations of motion for MD simulations The classical MD simulations boil down to numerically integrating Newton’s equations.
1 CE 530 Molecular Simulation Lecture 6 David A. Kofke Department of Chemical Engineering SUNY Buffalo
8. Selected Applications. Applications of Monte Carlo Method Structural and thermodynamic properties of matter [gas, liquid, solid, polymers, (bio)-macro-
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
Understanding Molecular Simulations Introduction
In the Hamiltonian Formulation, the generalized coordinate q k & the generalized momentum p k are called Canonically Conjugate quantities. Hamilton’s.
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Instructor: David Ceperley ESB Teaching Assistants: ChangMo Yang and Ray Clay Text Book: Understanding Molecular Simulation, by Frenkel and Smit.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Incremental Integration of Computational Physics into Traditional Undergraduate Courses Kelly R. Roos, Department of Physics, Bradley University Peoria,
1 CE 530 Molecular Simulation Lecture 12 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Path Integral Quantum Monte Carlo Consider a harmonic oscillator potential a classical particle moves back and forth periodically in such a potential x(t)=
Molecular dynamics (1) Principles and algorithms.
Monte Carlo method: Basic ideas. deterministic vs. stochastic In deterministic models, the output of the model is fully determined by the parameter values.
Phy 303: Classical Mechanics (2) Chapter 3 Lagrangian and Hamiltonian Mechanics.
An Introduction to Monte Carlo Methods in Statistical Physics Kristen A. Fichthorn The Pennsylvania State University University Park, PA
Molecular dynamics (2) Langevin dynamics NVT and NPT ensembles
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Review Session BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 17 Some materials adapted from Prof. Keith E. Gubbins:
Canonical Equations of Motion -- Hamiltonian Dynamics
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
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.
Computational Physics (Lecture 11) PHY4061. Variation quantum Monte Carlo the approximate solution of the Hamiltonian Time Independent many-body Schrodinger’s.
Numerical Solutions to the Diffusion Equation
Simulations Patrice Koehl Department of Biological Sciences
Chapter 6 Applications of
Simulation Study of Phase Transition of Diblock Copolymers
Overview of Molecular Dynamics Simulation Theory
Dynamic Scaling of Surface Growth in Simple Lattice Models
Computational Physics (Lecture 20)
Molecular Modelling - Lecture 3
Molecular Dynamics.
Teaching Assistant: See website
Energy dissipation and FDR violation
Advanced Molecular Dynamics
Common Types of Simulations
Presentation transcript:

Fundamentals of Molecular Dynamics Simulations Fundamentals of MD Simulations Fundamentals of Molecular Dynamics Simulations Presented by: Mohamad Raad, Ph.D. Student Dec.10 , 2012 Tutors: Dr. H. Behnejad Faculty of Science, University of Tehran

Fundamentals of MD Simulations

Why MD simulations? Link physics, chemistry and biology Model phenomena that cannot be observed experimentally Understand protein folding… Access to thermodynamics quantities (free energies, binding energies,…)

Introduction Molecular dynamics is a form of simulations in which atoms and molecules are allowed to interact for a period of time by approximations of known physics, giving a view of the motion of the particles.   Main justification of the MD method is that statistical ensemble averages are equal to time averages of the system. MD simulation generates a sequence of points in phase space connected in time, result in trajectory of all particles. Use current positions, velocity and acceleration of atoms and find the position and velocity in next time step. We combine these infinitesimal steps to find the trajectory of the particle.

Steps in Performing an MD Simulation Selection of interaction model Selection of boundary conditions Selection of initial conditions (positions, velocities . . . ) Selection of ensemble (NVE, NVT, NPT . . . ) Selection of target temperature, density/pressure . . . Selection of integrator, thermostat, barostat . . . Perform simulation until equilibration is reached (property dependent) Perform production simulation to collect thermodynamic averages, positions, velocities Analyze the results via post-processing Initialize: Initial particle positions, velocities ... Calculate forces from particle positions Loop over time- steps Solve Newton’s eqns. of motion (integrate) Perform analysis / Write data to disk

Basic MD Simulation : The Idea Follow the exactly same procedure as real experiments Prepare sample prepare N particles solve equation of motions Connect sample to measuring instruments (e.g. thermometer, viscometer,…) after equilibration time, actual measurement begins Measure the property of interest for a certain time interval average properties Example : measurement of temperature

How does MD work Initialize Extract data Approach to equilibrium The algorithm of a standard MD simulation for studying systems in equilibrium is: Initialize Approach to equilibrium Extract data

Initialize Parameters in use: the number of particles, the form of interaction, the boundary condition, the temperature etc. Positions, e.g. the sites of a Bravais-fcc lattice Momenta, e.g. the Maxwell distribution

Approach to equilibrium The Verlet algorithm (original form): h: the time step, typically 10-15 ~ 10-14 seconds

Extract data The expectation value of a static physical quantity is determined as a time average according to The correlation function (in an isotropic system) is defined by n(r): the average number of pairs within [r, r+Δr]

MD as a tool for minimization Energy Molecular dynamics uses thermal energy to explore the energy surface State A State B position Energy minimization stops at local minima

Fundamentals of MD Simulations neighbor lists force calculation is the most time-consuming part in a MD simulation → save CPU time by using neighbor lists Verlet list: cell list: update when a particle has made a displacement > (rskin-rcut)/2 most efficient is a combination of Verlet and cell list 34

Equation of Motion Classical Newton’s equation of motion Three formulation Newtonian Lagrangian Hamiltonian Hamiltonian preferred for many-body systems solution of 2N differential equations Solution methods : Finite Difference Method

Newton‘s equations of motion Fundamentals of MD Simulations Newton‘s equations of motion classical system of N particles at positions Upot : potential function, describes interactions between the particles simplest case: pairwise additive interaction between point particles solution of equations of motion yield trajectories of the particles, i.e. positions and velocities of all the particles as a function of time 36

The Lagrange and Hamilton Forms Fundamentals of MD Simulations The Lagrange and Hamilton Forms These equations also apply to the center of mass motion of a molecule with fi representing the total force on molecule i. The generalized momentum pk conjugate to qk is defined as An alternative formulation uses Hamilton’s equations For Cartesian coordinates Hamilton’s equations become

What the integration algorithm does Fundamentals of MD Simulations What the integration algorithm does Advance the system by a small time step Dt during which forces are considered constant Recalculate forces and velocities Repeat the process If Dt is small enough, solution is a reasonable approximation

Verlet algorithm

A widely-used algorithm: Leap-frog Verlet Fundamentals of MD Simulations A widely-used algorithm: Leap-frog Verlet Using accelerations of the current time step, compute the velocities at half-time step: v(t+Dt/2) = v(t – Dt/2) + a(t)Dt v t-Dt/2 t t+Dt/2 t+Dt t+3Dt/2 t+2Dt

A widely-used algorithm: Leap-frog Verlet Fundamentals of MD Simulations A widely-used algorithm: Leap-frog Verlet Using accelerations of the current time step, compute the velocities at half-time step: v(t+Dt/2) = v(t – Dt/2) + a(t)Dt Then determine positions at the next time step: X(t+Dt) = X(t) + v(t + Dt/2)Dt v X t-Dt/2 t t+Dt/2 t+Dt t+3Dt/2 t+2Dt

A widely-used algorithm: Leap-frog Verlet Fundamentals of MD Simulations A widely-used algorithm: Leap-frog Verlet Using accelerations of the current time step, compute the velocities at half-time step: v(t+Dt/2) = v(t – Dt/2) + a(t)Dt Then determine positions at the next time step: X(t+Dt) = X(t) + v(t + Dt/2)Dt v v X t-Dt/2 t t+Dt/2 t+Dt t+3Dt/2 t+2Dt

Fundamentals of MD Simulations

CONSTANT TEMPERATURE (NVT) METHODS Andersén method Langevin thermostat Dissipative Particle Dynamics thermostat Nosé-Hoover method Nosé-Hoover Chain Method

CONSTANT PRESSURE AND TEMPERATURE (NPT) Andersén Pressure Control Parrinello-Rahman Pressure Control

simulations at constant temperature: a simple thermostat idea: with a frequency ν assign new velocities to randomly selected particles according to a Maxwell-Boltzmann (MB) distribution with the desired temperature simple version: assign periodically new velocities to all the particles (typically every 150 time steps) algorithm: take new velocities from distribution total momentum should be zero scale velocities to desired temperature

Where is the Physics? Potential energy functions Interaction force Cut-off distance Integrators Energy conservation Time reversibility Physical constraints Constant temperature Constant pressure

How do you run a MD simulation? For each time step: Compute the force on each atom: Solve Newton’s 2nd law of motion for each atom, to get new coordinates and velocities Store coordinates Stop X: cartesian vector of the system M diagonal mass matrix .. means second order differentiation with respect to time Newton’s equation cannot be solved analytically: Use stepwise numerical integration

MC vs. MD MC Probabilistic simulation technique Limitations require the knowledge of an equilibrium distribution rigorous sampling of large number of possible phase-space gives only configurational properties (not dynamic properties !) MD Deterministic simulation technique Fully numerical formalism numerical solution of N-body system

Disadvantages: MD simulations compared with MC simulations (II) More limited scale Difficult to be incorporated with quantum mechanics Advantages: Dynamical phenomena Nonequilibrium properties Structural properties

Scales in Simulations Time Scale 10-6 S 10-8 S 10-12 S 10-10 M 10-8 M continuum mesoscale Monte Carlo Time Scale 10-6 S molecular dynamics domain 10-8 S quantum chemistry exp(- D E/kT) 10-12 S F = MA Hy = Ey 10-10 M 10-8 M 10-6 M 10-4 M Length Scale

M. Allen, D. J. Tildesley, Computer Simulation of Liquids (Clarendon Press, Oxford, 1987) D. Rapaport, The Art of Molecular Dynamics (Cambridge University Press, Cambridge, 1995) D. Frenkel, B. Smit, Understanding Molecular Simulation: From Algorithms to Applications (Academic Press, San Diego, 1996) K. Binder, G. Ciccotti (eds.), Monte Carlo and Molecular Dynamics of Condensed Matter Systems (Societa Italiana di Fisica, Bologna, 1996)

Thank you for your attention! J. M. Thijssen, Computational Physics, Cambridge University Press (1999) T. Pang, An Introduction to Computational Physics, Cambridge University Press (1997) and the references therein. Thank you for your attention!