[Mesa-users] issues with overshooting: invalid location for overshoot boundary

Poojan Agrawal poojanagrawal7 at gmail.com
Tue May 17 16:50:06 UTC 2022


Hi Karel,

The overshooting settings from Choi et al. 2016 should be fine.
I have used them several times.
Unfortunately, I am not familiar with newer versions of MESA or how to pick
values for the new overshooting options, especially the
option`overshoot_bdy_loc'.

Based on the error message from your first email  which says `Invalid
location for overshoot boundary', my naive guess would be to look
into`overshoot_bdy_loc'.
For example, what difference does `top' or `bottom' makes?

That's all I can suggest.
Maybe someone with more useful feedback can chime in.

Best,
Poojan






On Tue, 17 May 2022 at 12:21, Temmink, K.D. (Karel) <karel.temmink at ru.nl>
wrote:

> Dear Poojan,
>
> thank you so much for your quick and insightful reply!
>
> I have just checked, and, unfortunately, this error also occurs when I
> explicitly set `report_ierr = .false.' in my inlists.
> Could that then indeed mean that this problem is a serious one? I've tried
> to base my overshooting settings on
> what I read in Choi et al. (2016), which are nothing extreme
> (physics-wise), I think.
> Would you happen to have an idea of what might cause this behaviour?
>
>
> Kind regards and thanks again,
>
> Karel
> ------------------------------
> *From:* Poojan Agrawal <poojanagrawal7 at gmail.com>
> *Sent:* 17 May 2022 18:02
> *To:* mesa-users at lists.mesastar.org <mesa-users at lists.mesastar.org>;
> Temmink, K.D. (Karel) <karel.temmink at ru.nl>
> *Subject:* Re: Mesa-users Digest, Vol 58, Issue 6
>
> Hi Karel,
>
> The code probably stops because of the following input in your
> inlist_project
> `report_ierr = .true.'  .
>
> With your overshooting options, at some point MESA encounters a non-zero
> ierr, which could be due to many things.
> Usually it is due to some small numerical issue that can be easily solved
> by retrying with a different time-step. However, sometimes the non-zero
> ierr is indicative of some serious problems.
>
>  Thus, with the above option on MESA stops everytime it encounters a
> non-zero ierr, allowing the user to figure out the possible source of
> error.
>
> So, in your case`report_ierr = .false.' should do the trick, unless you
> want to know what's causing the error in the first place (grep
> 'report_ierr' in star/private).
>
> Best,
> Poojan
>
> --
> Poojan Agrawal
>
> *Postdoctoral Research Associate, *
>
> *McWilliams Center for Cosmology, *
>
> *Department of Physics, *
> *Carnegie Mellon University*
>
> On Tue, 17 May 2022 at 08:01, <mesa-users-request at lists.mesastar.org>
> wrote:
>
> Send Mesa-users mailing list submissions to
>         mesa-users at lists.mesastar.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.mesastar.org/mailman/listinfo/mesa-users
> <https://urldefense.com/v3/__https://lists.mesastar.org/mailman/listinfo/mesa-users__;!!HJOPV4FYYWzcc1jazlU!8PS8VipmL9DfFONhOn_GdXTQXKXsvEslWerRCr5wniHzNR0uIbyQw7V4JLVu4XsIhJkruhZEoxR7vrg4vjV_fKpc-g$>
> or, via email, send a message with subject or body 'help' to
>         mesa-users-request at lists.mesastar.org
>
> You can reach the person managing the list at
>         mesa-users-owner at lists.mesastar.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Mesa-users digest..."
> Today's Topics:
>
>    1. issues with overshooting: invalid location for overshoot
>       boundary (Temmink, K.D. (Karel))
>
>
>
> ---------- Forwarded message ----------
> From: "Temmink, K.D. (Karel)" <karel.temmink at ru.nl>
> To: "mesa-users at lists.mesastar.org" <mesa-users at lists.mesastar.org>
> Cc:
> Bcc:
> Date: Mon, 16 May 2022 18:15:50 +0000
> Subject: [Mesa-users] issues with overshooting: invalid location for
> overshoot boundary
> Dear mesa-users,
>
> I've recently upgraded to the latest version of mesa, mesa-r22.05.1, and
> ran into some issues.
> In acquainting myself with this new version, I tried to simulate the
> evolution of low- to intermediate mass single stars (1-8Msun at ZAMS).
>
> Unfortunately, I ran into numerical problems for every simulation I've ran
> so far with this version.
>
> For example, near the end of the He-flash, when the burning flame has just
> reached the centre, mesa exits with the error:
>
>  k, k_a, k_b        1643        1643        1643
>  s%top_conv_bdy(i)= T
>  D(k)   1.6625067809834432E-002
>  s%D_mix(k+1)   0.0000000000000000
>  s%overshoot_D_min   100.00000000000000
>  Invalid location for overshoot boundary: cz_bdy_dq, dq=
>  -2.1741526243966756        3.6151445011785386E-004
>  set_mixing_info failed in call to add_overshooting
>  update_vars: set_hydro_vars returned ierr          -1
>  set_some_vars: update_vars returned ierr          -1
>  prepare_for_new_step: set_vars_if_needed ierr
>  do_step_part1: prepare_for_new_step
> terminated evolution: nonzero_ierr
>
> I have tried changing a few inlist settings related to the meshing (such
> as mesh_dlog_pp_dlogP_extra), which, perhaps unsurprisingly, did not seem
> to help.
> Because the error message mentioned overshooting, I also removed all
> settings related to overshooting from my inlists. In that case, the error
> did not appear and the simulation got through the entire He-flash without
> issues.
>
> However, I do want to include the effects of overshooting in the
> calculations, so leaving them out of the inlists is not an option for me.
> I was wondering if anyone else has encountered this error too, or could
> advise me on how to get past this. I would be extremely grateful for any
> help.
> I have attached my inlists and run_star_extras.f90 that should reproduce
> this problem. I have also included a photo to restart from, since the issue
> only appears at timestep number 14748.
>
> Thank you in advance for your time and effort.
> With kind regards,
>
> Karel Temmink
>
> Astrophysics PhD candidate (stellar and binary evolution) at Radboud
> University, Nijmegen, The Netherlands
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220517/69630856/attachment.htm>


More information about the Mesa-users mailing list