Skip to content

groumage/SolarSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simulation of the Solar System


This is a student project in numerical analysis. The aim is to simulate the Solar System. We simulate the 5 main bodies (Sun, Jupiter, Saturn and Uranus) of the solar system and Pluto. So this is a 6-body problem. The only forces taken into account are gravitational interactions.

Through this project we manage to have a first experience with Python and write the implementation of numerical schemas. We used two schemas :

  • Forward Euler method
  • Stormer-Verlet method.

Image of solar system The above screenshot is generate using python3 src/solar-system.py stormer-verlet 1 45000.

This project is implemented in Python, using mainly numpy and matplotlib. The subject of this project is available, as well as the report (written in French).

The report is also available at Overleaf.

Quick execution (assuming all necessary module installed):
python3 src/solar-system.py stormer-verlet 100 200000
python3 src/solar-system.py anim 1 100000 200

About

Student project in numerical analysis which aims at simulate the solar system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages