- #1
mrtree
- 1
- 0
Hey there, first time posting, I have casually browsed this forum for a while.
Anyway on to the question, I am trying to solve in the best way possible the N-Body problem, I am at a complete loss, I have no idea what I can do, I have tried figuring out my self different integrators such as Verlet and RK4, but I cannot figure out anything.
What I need to be able to do is simulate our solar system in 3D, I have seen many implementations in 2D, but I can't find out how to calculate velocity, force and position as a function of time.
Any help would be amazing, and I would be eternally grateful.
EDIT: I should point the orbital bodies to be simulated.
Sun is Static in the center, 0,0,0
Mercury, Venus, Earth, Moon, Mars, Jupiter, Saturn, Uranus, Neptune and Pluto
Anyway on to the question, I am trying to solve in the best way possible the N-Body problem, I am at a complete loss, I have no idea what I can do, I have tried figuring out my self different integrators such as Verlet and RK4, but I cannot figure out anything.
What I need to be able to do is simulate our solar system in 3D, I have seen many implementations in 2D, but I can't find out how to calculate velocity, force and position as a function of time.
Any help would be amazing, and I would be eternally grateful.
EDIT: I should point the orbital bodies to be simulated.
Sun is Static in the center, 0,0,0
Mercury, Venus, Earth, Moon, Mars, Jupiter, Saturn, Uranus, Neptune and Pluto