Relaxation and Molecular Dynamics

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

Simulazione di Biomolecole: metodi e applicazioni giorgio colombo
Statistical mechanics
Engineering Optimization
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Marivi Fernandez-Serra CECAM
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.
Survey of Molecular Dynamics Simulations: Week 2 By Will Welch For Jan Kubelka CHEM 4560/5560 Fall, 2014 University of Wyoming.
Summary of Martensite Creation: Box with Fixed Cylinder July 1, 2012.
LINCS: A Linear Constraint Solver for Molecular Simulations Berk Hess, Hemk Bekker, Herman J.C.Berendsen, Johannes G.E.M.Fraaije Journal of Computational.
DFT – Practice Simple Molecules & Solids [based on Chapters 5 & 2, Sholl & Steckel] Input files Supercells Molecules Solids.
EARS1160 – Numerical Methods notes by G. Houseman
Running molecular dynamics with constraints included.
Classification and Prediction: Regression Via Gradient Descent Optimization Bamshad Mobasher DePaul University.
Applications of Mathematics in Chemistry
CSCE 641: Forward kinematics and inverse kinematics Jinxiang Chai.
Easy Optimization Problems, Relaxation, Local Processing for a single variable.
Geometry Optimization Pertemuan VI. Geometry Optimization Backgrounds Real molecules vibrate thermally about their equilibrium structures. Finding minimum.
Potensial Energy Surface Pertemuan V. Definition Femtosecond spectroscopy experiments show that molecules vibrate in many different directions until an.
Atomistic Mechanisms for Atomistic Mechanisms for Grain Boundary Migration Grain Boundary Migration  Overview of Atomistic Simulations of Grain Boundary.
CSCE 641: Forward kinematics and inverse kinematics Jinxiang Chai.
CSCE 689: Forward Kinematics and Inverse Kinematics
Thermo & Stat Mech - Spring 2006 Class 19 1 Thermodynamics and Statistical Mechanics Partition Function.
Advanced Topics in Optimization
Why Function Optimization ?
Molecular Dynamics Classical trajectories and exact solutions
Joo Chul Yoon with Prof. Scott T. Dunham Electrical Engineering University of Washington Molecular Dynamics Simulations.
Molecular Modeling: Geometry Optimization C372 Introduction to Cheminformatics II Kelsey Forsythe.
UNCONSTRAINED MULTIVARIABLE
Collaborative Filtering Matrix Factorization Approach
Bioinf. Data Analysis & Tools Molecular Simulations & Sampling Techniques117 Jan 2006 Bioinformatics Data Analysis & Tools Molecular simulations & sampling.
Objectives of this course
Geometry Optimisation Modelling OH + C 2 H 4 *CH 2 -CH 2 -OH CH 3 -CH 2 -O* 3D PES.
Molecular Dynamics Simulations
Chapter 17 Boundary Value Problems. Standard Form of Two-Point Boundary Value Problem In total, there are n 1 +n 2 =N boundary conditions.
Javier Junquera Molecular dynamics in the microcanonical (NVE) ensemble: the Verlet algorithm.
ENCI 303 Lecture PS-19 Optimization 2
Molecular Dynamics Simulation Solid-Liquid Phase Diagram of Argon ZCE 111 Computational Physics Semester Project by Gan Sik Hong (105513) Hwang Hsien Shiung.
Numerical Integration and Rigid Body Dynamics for Potential Field Planners David Johnson.
Rebecca Cantrell MAE Professor Zabaras Atomistic Modeling of Materials Final Project Presentation May 7, 2007.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
CSCE 441: Computer Graphics Forward/Inverse kinematics Jinxiang Chai.
Geometry Optimization, Molecular Dynamics and Vibrational Spectra
Advanced Molecular Dynamics Velocity scaling Andersen Thermostat Hamiltonian & Lagrangian Appendix A Nose-Hoover thermostat.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Dan Simon Cleveland State University Jang, Sun, and Mizutani Neuro-Fuzzy and Soft Computing Chapter 6 Derivative-Based Optimization 1.
Simplistic Molecular Mechanics Force Field Van der WaalsCharge - Charge Bond Angle Improper Dihedral  
Lecture 13. Geometry Optimization References Computational chemistry: Introduction to the theory and applications of molecular and quantum mechanics, E.
Molecular dynamics (2) Langevin dynamics NVT and NPT ensembles
Review Session BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.
Chapter 2-OPTIMIZATION
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : Testing Testing. Basic procedure to “validate” calculations CASTEP.
CSCE 441: Computer Graphics Forward/Inverse kinematics Jinxiang Chai.
Mode Superposition Module 7. Training Manual January 30, 2001 Inventory # Module 7 Mode Superposition A. Define mode superposition. B. Learn.
Computational Biology BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December 2001 Lecture 15: Structural Calculations and Pressure CASTEP Developers’ Group.
The Nudged Elastic Band Method and its Implementation in VASP
CSCE 441: Computer Graphics Forward/Inverse kinematics
Overview of Molecular Dynamics Simulation Theory
Fundamentals of Molecular Dynamics Simulations
Maintaining Adiabaticity in Car-Parrinello Molecular Dynamics
Convergence in Computational Science
Molecular Modelling - Lecture 3
Collaborative Filtering Matrix Factorization Approach
CSCE 441: Computer Graphics Forward/Inverse kinematics
Computational Analysis
Car Parrinello Molecular Dynamics
Computer Animation Algorithms and Techniques
Presentation transcript:

