METISSE with BSE
BSE (Hurley et al. 2002) is a rapid binary evolution code that models key binary interaction processes such as mass transfer, common-envelope evolution, and supernovae. The algorithms implemented in BSE have served as the foundation for many subsequent rapid and detailed binary evolution codes.
Folow these steps to use METISSE with BSE:
Get the METISSE-enabled version of BSE through its GitHub repository.
$ git clone https://github.com/poojanagrawal/BSE-METISSE $ git submodule update --init --recursive
Alternatively, you can clone BSE and METISSE together:
$ git clone --recurse-submodules https://github.com/poojanagrawal/BSE-METISSE.git
Compile the code using:
$ ./mkLet us compute the evolution of a single binary using BSE-METISSE, say a 2.5 M
star with a 1 M
companion, with an initial orbital period of 100 days in a circular orbit for the evolution time of 13.7 Gyr.When using BSE, METISSE-specific inputs are read through the
METISSE_input_controlsinlist in the evolve_metisse.in file. (See METISSE input controls for a complete list of input options).Important
When using BSE, the file evolve_metisse.in should be located in the same directory as the bse executable.
We supply the location of the folders containing Metallicity File for hydrogen and helium stars through
METALLICITY_DIRandMETALLICITY_DIR_HE. (Make sure to provide relevant paths based on the location of these folders on your machine ).&METISSE_input_controls METALLICITY_DIR = '/Users/poojan/Downloads/sample_tracks_solarZ/Hydrogen/' METALLICITY_DIR_HE = '/Users/poojan/Downloads/sample_tracks_solarZ/Helium/' verbose = .true. /
All other inputs including the binary parameters as well as the values of mass and metallicity are read through the BSE input file
binary.in.A typical
binary.inlooks like:2.5 1.0 13700 100 1 1 0.02 0.0 ! mass1 mass2 maximum_evolution_time orbital_period_in_days initial_type1 initial_type2 metallicity eccentricity 0.5 0.0 1.0 3.0 0.5 ! reimers_eta binary_wind_enhancement helium_star_mass_loss_factor alpha_common_envelope lambda_common_envelope 0 1 0 1 0 2 3.0 29769 ! common_envelope_flag tides_on_off white_dwarf_initial_final_mass_relation white_dwarf_cooling black_hole_kicks neutron_star_remnant_mass max_neutron_star_mass kick_random_seed 0.001 0.01 0.02 ! timestep_pts1 timesteps_pts2 timestep_pts3 0.0 0.125 1.0 1.5 0.001 10.0 -1.0 ! kick_velocity_dispersion beta_wind_velocity xi_wind_accretion bondi_hoyle_wind_accretion_factor fraction_of_accreted_matter_retained_in_nova_eruption eddington_limit_factor gamma_angular_momentum_loss 1 ! sse_flag
Run BSE using:
$ ./bse_metisseBSE will produce the following terminal output:
For more detailed output, check the output file in the
output_binaryfolder.As in the standalone mode,
z_accuracy_limitcan be adjusted inMETISSE_input_controlsto use nearby metallicity value if the required value is not present in the grid. See If the metallicity value is not present in the input grid for details.