Molecular Dynamics A brief overview. 2 Notes - Websites "A Molecular Dynamics Primer", F. Ercolessi

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

PRAGMA – 9 V.S.S.Sastry School of Physics University of Hyderabad 22 nd October, 2005.
Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
Statistical mechanics
Molecular dynamics in different ensembles
How to setup the initial conditions for a Molecular Dynamic Simulation
Ab Initio and Effective Fragment Potential Dynamics Heather M. Netzloff and Mark S. Gordon Iowa State University.
Formulation of an algorithm to implement Lowe-Andersen thermostat in parallel molecular simulation package, LAMMPS Prathyusha K. R. and P. B. Sunil Kumar.
Biological fluid mechanics at the micro‐ and nanoscale Lecture 7: Atomistic Modelling Classical Molecular Dynamics Simulations of Driven Systems Anne Tanguy.
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.
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.
A Digital Laboratory “In the real world, this could eventually mean that most chemical experiments are conducted inside the silicon of chips instead of.
Survey of Molecular Dynamics Simulations By Will Welch For Jan Kubelka CHEM 4560/5560 Fall, 2014 University of Wyoming.
Molecular Dynamics Basics (4.1, 4.2, 4.3) Liouville formulation (4.3.3) Multiple timesteps (15.3)
Molecular Dynamics Molecular dynamics Some random notes on molecular dynamics simulations Seminar based on work by Bert de Groot and many anonymous Googelable.
Continuous Time Monte Carlo and Driven Vortices in a Periodic Potential V. Gotcheva, Yanting Wang, Albert Wang and S. Teitel University of Rochester Lattice.
Joo Chul Yoon with Prof. Scott T. Dunham Electrical Engineering University of Washington Molecular Dynamics Simulations.
Bioinf. Data Analysis & Tools Molecular Simulations & Sampling Techniques117 Jan 2006 Bioinformatics Data Analysis & Tools Molecular simulations & sampling.
Advanced methods of molecular dynamics Monte Carlo methods
Introduction to (Statistical) Thermodynamics
MSc in High Performance Computing Computational Chemistry Module Introduction to Molecular Dynamics Bill Smith Computational Science and Engineering STFC.
Monte-Carlo simulations of the structure of complex liquids with various interaction potentials Alja ž Godec Advisers: prof. dr. Janko Jamnik and doc.
Molecular Dynamics Simulations
1 Physical Chemistry III Molecular Simulations Piti Treesukol Chemistry Department Faculty of Liberal Arts and Science Kasetsart University :
Algorithms and Software for Large-Scale Simulation of Reactive Systems _______________________________ Ananth Grama Coordinated Systems Lab Purdue University.
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.
Molecular Dynamics Simulation Solid-Liquid Phase Diagram of Argon ZCE 111 Computational Physics Semester Project by Gan Sik Hong (105513) Hwang Hsien Shiung.
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.
Basic Monte Carlo (chapter 3) Algorithm Detailed Balance Other points.
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 CE 530 Molecular Simulation Lecture 6 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Molecular Dynamics Simulation
Chapter 6: Molecular Dynamics
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
Dissipative Particle Dynamics. Molecular Dynamics, why slow? MD solves Newton’s equations of motion for atoms/molecules: Why MD is slow?
Understanding Molecular Simulations Introduction
Molecular Dynamics simulations
Computational Biology BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.
1 CE 530 Molecular Simulation Lecture 23 Symmetric MD Integrators David A. Kofke Department of Chemical Engineering SUNY Buffalo
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,
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.
Interacting Molecules in a Dense Fluid
Review Session BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.
Monte Carlo methods (II) Simulating different ensembles
Molecular Dynamics Simulations and the Importance of
Molecular dynamics (4) Treatment of long-range interactions Computing properties from simulation results.
Phase behavior of Methane Clusters from MD Calculations Ana Proykova University of Sofia Gordon Research Conference on Molecular & Ionic Clusters Centre.
1 Announcements lecture slides online wireless account lifetime group photo Monday morning 1.
Computational Physics (Lecture 18) PHY4061. Molecular dynamics simulations Most physical systems are collections of interacting objects. – a drop of water.
Systematic errors of MC simulations Equilibrium error averages taken before the system has reached equilibrium  Monitor the variables you are interested.
Implementation of the TIP5P Potential
Overview of Molecular Dynamics Simulation Theory
Monte Carlo methods 10/20/11.
Fundamentals of Molecular Dynamics Simulations
Computational Physics (Lecture 18)
Computational Physics (Lecture 20)
Molecular Modelling - Lecture 3
Presentation transcript:

Molecular Dynamics A brief overview

2 Notes - Websites "A Molecular Dynamics Primer", F. Ercolessi "Scientific computing and visualization", A. Nakano University of Southern California "The Art of Molecular Dynamics Simulation", D. C. Rapaport, CUP, 1997 “Computer simulation of liquids”, M. P. Allen, D. J. Tildesley, OUP, 1990

3 What is molecular dynamics? Solving the classical equations of motion For a system of N (N>>3) particles Which interact through a “given” potential And then apply some “tricks” … Deterministic technique  Monte Carlo

