Topic 2: Molecular Dynamics of Lennard-Jones System (Continued)
Topic 2: Molecular Dynamics of Lennard-Jones System (Continued)
Topic 2: Molecular Dynamics of Lennard-Jones System (Continued)
Lecture 9
r
r
falls off fairly rapidly with increasing r, so the forces between particles that are very
far apart may be negligible.
A reasonable approximation is to cut off the force for r > rc where rc is some suitably chosen cutoff radius. Unfortunately, doing this violates conservation of energy:
because Newtons equations are discretized, the energy of a pair changes by a constant amount U (rc) rather than a quantity proportional to the time step h when the
separation crosses the cutoff length. This can be corrected by shifting the potential
function
U (r) U (rc), for r rc
Uc(r) =
0,
for r > rc
Page 1
Lecture 9
While this shifted potential is continuous at r = rc, the force, which has strength
dUc/dr is discontinuous at r = rc. This discontinuity can cause instabilities in the
integration algorithm. A simple remedy for this problem is to modify the potential
further
dU
Uc(r) = U (r) U (rc) dr r=rc (r rc), for r rc
0,
for r > rc
so that
dUc
F (r) F (rc), for r rc
Fc(r) =
=
0,
for r > rc
dr
is continuous at r = rc.
Since the potential and force have now been changed, observables such as the pressure
must also be corrected. For example, it can be shown that
Z
4N 2
hU i = hUci +
r drU (r)g(r) ,
V
rc
where g(r) is the radial distribution function, which can be approximated in the integral
by g(r) = 1. Similarly, the virial formula for the pressure can be corrected using
*N
+
Z
X
1
N
dU (r)
P V = N kB T
ri Fci
r 3dr
g(r) .
3 i=1
3V rc
dr
Note that the averages in these formulas involve pairs with r rc and calculating the
averages scales like O(N ).
Page 2
Lecture 9