Temperature and Pressure Controls

Similar documents
Temperature and Pressure Controls

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Javier Junquera. Statistical mechanics

Ab initio molecular dynamics. Simone Piccinin CNR-IOM DEMOCRITOS Trieste, Italy. Bangalore, 04 September 2014

(# = %(& )(* +,(- Closed system, well-defined energy (or e.g. E± E/2): Microcanonical ensemble

Set the initial conditions r i. Update neighborlist. r i. Get new forces F i

7 To solve numerically the equation of motion, we use the velocity Verlet or leap frog algorithm. _ V i n = F i n m i (F.5) For time step, we approxim

Understanding Molecular Simulation 2009 Monte Carlo and Molecular Dynamics in different ensembles. Srikanth Sastry

Introduction Statistical Thermodynamics. Monday, January 6, 14

Brief Review of Statistical Mechanics

PHYS 352 Homework 2 Solutions

Gear methods I + 1/18

Nanoscale simulation lectures Statistical Mechanics

Optimization Methods via Simulation

Once Upon A Time, There Was A Certain Ludwig

What is Classical Molecular Dynamics?

Constant Pressure Langevin Dynamics: Theory and Application to the Study of Phase Behaviour in Core-Softened Systems.

Langevin Dynamics in Constant Pressure Extended Systems

Basics of Statistical Mechanics

THERMOSTATS AND THERMAL TRANSPORT IN SOLIDS

Basics of Statistical Mechanics

macroscopic view (phenomenological) microscopic view (atomistic) computing reaction rate rate of reactions experiments thermodynamics

Statistical methods in atomistic computer simulations


4. The Green Kubo Relations

Analysis of MD Results Using Statistical Mechanics Methods. Molecular Modeling

Organization of NAMD Tutorial Files

Classical Molecular Dynamics

Ab initio molecular dynamics and nuclear quantum effects

Statistical Mechanics

Chapter 4: Going from microcanonical to canonical ensemble, from energy to temperature.

Homework 3 Solutions Problem 1 (a) The technique is essentially that of Homework 2, problem 2. The situation is depicted in the figure:

Thermal and Statistical Physics Department Exam Last updated November 4, L π

Part II Statistical Physics

Thermal & Statistical Physics Study Questions for the Spring 2018 Department Exam December 6, 2017

Statistical Mechanics

Chapter 4 Molecular Dynamics and Other Dynamics

2. Thermodynamics. Introduction. Understanding Molecular Simulation

The dynamics of small particles whose size is roughly 1 µmt or. smaller, in a fluid at room temperature, is extremely erratic, and is

Simulation of molecular systems by molecular dynamics

Free Energy Estimation in Simulations

Scientific Computing II

Contents. 1 Introduction and guide for this text 1. 2 Equilibrium and entropy 6. 3 Energy and how the microscopic world works 21

André Schleife Department of Materials Science and Engineering

where R = universal gas constant R = PV/nT R = atm L mol R = atm dm 3 mol 1 K 1 R = J mol 1 K 1 (SI unit)

Computer simulations as concrete models for student reasoning

Computational Chemistry - MD Simulations

Energy and Forces in DFT

Collective Effects. Equilibrium and Nonequilibrium Physics

Monte Carlo (MC) Simulation Methods. Elisa Fadda

Ab Ini'o Molecular Dynamics (MD) Simula?ons

Thus, the volume element remains the same as required. With this transformation, the amiltonian becomes = p i m i + U(r 1 ; :::; r N ) = and the canon

Principles of Equilibrium Statistical Mechanics

Molecular Interactions F14NMI. Lecture 4: worked answers to practice questions

Exercise 2: Solvating the Structure Before you continue, follow these steps: Setting up Periodic Boundary Conditions

Physics 408 Final Exam

Molecular Dynamics Simulations. Dr. Noelia Faginas Lago Dipartimento di Chimica,Biologia e Biotecnologie Università di Perugia

Molecular Simulation Background

Density Functional Theory: from theory to Applications

APMA 2811T. By Zhen Li. Today s topic: Lecture 2: Theoretical foundation and parameterization. Sep. 15, 2016

Enhanced sampling via molecular dynamics II: Unbiased approaches

Phase Equilibria and Molecular Solutions Jan G. Korvink and Evgenii Rudnyi IMTEK Albert Ludwig University Freiburg, Germany

The Second Virial Coefficient & van der Waals Equation

Statistical Mechanics in a Nutshell

Methods of Computer Simulation. Molecular Dynamics and Monte Carlo

STRONG CONFIGURATIONAL DEPENDENCE OF ELASTIC PROPERTIES OF A CU-ZR BINARY MODEL METALLIC GLASS

Non-equilibrium phenomena and fluctuation relations

Introduction to Simulation - Lectures 17, 18. Molecular Dynamics. Nicolas Hadjiconstantinou

Comparative study on methodology in molecular dynamics simulation of nucleation

Molecular dynamics simulations

Statistical Mechanics. Atomistic view of Materials

UNIVERSITY OF OSLO FACULTY OF MATHEMATICS AND NATURAL SCIENCES

Heat Transport in Glass-Forming Liquids

ChE 503 A. Z. Panagiotopoulos 1

Removing the mystery of entropy and thermodynamics. Part 3

Temperature Fluctuations and Entropy Formulas

Physics 4230 Final Examination 10 May 2007

Quantum ideal gases: bosons

PRACTICE QUESTION PAPER WITH SOLUTION CLASS XI PHYSICS

arxiv: v1 [cond-mat.stat-mech] 28 Mar 2008

Time-Dependent Statistical Mechanics 5. The classical atomic fluid, classical mechanics, and classical equilibrium statistical mechanics

CHAPTER 4 Physical Transformations of Pure Substances.

Hydrodynamics. Stefan Flörchinger (Heidelberg) Heidelberg, 3 May 2010

Statistical thermodynamics (mechanics)

Biomolecular modeling I

MatSci 331 Homework 4 Molecular Dynamics and Monte Carlo: Stress, heat capacity, quantum nuclear effects, and simulated annealing

INTRODUCTION TO о JLXJLA Из А lv-/xvj_y JrJrl Y üv_>l3 Second Edition

[S R (U 0 ɛ 1 ) S R (U 0 ɛ 2 ]. (0.1) k B

Computational Physics (6810): Session 13

Finite Temperature Field Theory

16. Working with the Langevin and Fokker-Planck equations

Declaration. I, Derrick Beckedahl, declare that

Statistical thermodynamics for MD and MC simulations

Some fundamentals. Statistical mechanics. The non-equilibrium ISM. = g u

Monte Carlo Methods. Ensembles (Chapter 5) Biased Sampling (Chapter 14) Practical Aspects

Random Walks A&T and F&S 3.1.2

II Relationship of Classical Theory to Quantum Theory A Quantum mean occupation number

Lectures on: Introduction to and fundamentals of discrete dislocations and dislocation dynamics. Theoretical concepts and computational methods

An Outline of (Classical) Statistical Mechanics and Related Concepts in Machine Learning

Kinetics. Rate of change in response to thermodynamic forces

Transcription:

Ensembles Temperature and Pressure Controls 1. (E, V, N) microcanonical (constant energy) 2. (T, V, N) canonical, constant volume 3. (T, P N) constant pressure 4. (T, V, µ) grand canonical #2, 3 or 4 are often better for macroscopic properties Today we will learn how we can do #2 and #3 with MD. Reading Lesar Section 6.4 1

Constant Temperature MD Problem in MD is to control the temperature. How to start the system? Sample the velocities from a Maxwellian (Gaussian) distribution. (we will learn how to do this next time) mv kt B Pv () = Ce dv If we start from a perfect lattice as the system becomes disordered, it will suck up the kinetic energy and cool down. Vice versa for starting from a gas. QUENCH method. Andersen Thermostat Nose-Hoover Thermostat 2 2

Quench method (Berendsen) Run for a while, compute kinetic energy, then rescale the momentum to correct temperature T, repeat as needed. kt B I = i mv i 2 i 3N 3 v i new = T T I v i old Instantaneous T I Control is at best O(1/N), not real-time dynamics. KE 4 quenches: 400/100 3

Brownian dynamics/andersen thermostat Put a system in contact with a heat bath Leads to discontinuous velocities. Not necessarily a bad thing, but requires some physical insight into how the bath interacts with the system. For example, this is appropriate for a large molecule (protein or colloid) in contact with a solvent. Other heat baths in nature are given by phonons, photons, We will discuss Brownian dynamics later in the course. Andersen thermostat: With some probability, resample velocities from a Maxwell dist. (see FS 6.1.1) 4

Nose-Hoover thermostat (FS 6.1.2) MD in canonical distribution (T,V,N) Introduce a friction force ζ(t) dp dt = F(q,t) ζ(t)p(t) SYSTEM T Reservoir Dynamics of friction coefficient to get canonical ensemble. Q dζ dt = 1 m i v 2 i 3N 2 2 k BT dζ dt = 0 Dynamics at steady-state Feedback makes K.E.=3/2 kt Q= fictitious heat bath mass. Large Q is weak coupling 5

Nose-Hoover thermodynamics Energy of physical system fluctuates. However energy of system plus heat bath is conserved. H ' = H + Q 2 ζ 2 + gk B T ln(s) and d ln(s) dt = ζ Derive equation of motion from this Hamiltonian. dr/dt=p, dp/dt= F - p ζ /Q, dζ/dt=p ζ /Q etc. (see text) Hopefully system is ergodic. Then stationary state is canonical distribution exp[ β(v + 1 2m p2 + Q ζ 2 )] 2 6

System T fluctuates but how quickly? Effect of thermostat Q=1 Q=100 DIMENSION 3 TYPE argon 256 48. POTENTIAL argon argon 1 1. 1. 2.5 DENSITY 1.05 TEMPERATURE 1.15 TABLE_LENGTH 10000 LATTICE 4 4 4 4 SEED 10 WRITE_SCALARS 25 NOSE 100. RUN MD 2200.05 7

Thermostats are needed in non-equilibrium situations where there might be a flux of energy in/out of the system. It is time-reversible, deterministic and goes to the canonical distribution but: How natural is the thermostat? Interactions are non-local. They propagate instantaneously Interaction with a single heat-bath variable-dynamics can be strange. Be careful to adjust the mass REFERENCES FS 6.1.2 1. S. Nose, J. Chem. Phys. 81, 511 (1984); Mol. Phys. 52, 255 (1984). 2. W. Hoover, Phys. Rev. A31, 1695 (1985). 8

Comparison of Thermostats Nose-Hoover (deterministic) vs. Andersen (stochastic) microcanonical Andersen Nose 9

Constant pressure or constant volume At constant pressure phase transitions are sharp At constant volume, a two phase region (shaded region) is seen. In a finite cell, one will have droplets/crystallites form, but surface tension will make a barrier to the formation of them. An additional problem is the shape of simulation cell, that will favor certain crystal structures. 10

Constant Pressure (FS 6.2) To generalize MD, follow similar procedure as for thermostats. For constant P, size of the box is coupled to internal pressure. Volume is coupled to Virial Pressure. P = 1 3Ω 2K i< j r ij dφ dr TPN Unit cell shape can also change. System can switch between crystal structures. Method is very useful is studying the transitions between crystal structures. Dynamics is unrealistic: Just because a system can fluctuate from one structure to another does not mean that the probability will be high. 11

To implement, consider Internal coordinates: 0 < s < 1 Physical coordinates: r! r = L! s! s = L! r 1 L is a 3 x 3 time-dependent symmetric matrix. Symmetric to eliminate rotation of cell. Do periodic boundary conditions with s. (simple) Calculate energy and forces with r. 12

Equations of motion ω is the response (or mass) of the surrounding medium. Usual F = ma but also force from boundaries d! p i dt =! F i L T 1 d L dt! p i Feedback keeps box size in equilibrium ω d 2 L dt 2 = (π PI)Ω LT 1 Stress tensor, π The new distribution is π = 1 Ω [!!!! r Fi i + m vi vi i ] exp β(h + PΩ + ω LL T 13

500 KCl ions at 300K First P = 0 Then P = 44 kb System spontaneously changes from rocksalt to CsCl structure Parrinello-Rahman simulation 14

Features of Constant Pressure/Variable Structure Simulations Can automatically find new crystal structures Nice feature is that the boundaries are flexible But one is not guaranteed to get out of local minimum One can get the wrong answer. Careful free energy calculations are needed to establish stable structure. All such methods have non-physical dynamics since they do not respect locality of interactions but non-physical effects are small: O(1/N). REFERENCES 1. H. C. Andersen, J. Chem. Phys. 72, 2384 (1980). 2. M. Parrinello and A. Rahman, J. Appl. Phys. 52, 7158 (1981). 3. R. Martonak Eur. Phys. J. B 79, 241 252 (2011) 15

Homework 3 due Thursday, Sept 29 16