[Mesa-users] 'bad negative xa' problem keeping timstep small

Arman Aryaeipour a.aryaeipour at surrey.ac.uk
Wed Aug 18 15:23:45 UTC 2021


Hello MESA users,
I'm using mesa-r15140 to run nova models atop a carbon-oxygen white dwarf.
However, my simulation experiences a problem where the timestep size is driven down to ~1 second or less due to “retry: some xa < min_xa_hard_limit” and kept there for many tens of thousands of timesteps. This retry message is printed at every 3-4 timesteps and appears to be the reason why my timetep size cannot get any bigger. Using the the control “report_bad_negative_xa = .true.”, I can see that the 'bad negative xa' are from the cells within the burning region of the WD-envelope interface, and specifically from the CNO cycles beta-minus decaying isotopes synthesized there (mostly N13).
In my model, I use the other_D_mix hook routine to implement some mixing between the white dwarf and its accreted envelope when the maximum temperature reaches 10^8 K.
This mixing phase lasts for about 600 seconds, and the mixing region extends into a portion of the WD substrate and out to the outer parts of the envelope (it does not include the surface, however). The reduced timestep due to the consistent “retry: some xa < min_xa_hard_limit” message arises after this mixing phase. This problem stops the model finishing the nova cycle.
I understand that artificially mixing C12 from the WD into the hydrogen rich envelope using the other_D_mix hook routine will synthesize a much greater quantity of beta-minus decaying isotopes, as compared to no artificially implemented mixing. But why does the solver consistently get bad mass fraction values for the beta-minus decaying isotopes when the timestep size is 1s, which is much smaller than the half-life of the isotopes? Using a higher mesh resolution and smaller value of 'varcontrol_target' does not seem to help the problem.
How can I get the simulation to have a larger timestep size after my implemented mixing has finished, and stop the solver from producing 'bad negative xa'?
This problem can be reproduced using the attached inlists, modified run_star_extras.f routine and the CO WD model.
The inlist 'inlist_before_mix' evolves the WD model through the accretion phase and reduces the timstep to 60s once the maximum temperature in the model approaches 10^8K, this is to prepare the model for the implemented mixing phase. Once the model reaches 10^8K, the run terminates and outputs the model 'model_at_10^8K.mod'.
The inlist 'inlist_do_mix' uses the 'model_at_10^8K.mod' model to carry out the mixing phase, and then continues the evolution of the model. It is after this point that I get the 'bad negative xa' problem which limits the timestep size.
I would be grateful for any suggestions anyone may have regarding this issue! Thank you to anyone who took the time to read this message, and my apologies that it is on the longer side!
Kindest regards,
Arman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210818/a96e4765/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_star_extras.f90
Type: text/x-fortran
Size: 14558 bytes
Desc: run_star_extras.f90
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210818/a96e4765/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_before_mix
Type: application/octet-stream
Size: 3681 bytes
Desc: inlist_before_mix
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210818/a96e4765/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_do_mix
Type: application/octet-stream
Size: 5091 bytes
Desc: inlist_do_mix
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210818/a96e4765/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wd2_CO_L--2.mod
Type: audio/x-mod
Size: 749716 bytes
Desc: wd2_CO_L--2.mod
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210818/a96e4765/attachment-0003.bin>


More information about the Mesa-users mailing list