Scripted HTML version of Foils prepared 28 December 1996

Foil 25 Solving the N-body equations of motion

From CPS615-Discussion of Ordinary Differential Equations and Start of Parallel N-Body Algorithm Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 10 October 96. by Geoffrey C. Fox *
Secs 221.7
Introduce 3 vectors X V A for position,velocity and acceleration of particles
Numerical techniques iterate equations over time using
Euler's Equation gives:
X(t+dt) = X(t) + h * V(t)
V(t+dt) = V(t) + h * Grav(X(t))
Note i labels particles not time steps



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Aug 15 1997