A numerical simulation of our solar system with one comet. The core code is written in C++ and visualization of data done using Matlab. For simplicity all planets are made to orbit in the same plane. The comet enters the plane of the solar system from the +ve z-direction.
The first GIF shows the comet entering the inner solar system and doing a quick pass around the sun at perihelion before heading out. Perihelion is a point between the Sun and Mercury's orbit
The 2nd and 3rd simulations show the same comet with different initial conditions. The comet now hits the plane of the solar system at a point between the orbit of Jupiter and Mars.
The final jpeg shows a stereoscopic view of the comet's path for the 2nd and 3rd simulations.
Note the error in Venus's orbiting direction.
More simulations
- Airconvent
- Super Moderator
- Posts: 5787
- Joined: Tue Sep 30, 2003 11:49 pm
- Location: United Federation of the Planets
- zong
- Administrator
- Posts: 621
- Joined: Thu Oct 02, 2003 9:41 pm
- Favourite scope: 1x7 binoculars (my eyes)
- Location: Toa Payoh
- Contact:
wow, very very impressive.. i think this one should graduate from coffee corner! shows a lot, really.
Maybe you'd like to improve on it by adding the planes of rotation. it actually matters that not all planets are on the same plane, otherwise chaos would probably ensue..
Still, powerful stuff!
Maybe you'd like to improve on it by adding the planes of rotation. it actually matters that not all planets are on the same plane, otherwise chaos would probably ensue..
Still, powerful stuff!
Stargazing ... is an excuse to stay up past bedtime that never fails!
-
- Posts: 293
- Joined: Sun Oct 05, 2003 6:54 pm