[Mesa-users] too small timesteps - a way to solve it?

Amedeo Romagnolo amedeoromagnolo at gmail.com
Fri May 27 13:38:24 UTC 2022


Hi Warrick,

as a matter of fact you are correct: the inlist I sent was just a template.
Attached an inilist of a "minimal working example" with some extreme
situations, i.e., initial mass = 100 Msun and initial metallicity = 0.03.

Like in the previous case, I get stuck in the Main Sequence at log(dt) ~ 1.2

Cheers and have a nice weekend,

Amedeo

On Thu, 26 May 2022 at 13:00, Warrick Ball <W.H.Ball at bham.ac.uk> wrote:

> Hi Amedeo,
>
> Timesteps decreasing to zero is usually a symptom of MESA struggling with
> something happening in your star, so the first thing we're trying to do is
> guide you to figure out *why* that's happening.  I just had a look at your
> inlist, and there is a *lot* going on in there, which will make this hard
> to decipher.  You also haven't really told us what you're trying to model
> other than "very massive stars at high metallicity", and your inlist has
>
>      initial_z = 0.00142
>
> which implies *low* metallicity, rather than high.
>
> I would suggest cutting your inlist right back down to almost nothing,
> then slowly add controls back in until you get your problem again, then
> remove irrelevant controls that you added so that we end up with what we
> call a "minimal working example": a small inlist that reproduces the
> problem.  Then we can probably start looking at detailed output and
> figuring out why the run stalls halfway along the main-sequence, with a
> better idea of which controls are causing a problem.
>
> Cheers,
> Warrick
>
>
>
> ___________
>
> Warrick Ball
> Postdoc, School of Physics and Astronomy
> University of Birmingham, Edgbaston, Birmingham B15 2TT
> W.H.Ball at bham.ac.uk
> +44 (0)121 414 4552
>
> On Thu, 26 May 2022, mesa-users at lists.mesastar.org wrote:
>
> > Hi Anne,
> >
> > I did indeed put those lines to see what happens, but unfortunately I'm
> not familiar enough with MESA debugging to actually understand what it does
> mean.
> >
> > First of all any reference on this regard would be much appreciated.
> >
> > Secondly, here attached is an example of the debugging output
> >
> > Amedeo
> >
> > On Tue, 24 May 2022 at 16:19, Anne Thoul <anne.thoul at gmail.com> wrote:
> >       Dear Amadeo,
> > Thank you.
> >
> > Have you looked at which criterion defines the timestep when it gets
> tiny?
> > This appears as dt_limit on your screen while you run the code.
> >
> > You might want to see what happens when you use a higher value for
> varcontrol_target; the (recommended) default is now 1d-3.
> > See the docs for changes in r15140:
> > "The option varcontrol_target is NOT the recommended way to push time
> resolution to convergence levels. To perform temporal convergence studies,
> use the new control time_delta_coeff, which acts as a multiplier for
> timestep limits (analogous
> > to mesh_delta_coeff for spatial resolution).
> >
> > One strategy for choosing effective timestep limits is to first
> set varcontrol_target = 1d-3."
> >
> > You could also use the following for info about what limits the timestep:
> > "Summary information about the conditions that limited the timestep can
> be printed at the end of run using
> the star_job option show_timestep_limit_counts_when_terminate. «
> >
> > I see that you have the following debugging lines in your inlist:
> > "report_all_dt_limits = .true.
> >   report_why_dt_limits = .true.
> >     report_solver_dt_info = .true. »
> > What do these say?
> >
> > I am not an expert for stars that are that massive, but I am sure others
> with more knowledge will chime in.
> >
> > Anne
> >
> >
> >
> >
> >
> >
> >       Le 24 mai 2022 à 13:00, Amedeo Romagnolo <
> amedeoromagnolo at gmail.com> a écrit :
> >
> > Dear Anne,
> >
> > Thanks for pointing this out. My version is 15140 .
> > I made a movie with all that's happening in my simulations (I put it in
> filesharing because it was too big as an attachment).
> > Attached the inlist.
> >
> > Amedeo
> >
> >
> https://wetransfer.com/downloads/17a09e08cd19ff9b74af3414fdb6da8b20220524105620/d047a9a16bd2965bb27894027e95281920220524105630/82dbc6
> >
> >
> > On Tue, 24 May 2022 at 09:37, Anne Thoul <anne.thoul at gmail.com> wrote:
> >       Hi Amadeo,
> >
> >       Your message lacks the necessary information that might make it
> possible for someone to help you, such as inlists, some figures, exact time
> when the problem starts, mesa version you are using etc.
> >
> >       Anne
> >
> >       > Le 24 mai 2022 à 09:33, Amedeo Romagnolo via Mesa-users <
> mesa-users at lists.mesastar.org> a écrit :
> >       >
> >       >
> >       > Hi all,
> >       >
> >       > I have a problem regarding simulating very massive stars at high
> metallicity.
> >       > The problem is that, despite not getting any abrupt end of the
> simulation, The stellar evolution seems to be stuck in the middle of the
> main sequence with so little timesteps that nothing ever changes.
> >       >
> >       > So my question would be: is there any way one could compensate
> for this problem in any possible way?
> >       >
> >       > Cheers,
> >       >
> >       > Amedeo
> >       > _______________________________________________
> >       > mesa-users at lists.mesastar.org
> >       > https://lists.mesastar.org/mailman/listinfo/mesa-users
> >       >
> >
> > <inlist_project>
> >
> >
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220527/605fd340/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_project
Type: application/octet-stream
Size: 3405 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220527/605fd340/attachment.obj>


More information about the Mesa-users mailing list