This is the course website CSCI P-14110
Today we’ll continue our simulations in 2D and we’ll start thinking in 3D as well. There are links to other solvers as well, but they are not required if you like the Hermite
one!
Motivation: Online 3D solar system interactive animation - https://theskylive.com/3dsolarsystem
Note: put these in the same directory as your .pynb notebooks.
You can check out these other solvers either now or come back to later in your life. Order is in order of decreasing documentation/increasing difficulty.
Rebound has both C and Python implementations to solve N-body equations with a variety of solvers. There are other examples that include comments on the Rebound examples page if you find something of interest to explore there (make sure you use only the Python ones).
The Rebound Solar System Project: uses the Rebound
Python package to calculate up-to-date orbits of our own solar system. Extension question deals with adding more planets.
The Rebound Galaxies Project: uses Rebound
to integrate the motion of the galaxies presented in Lesson 4. Extensions include generating your own initial conditions with pyICs.
SciPy is a package that does all kinds of neat scientific calculation stuffs. Check out this example of how to use it to make your own 2D N-body integrator. How would you extend this to 3D?
There are many GitHub repos for N-body Solvers in Python and other languages that you may want to check out.