-
Notifications
You must be signed in to change notification settings - Fork 77
Description
Describe the bug
When attempting to fix the issues with neutron star recycling in the current version, @SimonStevenson and I have discovered that in some situations, the NS would accrete 0.25 Msol in one timestep of 1000 years, which is unphysical, since the accretion rate onto a neutron star should be Eddington limited.
@SimonStevenson and I have narrowed down the possible issue in the function
void BaseBinaryStar::CalculateMassTransfer(),
where m_FractionAccreted is calculated using CalculateMassAcceptanceRate().
It seems like that the code is calculating the mass transfer rate in this timestep described above as thermal mass loss rate, while it is much shorter than thermal time scale.
Label the issue
urgency_moderate - This is a moderately urgent issue. While this creates some issues, these cases are relatively rare and don't seem to pose problems to the majority of simulations.
To Reproduce
I have attached a yaml file (in the format of txt as GitHub doesn't support uploading yaml file) that should be able to reproduce this case
config_accretion_bug.txt
Versioning (please complete the following information):
- COMPAS v02.41.05