For such configurations, you will need to construct models of
both stars separately. Note that we do not require the stars to have
different masses, it is fine to run different models for stars with
the same mass. It is also acceptable to use stars with different
values of the entropic variable
, and this is actually required if you
want to deviate from the polytropic mass-radius relation. It is
REQUIRED, however, that the stars have the same value of the
adiabatic index
, since this is treated by the code as a
single scalar defined for all of the particles. For stars with
different values of
, you will need to make it a vector within
the common blocks, and carefully edit every occurrence of it in the
code to reflect the change.
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, they will 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, respectively. In fact, they only differ in the name of the file to which they write their data. For more on file I/O, please see Sec. 5.