Download

The Grav-Sim command-line software is pre-compiled for Windows users, ready for download. It has been developed and tested on Windows XP and Windows Vista.

Users of other operating systems (Linux, MAC etc) will need to compile the source code, which is included in the release.

Version 1.11 has been extensively tested with the full range of tree codes available. I will write an article on this soon.

It also includes a simple Kepler orbit analyser, which processes binary stars. The analyser is both faster and more accurate for elliptical orbits since it avoids the repetitive close encounters inherent in the numerical approach.

Download: gravsim-1.11.zip

Hardware Requirements

You will need a reasonably modern computer with a fast processor. Grav-Sim was developed on a 3GHz Pentium 4 (more than adequate) and has been tested on a Core 2 Duo.

In terms of memory, 512Mb is adequate on Windows XP whereas Windows Vista users will need 1Gb.

The GravView viewer works well with all modern graphics cards.

Compiling the Source Code

The Grav-Sim source code is included for compilation by enthusiasts. It is written in C++ and is known to compile with:

  • Intel C++
  • Microsoft Visual C++
  • Gnu C++ (gcc under MinGW)

You should find it compiles on any operating system that has gcc available.

However, it is worth experimenting with manufacturer-brand compilers. Although gcc is fantastically portable, it does not produce particularly quick code, even with the full set of optimisation switches turned on.