This repository contains the MESA template used to obtain the population of BBH mergers in García, Simaz Bunzel, Chaty et al. 2021, accepted in A&A.
For computing detailed binary evolutionary models, MESA must be installed (supported version: r10398), and MESASDK (version: 20180822).
.
├── README.md
└── template_r10398
├── column_lists
├── make
└── src
├── ce
│ ├── make
│ ├── private
│ └── public
└── core_collapse
├── make
├── private
└── public
Inside the src
folder two modules, ce
and core_collapse
, can be found which were developed in this work.
The ce
module handles the evolution during a common-envelope phase (using the energy formalism, Ivanova et al. 2003) while the
core_collapse
simply computes relevant masses at the core-collapse stage of a massive star (Fryer et al. 2012).
ce
is controlled via the file inlist_ce
while core_collapse
with controls found in inlist_cc
, both using
namelist as every MESA user control.
To compile and run this template, set up the environment variables needed by MESA: MESA_DIR
, MESASDK_ROOT
, source
the correspoding mesasdk_init.*
and run ./mk_mods && ./mk
. This will create the proper libraries for the ce
and
core_collapse
modules and link everything, creating a binary file called bin2dco
. Finally, run a binary model with ./rn