Relaxation and Molecular Dynamics Julian Gale SIESTA Workshop July 2002 Cambridge

Optimisation Local vs global minima PES is harmonic close to minima

Theory of Optimisation Gradients Hessian a=1 for quadratic region

Methods of Optimisation Energy only: - simplex Energy and first derivatives (forces): - steepest descents (poor convergence) - conjugate gradients (retains information) - approximate Hessian update Energy, first and second derivatives: - Newton-Raphson - BFGS updating of Hessian (reduces inversions) - Rational Function Optimisation (for transition states/ and soft modes) SIESTA presently uses conjugate gradients

Optimisation in SIESTA(1) Set runtype to conjugate gradients: MD.TypeOfRun CG Set maximum number of iterative steps: MD.NumCGsteps 100 Optionally set force tolerance: MD.MaxForceTol 0.04 eV/Ang Optionally set maximum displacement: MD.MaxCGDispl 0.2 Bohr

Optimisation in SIESTA(2) By default optimisations are for a fixed cell To allow unit cell to vary: MD.VariableCell true Optionally set stress tolerance: MD.MaxStressTol 1.0 Gpa Optionally set cell preconditioning: MD.PreconditionVariableCell 5.0 Ang Set an applied pressure: MD.TargetPressure 5.0 GPa

Advice on Optimisation in SIESTA Make sure that your MeshCutoff is high enough: - Mesh leads to space rippling - If oscillations are large convergence is slow - May get trapped in wrong local minimum  

More Advice on Optimisation….. Optimise internal degrees of freedom first Optimise unit cell after internals Exception is simple materials (e.g. MgO) Large initial pressure can cause slow convergence Small amounts of symmetry breaking can occur Check that geometry is sufficiently converged (as opposed to force - differs according to Hessian) SCF must be more converged than optimisation Molecular systems are hardest to optimise

What you hope for!

Using Constraints The following can currently be constrained: - atom positions - cell strains User can create their own subroutine (constr) To fix atoms: To fix stresses: Stress notation: 1=xx, 2=yy, 3=zz, 4=yz, 5=xz, 6=xy

Molecular Dynamics 1 Follows the time evolution of a system Solve Newton’s equations of motion: Treats electrons quantum mechanically Treats nuclei classically Hydrogen may raise issues: - tunnelling Allows study of dynamic processes Annealing of complex materials Examines the influence of temperature

Molecular Dynamics 2 Divide time into a series of timesteps, t Expand position, velocity and acceleration as a Taylor series in t Based on an initial set of positions, velocities and accelerations extrapolate to the next timestep e.g. Correct values for errors based on actual values Different algorithms depending on: - order of Taylor expansion - which expansions (x,v,a) are combined - timesteps at which values are extrapolated (true for constant acceleration)

Molecular Dynamics 3 Timestep must be small enough to accurately sample highest frequency motion Typical timestep is 1 fs (1 x 10-15 s) Typical simulation length = 1 - 10 ps Is this timescale relevant to your process? Simulation has two parts: - equilibration (redistribute energy) - production (record data) Results: - diffusion coefficients - free energies / phase transformations (very hard!) Is your result statistically significant?

Molecular Dynamics in SIESTA(1) MD.TypeOfRun Verlet NVE ensemble dynamics MD.TypeOfRun Nose NVT dynamics with Nose thermostat MD.TypeOfRun ParrinelloRahman NVE dynamics with P-R barostat MD.TypeOfRun NoseParrinelloRahman NVT dynamics with thermostat/barostat MD.TypeOfRun Anneal Anneals to specified p and T Variable Cell

Molecular Dynamics in SIESTA(2) Setting the length of the run: MD.InitialTimeStep 1 MD.FinalTimeStep 2000 Setting the timestep: MD.LengthTimeStep 1.0 fs Setting the temperature: MD.InitialTemperature 298 K MD.TargetTemperature 298 K Setting the pressure: MD.TargetPressure 3.0 Gpa Thermostat / barostat parameters: MD.NoseMass / MD.ParrinelloRahmanMass Maxwell-Boltzmann

Annealing in SIESTA MD can be used to optimise structures: MD.Quench true - zeros velocity when opposite to force MD annealing: MD.AnnealOption Pressure MD.AnnealOption Temperature MD.AnnealOption TemperatureAndPressure Timescale for achieving target MD.TauRelax 100.0 fs

Visualisation and Analysis GDIS Sean Fleming (Curtin, WA) http://gdis.seul.org/ Need version 0.76