Lecture 05 PDF
Lecture 05 PDF
CHEM 430
A Nobel Prize for Molecular
Dynamics and QM/MM
What is Classical Molecular Dynamics?
i i
V(ri,rj)
V(ri,rk) j
V(ri,rj,rk) j
V(rj,rk)
k k
The interaction energy is (usually) largely dominated by the
pair term. Truncate the series and make the assumption of
pairwise additivity :
V (r ) ≈ Vij ( r i , r j )
ij
V (r) ≈ Vijeff ( r i , r j )
ij
1
V (kJ/mol)
0.5
σ (3.41 Å)
0
-1
-1.5
1 2 3 4 5 6 7 8 9
r (Å) Two dimensional simulation of argon
The Initial Configuration
For a solid it may be possible to start from the
experimentally determined structure
For a liquid it is also common to start from a “solid” lattice,
and letting the structure melt
For a liquid it is also possible to start from a “random”
placement of molecules (this may be tricky)
If previous simulation data is available, one might modify
a configuration to suit the new simulation, for instance by
replacing one or a few particles
Macromolecule in liquid: Use experimental coordinates of
macromolecule from solid phase structure determination,
surround it by liquid
The Initial Velocities
The velocities of the particles is related to the kinetic
energy :
N
m ivi2
K =
2
i
-0.4
-0.5 V ij ( rij ) = V ij ( rij ) rij ≤ rc
-0.6
-0.7 V ij ( rij ) = 0 rij > rc
-0.8
-0.9
-1 Disadvantage: Discontinuity
0 1 2 3 4 5 6 7 8 9
r (Å) in the energy and forces
Switching function ( S(rij ) smoothly from 1 to 0)
V ij ( rij ) = V ij ( rij ) rij < rl
V ij ( rij ) = S ( rij ) V ij ( rij ) rl ≤ rij ≤ rc
V ij ( rij ) = 0 rij > rc
Minimum Image and Spherical Cutoff
Very commonly minimum images and spherical cuto s
are used together
rc
Searching for Neighbors
The search loop is a double loop over all particles ( n).
Execution time for the loop is proportional to n2
The Verlet neighbor list : Maintain list of neighbor pairs
closer than the radiu rc rskin
rc ∆t rc
rc+rskin rc+rskin
rc
Particles closer to the
“edge” of the domain
than the cuto radius,
interact with particles
on the node.
UP/ UP/
LEFT UP RIGHT
8 neighbours in 2D ,
LEFT RIGHT
and 26 in 3D
DOWN/ DOWN/
LEFT DOWN RIGHT
Integrating the Equations of Motion
Motion of all particles is coupled (many-body problem),
This is impossible to solve analytically . . .
Solve using finite di erences
Positions, velocities . . . approximated as a Taylor series:
1 2 1 1
r ( t + ∆ t) = r ( t) + ∆ tv ( t) + ∆ t a ( t) + ∆ t 3 b( t) + ∆ t 4 c ( t) + . . .
2 6 24
1 2 1 3
v ( t + ∆ t) = v ( t) + ∆ ta ( t) + ∆ t b( t) + ∆ t c ( t) + . . .
2 6
1 2
a ( t + ∆ t) = a( t) + ∆ tb( t) + ∆ t c ( t) + . . .
2
b( t + ∆ t) = b( t) + ∆ tc ( t) + . . .
The simplest method truncate the series after the
first-order term. This gives Euler’s method :
r ( t + ∆ t) = r ( t) + ∆ tv ( t)
v ( t + ∆ t) = v ( t) + ∆ ta ( t)
1 2 1 3 1
r p( t + ∆ t ) = r ( t) + ∆ t v ( t) + ∆t a( t) + ∆ t b( t) + ∆ t 4 c ( t)
2 6 24
p 1 2 1 3
v (t + ∆ t ) = v ( t) + ∆ t a ( t) + ∆t b( t) + ∆ t c ( t)
2 6
p 1 2
a (t + ∆ t ) = a ( t) + ∆ t b( t) + ∆ t c ( t)
2
b p( t + ∆ t ) = b( t) + ∆ t c ( t)
-356.03
-356.031
-356.032
0 1 2 3 4 5 6 7 8 9 10
Time (ps)
Total energy as a function of time “Exact” trajectory of one argon atom
Velocity Verlet Integrator ∆ t = 1 fs (blue)
-356.029
Energy (kJ/mol)
-356.03
-356.031
-356.032
0 1 2 3 4 5 6 7 8 9 10
Time (ps)
-356.01
-356.02
-356.03
-356.04
-356.05
-356.06
-356.07
-356.08
-356.09
0 1 2 3 4 5 6 7 8 9 10
Time (ps)
Gear Predictor-Corrector Method ∆ t = 1 fs (blue)
-356.029
Energy (kJ/mol)
-356.03
-356.031
-356.032
0 1 2 3 4 5 6 7 8 9 10
Time (ps)
-350
-351
-352
-353
-354
-355
-356
-357
0 1 2 3 4 5 6 7 8 9 10
Time (ps)
Comparison of Velocity Verlet (red) and the Gear
Predictor-Corrector (blue) at ∆ t = 1 fs :
-356.022
-356.023
The Gear method has
short time fluctuations,
Energy (kJ/mol)
-356.024
-356.025
-356.026 but it has a (substantial)
-356.027
-356.028
long-time drift
-356.029
-356.03 The Verlet method uses
-356.031
-356.032 a central di erence and
0 100 200 300 400 500 600 700 800 9001000
is thus time-reversible
Time (ps)