Skip to content

kdeoskar/nbody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Simulation of an N-Body System under the Gravitational Force

  • In this program we use numpy arrays to store the mass, position, velocity, and acceleration of the N bodies in our system. Each of these quantities is stored in an N x 3 array.

  • We use Leap-Frog integration to solve the differential equation associated with the system (F = m a), and plot the evolution of the system in 3D using matplotlib.

  • This project was inspired by the following project created by Philip Mosz: https://github.com/pmocz/nbody-python

One Frame of Animation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages