-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tiny Time Steps During High Mass Transfer Rates in Star & Binary (r24.08.1) #757
Comments
Hi Philippe! I don't think you have provided enough info for us to help...what is limiting the timestep ( Without knowing those, it's hard to help. You may also want to send this (with the extra info) to the MESA mailing list, where it's likely more people will see and be able to chime in to help you. |
Hi Mathieu, thanks for the response. We are using MESA ver r24.08.1 and I have tried superadiabaticity reduction via the I have attached a minimal working example. Thanks again! |
Hi Philippe, Thanks for the extra information, this is helpful!
Those I will not have time to play with your setup in the near future, so I still encourage you to send your zipped folder to the mailing list, where it's likely more people will see it (there are several hundreds people subscribed there, I doubt as many monitor the github issues!). Hope this helps a bit! |
Hi Phillipe! I played around with your setup a bit. It looks like most of the numerical problems come from the surface convection zone, particularly in the eps_mdot term in the energy equation which redistributes heat due to mass loss. I haven't played around with superad reduction (with the default parameters the solver still struggles a lot), but the solver is much happier if you turn MLT++ full on ( |
Hi Mathieu and Sunny, Thank you both so much for the new suggestions! Sunny's suggestion is indeed working magic for the test case I attached. Will try it on our full problem as well. Best, |
What were you trying to do?
I am working on a problem that leads to high mass transfer rates for a solar-type star orbiting an SMBH. When the mass transfer rate is above 10^-4 Msun/year, the timestep in MESA becomes very small (dt ~ 10^-5 yrs). This would require ~10^8 timesteps to lose 0.1 Msun. However, when the mdot is below 3e-5 Msun/year, the timesteps are generally very reasonable (dt >10-100 years) and the whole evolution can be completed within a reasonable time.
Other information
We also did the same test in a single star case with a range of stellar masses (1, 2, 3 Msun) starting from ZAMS by using the command
mass_change=-1d-4
This problem persists with timesteps remaining small.
Any input would be greatly appreciated!
Best,
Philippe
The text was updated successfully, but these errors were encountered: