LINCS: A Linear Constraint Solver for Molecular Simulations Berk Hess, Hemk Bekker, Herman J.C.Berendsen, Johannes G.E.M.Fraaije Journal of Computational.

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

Molecular dynamics in different ensembles
Lecture 13: Conformational Sampling: MC and MD Dr. Ronald M. Levy Contributions from Mike Andrec and Daniel Weinstock Statistical Thermodynamics.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Small Coupled Oscillations. Types of motion Each multi-particle body has different types of degrees of freedom: translational, rotational and oscillatory.
Introduction to Molecular Orbitals
Physics 430: Lecture 16 Lagrange’s Equations with Constraints
Running molecular dynamics with constraints included.
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
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
CSCE 641: Forward kinematics and inverse kinematics Jinxiang Chai.
Course Outline 1.MATLAB tutorial 2.Motion of systems that can be idealized as particles Description of motion; Newton’s laws; Calculating forces required.
Ch. 7: Dynamics.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
CSCE 641: Forward kinematics and inverse kinematics Jinxiang Chai.
UNC Chapel Hill S. Redon - M. C. Lin Rigid body dynamics II Solving the dynamics problems.
Forward Kinematics.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
CSCE 689: Forward Kinematics and Inverse Kinematics
Mechanics of Rigid Bodies
Final exam: room 105 HECC, 8-10 am, Wednesday, December 12 th.
Molecular Dynamics Classical trajectories and exact solutions
Joo Chul Yoon with Prof. Scott T. Dunham Electrical Engineering University of Washington Molecular Dynamics Simulations.
Computer graphics & visualization Rigid Body Simulation.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
Javier Junquera Molecular dynamics in the microcanonical (NVE) ensemble: the Verlet algorithm.
ME451 Kinematics and Dynamics of Machine Systems
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.
1 CE 530 Molecular Simulation Lecture 17 Beyond Atoms: Simulating Molecules David A. Kofke Department of Chemical Engineering SUNY Buffalo
Basics of molecular dynamics. Equations of motion for MD simulations The classical MD simulations boil down to numerically integrating Newton’s equations.
Modeling and Solving Constraints Erin Catto Blizzard Entertainment.
PROJECTIVE CONSTRAINT VIOLATION STABILIZATION METHOD FOR MULTIBODY SYSTEMS ON MANIFOLDS Prof. dr. Zdravko Terze Dept. of Aeronautical Engineering, Faculty.
Numerical Integration and Rigid Body Dynamics for Potential Field Planners David Johnson.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
Statistical Mechanics and Multi-Scale Simulation Methods ChBE
CSCE 441: Computer Graphics Forward/Inverse kinematics Jinxiang Chai.
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION ASEN 5070 LECTURE 11 9/16,18/09.
Sect. 1.3: Constraints Discussion up to now  All mechanics is reduced to solving a set of simultaneous, coupled, 2 nd order differential eqtns which.
ME451 Kinematics and Dynamics of Machine Systems Introduction to Dynamics 6.1 October 09, 2013 Radu Serban University of Wisconsin-Madison.
1 CE 530 Molecular Simulation Lecture 23 Symmetric MD Integrators David A. Kofke Department of Chemical Engineering SUNY Buffalo
Modeling and Solving Constraints
ChE 452 Lecture 25 Non-linear Collisions 1. Background: Collision Theory Key equation Method Use molecular dynamics to simulate the collisions Integrate.
1 Dynamics Differential equation relating input torques and forces to the positions (angles) and their derivatives. Like force = mass times acceleration.
5. Integration method for Hamiltonian system. In many of formulas (e.g. the classical RK4), the errors in conserved quantities (energy, angular momentum)
Canonical Equations of Motion -- Hamiltonian Dynamics
Molecular dynamics (3) Equations of motion for (semi) rigid molecules. Restrained MD.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
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.
Syllabus Note : Attendance is important because the theory and questions will be explained in the class. II ntroduction. LL agrange’s Equation. SS.
Physics-Based Simulation: Graphics and Robotics Chand T. John.
Elastic models of conformational transitions in macromolecules
CHAPTER 2 - EXPLICIT TRANSIENT DYNAMIC ANALYSYS
Figure 1. Spring characteristics
Figure 1. Spring characteristics
Date of download: 11/5/2017 Copyright © ASME. All rights reserved.
CSCE 441: Computer Graphics Forward/Inverse kinematics
Chapter 27.
Advanced Computer Graphics Spring 2008
Synthesis of Motion from Simple Animations
Liouville formulation (4.3.3)
© Sharif University of Technology - CEDRA By: Professor Ali Meghdari
Figure 1. Spring characteristics
Introduction Constraint: important features in computer animation
Computer Animation Algorithms and Techniques
Presentation transcript:

LINCS: A Linear Constraint Solver for Molecular Simulations Berk Hess, Hemk Bekker, Herman J.C.Berendsen, Johannes G.E.M.Fraaije Journal of Computational Chemistry, 1997 Ankur Dhanik