4 What is molecular dynamics? However, errors in trajectories always accumulate: MD is a statistical mechanics method  thermodynamic properties To obtain set of configurations according to statistical ensemble -Microcanonical ensemble (NVE) -Canonical ensemble (NVT) -Isobaric-Isothermal Ensemble (NPT) -Grand canonical ensemble (also number of particles can change, VT) Ergodic hypothesis Also used for the optimization of structures (simulated annealing)

5 Applications of molecular dynamics Properties of liquids Plasma physics Defects in solids Fracture Surface properties Friction Molecular clusters Biomolecules Dynamics of galaxies Formation of stellar clusters

6 Overview I Model -System Hamiltonian -Interaction potentials: bonded and non-bonded interactions -Finite system – infinite system IntegratorSymplecticity? Statistical ensemble Collecting results

7 Overview II Collecting data

8 First MD simulation (1957/1959) weeks

9 First MD simulation using continuous potentials (1960) IBM 704

10 First MD simulation using Lennard-Jones potential (1964)

11 Limitations Use of classical forces  quantum effects -MD only valid if (at 300 K, t > 6 ps) Realism of forces Time and size limitations -Thousands to millions of atoms -Time step t should be as large as possible while conserving total energy -In general, t ≈0.01 x fastest behavior of your system Atoms oscillate about once every s in a solid  t ≈ s -Total time: picoseconds to hundreds of nanoseconds -Simulation only reliable if simulation time is much longer than relaxation time of quantities of interest -Idem for correlation length

12 Initialisation Positions -Random positions -Regular pattern, e.g. fcc lattice -Previous run Velocities -Random velocity or from Maxwell distribution -Previous run -Linked with temperature -No drift condition -Rescale velocities to realize desired temperature

13 Interaction potentials Origins are quantum mechanical Easiest model: Lennard-Jones potential Truncated (but with energy conservation)

14 Interaction potentials Distinguish between long range  short range interactions Distinguish between intermolecular  intramolecular forces

15 Interaction potentials Stretch energy Bending energy

16 Interaction potentials Interactions between charge inhomogeneities Approaches -Point charges -Point multipoles Screened Coulomb interaction

17 Interaction potentials Multi-body interactions e.g. Tersoff and Brenner potentials

18 Infinite systems Periodic boundary conditions Minimum image criterion for short range potentials -At most one among all pairs formed by a particle i in the box and the set of all periodic images of another particle j will interact Central Simulation box rcrc Number of interacting pairs increases enormously

19 Infinite systems Ewald method for Coulomb interaction

20 Integrators How should a good integration scheme look like? -High accuracy (reproduces true trajectories well) -Good stability (conservation of energy) -Time reversible -Robust (allow for large time steps) -Conservation of phase space density (Liouville’s theorem)(symplecticity) Simple Euler method is not time reversible and not symplectic.

21 Integrators Verlet algorithm -Positions -Velocities -Properties Time reversible Symplectic Does not suffer from energy drift But no info on velocity untill the next step is made +

22 Integrators Comparison between Euler and Verlet Test system consists of 7 Lennard-Jones atoms (Ar) Time step is 10 fs Time step is 1 fs

23 Integrators Velocity Verlet -Properties Velocity calculated explicitly Possible to control the temperature Stable Most commonly used algorithm

24 Neighbour lists Complexity of force calculations ~O(N 2 ) But there are only interactions, often n << N

25 Neighbour lists Verlet lists -Idea: introduce a list, where particles are included which are located within interaction sphere -Also introduce a “reservoir”, where particles outside R c are stored, so that unknown particles cannot become neighbors in next steps -Do an update of the list every n steps Either statically with fixed n Or dynamically with an update criterion -There exists an optimal R skin

26 Neighbour lists Linked lists method ~ O(N) Interacts with atoms in 26 neighbour cells

27 Measuring Kinetic energy + Potential energy = Total energy Temperature per degree of freedom The caloric curve E(T) Mean square displacement !Periodic boundary conditions Diffusion coefficient Correlation functions

28 MD (and MC) as optimization tool Simulated annealing -Start at high T, decrease T in small steps (cooling schedule) -Easy to understand & implement -Drawback: might be easily trapped in local minima Cooling schemes

29 Parallel strategies Atom decomposition -Atoms are distributed among processors -All coordinates are exchanged before computing forces -OK for long range interactions -Easy to implement Force decomposition -Each processor calculates the interactions for certain atom pairs Spatial decomposition -Subdivides space and assigns each processor a particular subregion -Atoms are allowed to move from one processor to its neighbours -More complex to implement (similar to linked lists)

30 Analyzing the sequential code md.c and lmd.c "Scientific computing and visualization", A. Nakano University of Southern California Code description, details at -“Basic molecular dynamics algorithms” -“Linked-list cell MD algorithm”

31 Guidelines for final report Test energy conservation as function of t Compare speed of md.c and lmd.c Add possibility to save configuration, and to start from a previous run. Allow temperature rescaling and equilibration. Study the behavior of the caloric curve E(T) by means of constant energy runs at a fixed density, starting from a crystalline arrangement (= , T max =1.5). Insert calculations of the total linear and angular momenta. Check their conservation. Insert calculation of the mean square displacement. Remove periodic boundary conditions and study a free cluster.