The Hard Sphere Potential - PowerPoint PPT Presentation

1 / 25
About This Presentation
Title:

The Hard Sphere Potential

Description:

Third order truncation error. Special setup of initial conditions. Leapfrog Algorithm ... Gear Predictor-Corrector ... Based on Gear's predictor-corrector ... – PowerPoint PPT presentation

Number of Views:242
Avg rating:3.0/5.0
Slides: 26
Provided by: surjit2
Category:
Tags: hard | potential | sphere

less

Transcript and Presenter's Notes

Title: The Hard Sphere Potential


1
The Hard Sphere Potential
?
U(r)
?
0
r
2
Phase Transition in Hard Sphere Simulation
Compressibility
3
Effect of Packing Density On Order Parameter
Order Parameter
4
Radial 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
5
Radial Distribution Function
6
Reduced 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
7
Why Finite Difference? Interaction Potentials
Hard Sphere Potential
8
(12, 6) Function
Overlap forces Repulsive
Dispersive forces Attractive
9
Taylor 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
11
Eulers method
  • First order term of Taylor expansion

12
Phase-Space of 1-DHO
13
1DHO Algorithm Stability And Step Size
dt0.001
14
1DHO Algorithm Stability And Step Size
dt0.005
15
1DHO Algorithm Stability And Step Size
dt0.05
16
Verlet Algorithm
  • Third order truncation error
  • Special setup of initial conditions

Leapfrog Algorithm
Velocity Verlet Algorithm
17

(a) Verlet (b) Leapfrog (c) Velocity Verlet
18
Predictor-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

19
1DHO Algorithm Stability And Step Size
Velocity Verlet Gear Predictor-Corrector
20
1DHO Algorithm And Time Step
21
Choosing 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
22
Comparison 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.

23
Comparison 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
25
Simulation of a Box of Argon Particles
Write a Comment
User Comments (0)
About PowerShow.com