next up previous contents
Next: Restarting From a Previous Up: Hyperbolic Collisions Previous: Equal-mass Hyperbolic Binaries   Contents


Unequal-mass Hyperbolic Binaries

To construct a hyperbolic binary configuration with unequal-mass stars, you can use the ``setuphypq'' subroutine, which is called by setting the three letter code in sph.init to ``hyq''.

The particle positions and other important parameters are read in from files called ``pos.sph'' and ``pos2.sph'', which you will need to create. We have supplied the code to make executables called ``b2pos'' and ``b2pos2'', which will write these files for you. Based on responses to two questions, it can convert binary output files, in the form ``out012.sph'' (or any other 3-digit number) or ``restart.sph'' into the ASCII pos.sph and pos2.sph files. For more on file I/O, please see Sec. 5.

Given the possible complexities involved in setting the initial parameters, we strongly recommend using testinput to help set the gravity grid limits.



Joshua Faber 2003-06-28