Title: The Hard Sphere Potential
1The Hard Sphere Potential
?
U(r)
?
0
r
2Phase Transition in Hard Sphere Simulation
Compressibility
3Effect of Packing Density On Order Parameter
Order Parameter
4Radial Distribution Function
Probability that an atomic center lies in a
spherical shell of radius r and thickness dr with
the shell centered on another atom
5Radial Distribution Function
6Reduced Units
Set mass to be a fundamental unit
Then momenta
Force
- Use of reduced units avoids the need to conduct
essentially duplicate simulations - Time saved in the calculation of potential
energy, forces etc
In reduced units
Coulombs Law
7Why Finite Difference? Interaction Potentials
Hard Sphere Potential
8(12, 6) Function
Overlap forces Repulsive
Dispersive forces Attractive
9Taylor Series
Truncation error
Finite-difference methods
- Replace differentials with differences
- Replace differential equations with
finite-difference equations
10 Total global Error vs Step Size
Truncation error
Round-off error
Determine
Algorithmic stability
11Eulers method
- First order term of Taylor expansion
12Phase-Space of 1-DHO
131DHO Algorithm Stability And Step Size
dt0.001
141DHO Algorithm Stability And Step Size
dt0.005
151DHO Algorithm Stability And Step Size
dt0.05
16Verlet Algorithm
- Third order truncation error
- Special setup of initial conditions
Leapfrog Algorithm
Velocity Verlet Algorithm
17(a) Verlet (b) Leapfrog (c) Velocity Verlet
18Predictor-Corrector Algorithms
- From the current position x(t) and velocity v(t)
- Predict the position x(t?t) and velocity(t?t)
at the end of next step - Evaluate the forces at t ?t using the predicted
position - Correct the predictions using some combination of
predicted and previous values of positions and
velocity
191DHO Algorithm Stability And Step Size
Velocity Verlet Gear Predictor-Corrector
201DHO Algorithm And Time Step
21Choosing a time step
Small Steps phase space is covered too slowly
Large steps causes instabilities and errors
from the approximations
Appropriate step size Efficient simulation
22Comparison of MD Algorithms
- Velocity Verlet
- Time reversible
- Symplectic Error in total energy is "bounded"
(valid only when PE is indpt of momenta and KE is
indpt of coordinates) - Does not work well in other coordinate systems.
- Gear Predictor Corrector
- Not time reversible
- Not symplectic Errors are much smaller, but
continue to grow with the no of steps - More accurate for short time steps
- Implicit Method ie the equation at n1th point is
defined in terms of both terms of n and of the
n1th point.
23Comparison of V-Verlet Gears PC
System Box of 256 Argon atoms
Source http//www.teoroo.mkem.uu.se/daniels/ngssc
_numana/
24 Role of Arithmetic Precision
Float
Double
Simulation Based on Gears predictor-corrector
algorithm
25Simulation of a Box of Argon Particles