MOCCA-SURVEY-2, file snapshot.dat
File snapshot.dat contains snapshots of all single stars and binaries of a star cluster for every 200 Myrs.
List of columns in the snapshot.dat file:
name: im, type: INTEGER, column: 1
star/binary name (inames/inameb)
name: r, type: DOUBLE, column: 2
position in the cluster in pc
name: vr, type: DOUBLE, column: 3
radial velocity in km/s
name: vt, type: DOUBLE, column: 4
tangential velocity in km/s
name: u, type: DOUBLE, column: 5
potential [MC units]
name: ikb, type: INTEGER, column: 6
binary type
name: a, type: DOUBLE, column: 7
semi-major axis of a binary in Ro
name: e, type: DOUBLE, column: 8
name: ik1, type: INTEGER, column: 9
star type of the first component
name: ik2, type: INTEGER, column: 10
star type of the second component
name: sm1, type: DOUBLE, column: 11
mass of the first component in Msun
name: sm2, type: DOUBLE, column: 12
mass of the second component in Msun
name: popId1, type: INTEGER, column: 13
name: popId2, type: INTEGER, column: 14
name: timenr, type: INTEGER, column: 15
timestep as an integer number
name: idd1, type: INTEGER, column: 16
star/binary id
name: idd2, type: INTEGER, column: 17
star/binary id
name: lum1, type: DOUBLE, column: 18
name: lum2, type: DOUBLE, column: 19
name: rad1, type: DOUBLE, column: 20
name: rad2, type: DOUBLE, column: 21
name: hist1, type: LONG, column: 22
compact history for the first starOne number which holds compact information aboutinteresting events which happened for the star:000000000001 - had dynamical collision (interaction)000000000010 - had binary merger (stellar evolution)000000000100 - had MT (increased the mass)000000001000 - had interaction000000010000 - had exchange000000100000 - went to a binary (interaction)000001000000 - went to single (dissolution in stellar evolution)000010000000 - went to single (interaction)000100000000 - separation changed by 1%001000000000 - separation changed by 10%010000000000 - eccentricity changed by 1%100000000000 - eccentricity changed by 10%E.g. if the star had two dynamical collisions and 5 MT then it has:0000000052E.g. Max value is 9, so if the star would had 100 collisions and 100 MT then it would have:0000000099The easiest way to use this column in AWK to getnumber of e.g. binary mergers is:awk '{if ( int(($36%100)/10) > 0) print $0;}' kick.dat
name: hist2, type: LONG, column: 23
compact history for the second star
name: spin1, type: DOUBLE, column: 24
name: spin2, type: DOUBLE, column: 25
name: mu1, type: DOUBLE, column: 26
mass transfer rate (secondary)
name: mu2, type: DOUBLE, column: 27
mass transfer rate (secondary)
name: mv1, type: DOUBLE, column: 28
mass transfer rate (secondary)
name: mv2, type: DOUBLE, column: 29
mass transfer rate (secondary)
name: mb1, type: DOUBLE, column: 30
mass transfer rate (secondary)
name: mb2, type: DOUBLE, column: 31
mass transfer rate (secondary)
name: mi1, type: DOUBLE, column: 32
mass transfer rate (secondary)
name: mi2, type: DOUBLE, column: 33
mass transfer rate (secondary)
name: mtr1, type: DOUBLE, column: 34
mass transfer rate (primary)
name: mtr2, type: DOUBLE, column: 35
mass transfer rate (secondary)
name: ibstra1, type: INTEGER, column: 36
ibstra 1
name: ibstra2, type: INTEGER, column: 37
ibstra 2