Beeman's algorithm

Beeman's algorithm is a method for numerically integrating ordinary differential equations, generally position and velocity, which is closely related to Verlet integration. It produces identical positions to Verlet, but is more accurate in velocities. It is most commonly seen in molecular dynamics simulations.

Equation

The formula used to compute the positions at time t + Δt is:



and this is the formula used to update the velocities:


where

* t is present time (ie: independent variable)

* Δt is the time step size

* r(t) is the position at time t

* v(t) is the velocity at time t

* a(t) is the acceleration at time t

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 t + Δt are predicted and the forces calculated, before producing a corrected form of the velocities.

An example is:



The velocities at time t =t + Δt are then calculated from the positions.


The accelerations at time t =t + Δt are then calculated from the positions and predicted velocities.

t

Error term

As shown above, the error term is O(Δt4) for position and O(Δt3) velocity. In comparison, Verlet is O(Δt4) for position and O(Δt2) 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.

See also

* Newmark-beta method

* Verlet integration

References

* Integration Algorithms

* Basic Molecular Dynamics

* Integrator: Predictor-Corrector Algorithm

Retrieved from "http://en.wikipedia.org/"
All text is available under the terms of the GNU Free Documentation License

Index

 
Scientificlib.com