>
BINARY TUTORIAL |
Binary Systems
Simulations of binary systems, for example binary black hole or binary neutron star simulations in numerical relativity, are supported. It is assumed that there is only one binary in a simulation, and functions are provided to access the coordinate properties of the members of the binary, as well as their relative orbit. The members of the binary are identified by integers 1 and 2. In general, if no member index is given, the result refers to the relative orbit of the binary.
The binaries functions work with simulation data from the PunctureTracker, MinTracker, ShiftTracker and AHFinderDirect codes, as well those in Numerical Relativity Data Format (NRDF).
Working with binary systems
ReadBinarySeparation | ReadBinaryPhase |
ReadBinaryCoordinates | ToListOfPoints |
Functions for reading black hole information.
Orbital separation
The function ReadBinarySeparation gives the distance between the two members of the binary as a function of time.
In[1]:=
Out[1]=
In[2]:=
Out[2]=
In[3]:=
Out[3]=
Orbital phase
ReadBinaryPhase gives the orbital phase, or azimuthal angle (in radians) projected into the xy plane, of the relative orbit vector (i.e. the vector joining the two members of the binary).
In[4]:=
Out[4]=
In[5]:=
Out[5]=
Trajectories
The function ReadBinaryCoordinates gives a list of coordinates x, y and z. Each is a DataTable containing a coordinate position as a function of time.
In[6]:=
Out[6]=
In[7]:=
Out[7]=
In[8]:=
Out[8]=
If no binary index is given, then the coordinates are of the relative orbit.
The function ToListOfPoints can be used to convert a list of coordinate DataTables into a list of points suitable for plotting:
In[9]:=
Out[9]=
In[10]:=
Out[10]=
Interpolated coordinates
Sometime you may not want to consider the discrete output of the simulation. You can use Interpolation on DataTables to create a function containing the coordinates:
In[11]:=
In[12]:=
Out[12]=
Implementation notes
SimulationTools obtains binary system information (in order of preference) from any of the following sources:
PunctureTracker Cactus output
AHFinderDirect Cactus output
MinTracker Cactus output
ShiftTracker Cactus output
Numerical Relativity Data Format (NRDF) output files [not yet implemented]
In all cases, the binary members are numbered in the same sequence as the output data, and it is assumed that the first two tracked objects correspond to the binary. For PunctureTracker, MinTracker and ShiftTracker, trackers 0 and 1 correspond to binary members 1 and 2. For AHFinderDirect and NRDF, the mapping between tracker index and binary member is one to one.