Skip to content

Script written in Python to integrate the equations of motion of N particles interacting with each other gravitationally. The script computes the equations of motion and use scipy.integrate to integrate them. Then it uses matplotlib to visualize the solution.

Notifications You must be signed in to change notification settings

rafael-fuente/N-body-numerical-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

N-body-numerical-simulation

Script written in Python to integrate the equations of motion of N particles interacting with each other gravitationally with high precision. The script computes the equations of motion and use scipy.integrate to integrate them. Then it uses matplotlib to visualize the solution.

Requeriments

  1. numpy
  2. scipy
  3. sympy
  4. matplotlib

Example of simulation: https://www.youtube.com/watch?v=ijxwdV_ZWnc

N|Solid

About

Script written in Python to integrate the equations of motion of N particles interacting with each other gravitationally. The script computes the equations of motion and use scipy.integrate to integrate them. Then it uses matplotlib to visualize the solution.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages