- Beeman's algorithm
Beeman's algorithm is a method for numerically integrating
ordinary differential equation s, generally position and velocity, which is closely related toVerlet integration . It produces identical positions to Verlet, but is more accurate in velocities. It is most commonly seen inmolecular dynamics simulations.Equation
The formula used to compute the positions at time is:
:
and this is the formula used to update the velocities:
:
where
* is present time (ie: independent variable)
* is the time step size
* is the position at time t
* is the velocity at time t
* is the acceleration at time t
*the last term is the error term, using thebig O notation Predictor-Corrector Modifications
In systems where the forces are a function of velocity in addition to position, the above equations need to be modified into a predictor-corrector form whereby the velocities at time are predicted and the forces calculated, before producing a corrected form of the velocities.
An example is:
:
The velocities at time t = are then calculated from the positions.
:
The accelerations at time t = are then calculated from the positions and predicted velocities.
:
Error term
As shown above, the error term is for position and velocity. In comparison, Verlet is for position and for velocity. In exchange for greater accuracy, Beeman's algorithm is moderately computationally more expensive.
Memory Requirements
The simulation must keep track of position, velocity, acceleration and previous acceleration vectors per particle (though some clever work-arounds for storing the previous acceleration vector are possible), keeping its memory requirements on par with velocity Verlet and slightly more expensive than the original Verlet method.
References
* [http://www.earth.ox.ac.uk/~keithr/moldy-manual/node9.html Integration Algorithms]
* [http://mse-jl1.eng.ohio-state.edu/Archive/Papers/05/Li05-2.8.pdf Basic Molecular Dynamics]
* [http://www.mse.ufl.edu/~ssinn/Backgrounds/back04_integ.html Integrator: Predictor-Corrector Algorithm]
Wikimedia Foundation. 2010.