Outline Introduction to Molecular Dynamics Problem description Some solutions LINCS Results

Introduction to Molecular Dynamics A classical molecular simulations method Successive configurations of the system are generated by integrating Newton’s laws of motion Integration algorithms should strive to reduce computation and conserve energy Various integration algorithms –Standard Verlet algorithm –Leap-frog algorithm

Introduction to Molecular Dynamics Standard Verlet Algorithm –r(t+Δt) = 2r(t) - r (t-Δt) + Δt 2 a(t) –v(t) = [r(t+Δt) - r(t-Δt)]/2Δt –Velocities are not directly generated, and are one time step behind Leap-frog algorithm –r(t+Δt) = r(t) + Δtv(t+Δt/2) –v(t+Δt/2) = v(t-Δt/2) + Δta(t) –v(t) = [v(t+Δt/2) + v(t-Δt/2)]/2 –Velocities are half time step behind

Introduction to Molecular Dynamics Choosing the time step One order of magnitude smaller than the shortest motion (bond vibrations) Severe restriction as these high frequency motions have minimal effect on the overall behavior of the system Constrained dynamics

Introduction to Molecular Dynamics SystemType of motion present Suggested times step(s) Atomstranslation Rigid moleculesTranslation and rotation 5 X Rigid molecules, rigid bonds Translation, rotation, torsion 2 X Rigid molecules, flexible bonds Translation, rotation, torsion, vibration or 5 X The different types of motion present in various systems together with suggested time steps

Introduction to Molecular Dynamics In constrained dynamics bonds and angles are forced to adopt specific values throughout a simulation Constraints are categorized as holonomic and non-holonomic. Suppose a particle on the surface of a sphere –r 2 – a 2 = 0 Holonomic –r 2 – a 2 >= 0 Non-holonomic In a constrained system –Particles are not independent –Magnitude of constraint forces are unknown FcFc g

Introduction to Molecular Dynamics Integration algorithms –Standard Verlet Algorithm –Leap-frog algorithm Choosing time step Constrained dynamics Holonomic and non-holonomic constraints

Outline Introduction to Molecular Dynamics Problem description Some solutions LINCS Results

Problem Description Design an algorithm for solving constrained molecular dynamics, the constraints being holonomic The algorithm should strive for following features: –Numerical stability –Energy conservation –Computational efficiency

Some solutions Reset coupled constraints after an unconstrained update –Non-linear problem –SETTLE Solves analytically Very fast, but unsuited for large molecules –SHAKE Iterative method Sequentially all the bonds are set to the correct length Simple and numerically stable No solutions may be found when displacements are large, difficult to parallelize

Some solutions EEM –The second derivatives of constraint equations are set to zero –All the constraints are dealt with simultaneously –Corrections are necessary to achieve accuracy and stability

LINCS Does an unconstrained update Sets the projection of the new bonds onto the old directions of the bonds to the prescribed lengths Similar to EEM, with some practical differences Implements –Efficient solver for the matrix equation –A velocity correction that prevents rotational lengthening –A length correction that improves accuracy and stability

LINCS Newton’s equation of motion Constraint equations Lagrangian formulation Gradient matrix of constraint equations, B

LINCS 1st and 2 nd derivatives of constraints are zero Constraint forces, where Newton’s equation of motion (I-TB) is projection matrix which sets the constrained coordinates to zero. T transforms motions in the constrained coordinates into motions in cartesian coordinates

LINCS Constrained leap-frog algorithm =0 is the projection matrix that sets the constrained coordinates to zero Since =0 If we setWe can use

LINCS Numerical errors can accumulate which leads to drifts Velocity correction Position correction Drawback: the projection of the new bonds onto the old directions rather than the new bonds are set to prescribed lengths

LINCS Correction for rotational lengthening –To correct rotation of bond i, the projection of the bond on the old direction is set to The corrected positions are

LINCS Constrained new position is given by Half of the CPU time goes to invert with diagonal element & A is symmetric, sparse and has zeros on the diagonal

LINCS The first power of A n gives the coupling effects of neighboring bonds The second power gives the coupling effect over a distance of two bonds The inversion through a series expansion makes parallelization easy In one timestep, the bonds influence each other when they are separated by fewer bonds than highest order in expansion

LINCS Parallelization –Consider a linear-bond constrained molecule of 100 atoms to be simulated on a dual processor computer –Uses rotation correction and an expansion to the second power of A n –Because order of expansion is two, bonds influence each other over a distance of 6 –Update of position and call of LINCS algorithm must be done for atom 1-56 and on processors 1 and 2 respectively –1-50 update from processor 1 and from processor 2

Results

Solves constrained molecular dynamics Numerically stable Conserves energy Three to four times faster than SHAKE Can be easily parallelized Problem Description Design an algorithm for solving constrained molecular dynamics, the constraints being holonomic The algorithm should strive for following features: –Numerical stability –Energy conservation –Computational efficiency