Update AGN spin/jet model
This MR implements a variety of small changes related to the 'SPIN_JET' BH model. These changes are:
- Some parameter updates as a result of calibration on 50 Mpc EAGLE low-res boxes.
- Added the option of choosing any seed BH spin (this has also been tested - it seems to have little impact in cosmological boxes).
- The floor spin value is now 0.01 instead of 0.001 (to prevent very small time-steps).
- Added three new jet velocity models (and the necessary parameters). These use constant mass loading, or two different formulas for the velocity determined from local parameters (these derivations are on the COLIBRE-BH slack).
- Small correction in the calculation of the jet velocity in the
BlackHoleMass
model;bp->group_mass
was used instead ofhalo_mass
, the latter of which is calculated a few lines above. - The minimal jet velocity parameter is now converted from km/s into internal units once read in.
- Old AGN parameter
AGN_cumulative_energy
is now explicitly zeroed once BHs are seeded/read-in (for clarity). - Additional diagnostics - each BH now carries information on how much it accreted as well as how much energy it released as radiation/jets in each accretion mode (thick, thin and slim disc - these 3 modes are represented as parts of an array).
- Further diagnostics - the total BH luminosity and jet power of all BHs are recorded in the
statistics.txt
file. This is non-trival to calculate (from the total accretion rate) in the spin model, where efficiencies vary from BH to BH.
Edit: It would be good to port these changes to the COLIBRE version if/once they are acceptable.
Edited by Filip Husko