Closed reinhold-willcox closed 1 year ago
See Remnants::CalculateMassLossRateHurley(); this is not over-written for NSs or BHs. Hurley+ aren't very clear on whether they intended for this to apply to WDs, but it certainly shouldn't apply to NSs or BHs, so should be overwritten to zero there. Even if Nieuwenhuijzen & de Jager winds are used, they would be zero for BHs because they scale with luminosity -- but a related problem is that our BHs inherit the non-zero luminosity of NSs, which should also be fixed. @akonstantinu would you like to try making these fixes? [@SimonStevenson , pinging you too, since you are looking at winds now.]
@akonstantinu, I still don't understand why the mass loss rates are so high given the expression which I think we are using to compute the Nieuwenhuijzen & De Jager winds -- please check. Also, while you are at it, can you fix NS::CalculateLuminosityOnPhase_Static() -- it's missing a power of 2/3 on the mass relative to Eq. (93) of Hurley, Pols, Tout (2000), which it's supposed to implement.
Do I just make the changes on my PC and push them?
Andreas, you will want to create a branch, test it, create a pull request from that into dev, and after that's reviewed, it will be incorporated into the main code. @reinhold-willcox had a very nice description of the procedure... but now I can't find it, perhaps because it's getting to close to midnight. :) Maybe he can help!
Hi @akonstantinu,
Here is the (slightly outdated) workflow. It should get you up to speed on using git and setting up a pull request. If you have any questions, you can ping me.
https://compas.readthedocs.io/en/latest/pages/Getting%20started/dev-git-workflow.html
Working on this issue now. Fixed Nieuwenhuijzen & De Jager winds -- Chris Tout confirms they shouldn't apply to any remnants -- and the missing power in NS::CalculateLuminosityOnPhase_Static().
OK, three things:
Resolved in commit #900 , closing.
Describe the bug BHs appear to be losing mass following the Vink(?) prescription. This was discovered by Andreas Konstantinou. The m_Mdot parameter appears to have related, anomalous behavior.
Label the issue
urgency_moderate
- This is a moderately urgent issueseverity_minor
- This is a minor bug with minimal impactTo Reproduce
Together with the following
COMPAS_Output_Definitions.txt
Then mask for accreting BHs.
Expected behavior BHs should not lose mass, and m_Mdot should accurately reflect the mass loss in a given timestep.
Screenshots
Versioning (please complete the following information):