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

"Simple" 4D Kerr Geodesics simulator, source code and docs

  1. May 24, 2015 #1
    Looks like my main pet GR project is about to enter something akin to maintenance mode, since it now does all I currently need it to.

    It's nothing earth-shattering at first glance, but is very concise (e.g. ~100 lines of Python for the simulator script) and should be easier to understand than most simulation sources that I have seen ;) I can't really give any visuals here, but I think the way it is implemented is seriously neat, and not published anywhere as far as I know.

    It works for particle and light orbits (spherical and "spherical shell", including polar), and even has an initial conditions generator script. To run it you will need a Linux box (tested on Debian Wheezy & Ubuntu Trusty) or virtual machine (VirtualBox works), and also need to be used to executing shell scripts. The README in the project lists dependencies and some example commands to get you started.

    Here is the project (this one is BSD licenced), and here is a little paper/technical note that I knocked up to try to explain what's going on under the covers. Hope someone out there finds it useful . . .
  2. jcsd
  3. May 29, 2015 #2
    Thanks for the post! This is an automated courtesy bump. Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?
  4. Sep 4, 2016 #3

    • I've now added the cosmological constant to my simulator (dev branch recommended).
    • The primary language of the simulator is now Vala, but I have included a Python port of the RK4 version.
    • Equations are taken from this paper.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted