Skip to content
/ Norbit Public

Yet another toy N-body simulation of orbits in gravitational field

Notifications You must be signed in to change notification settings

MinhMPA/Norbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N drawing

Norbit - yet another (lite) toy N-body simulation

This mini package provides a proof-of-concept of N-body simulations of systems that evolve under only gravitational forces.

forthebadge made-with-python

Maintenance

Currently Implemented Features

  • Direct summation for force evaluation, which scales as
  • 2nd-order symplectic and 4th-order non-symplectic integrator (Runge-Kutta)

Code Unit

  • Currently, the standard unit adopted by the code is as follows:
    • Mass: Solar Mass
    • Time: Day
    • Length/Distance: AU

Examples

  • An example of initial conditions for the Outer Solar System is provided at ./examples/initial_conditions_outer_solar.py. The example is taken from section I.2.4 of Geometric Numerical Integration, Hairer 2006.
  • For more details, please see the notebook ./Norbit_demo.ipynb

Orbits

Relative error in total momentum

About

Yet another toy N-body simulation of orbits in gravitational field

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published