Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Simulating Saturn's rings in python

  1. Aug 23, 2015 #1
    Hi,

    I have to write a program in python (for school) that simulates a specific structure. I choosed saturn's rings. I've started by wrinting an N-body code. My goals are explaining the divisions in saturn rings as cassini division. I don't know if it's a great subject. The teacher told us to choose an original subject. Well, i thinked about : Daphnis is it really an alien spacecraft or just a moon ?
    If you have any suggestions, please i really don't know what subject to choose?

    (Sorry for the english)
     
  2. jcsd
  3. Aug 24, 2015 #2

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    I would be surprised if you get a realistic full ring simulation with n-body calculations on a reasonable computer. With some simplifications, maybe, like neglecting the gravitational forces between ring particles, effective potentials in the system of the nearby moon and so on.
    Questions that can be answered that easily are bad topics.

    The orbits of Epimetheus and Janus are interesting.
    The orbit of the Moon around Earth is complex as well.
    Cassini has an interesting orbit around Saturn, it comes close to various moons with tiny amounts of fuel.
     
  4. Aug 24, 2015 #3
    How many particles are you going to have? Python does not sound like a good language for this, C or C++ would be way better. If you have more than even 100 particles, you are going to need to write something called a binary space partition to keep track of collisions and weight.
     
  5. Sep 2, 2015 #4
    i would suggest a simpler problem. given that you have made n-body simulation for this, how about showing the effects a third body has on an otherwise perfectly periodic two body system?

    if you want to get some starting data for actual bodies in the solar system there is the JPL horizons service for just this: http://ssd.jpl.nasa.gov/?horizons

    i'd also point out the usual gotcha - make sure to sum all the contributions from the bodies before applying them, if you apply them in sequence you will get some spectacular error behaviour. :)

    also take the language criticism with a pinch of salt. using things like math libraries in C/C++ is a pain, and the standard libraries are wastelands of garbage compared to something modern like Python. you sort of need them if you need really high performance... like 1000s of bodies interacting in real time (i.e. a ring simulation you can watch). if you don't need that then its just a great way to make things harder for yourself.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Simulating Saturn's rings in python
  1. Saturn's Rings (Replies: 4)

  2. Saturn's rings (Replies: 6)

  3. Again the Saturn rings (Replies: 3)

  4. Saturns rings (Replies: 2)

Loading...