[mesa-users] trace the computational cell that is limiting the timestep

Josiah Schwab jwschwab at berkeley.edu
Mon Apr 14 12:42:38 EDT 2014


On 14 April 2014 at 08:35 PDT, Mathieu <mathren90 at gmail.com> wrote:

> sorry about the multiple mail. I've noticed that the computational cell 
> that causes the timestep reduction is already in the standard terminal 
> output, but I couldn't find it presumably because of a typo. For 
> example, when starting from the photo of my previous email I get:
>
> reduce dt because of excessive dHe_div_He  2008284006     0.653552773   
> -15.579696979
>
> while it should look like:
>
> reduce dt because of excessive dHe_div_He  2008 284006     0.653552773 
> -15.579696979
>
> with a space between the two first number, which are the cell causing 
> the timestep reduction and the model number. Am I right?

Yes.  That format code doesn't expect 6 digit model numbers, so the cell
and model numbers ended up concatenated.

This is what is being written (from private/timestep.f):

write(*, '(a, 2i6, 2f16.9)') &
    'reduce dt because of excessive dHe_div_He', &
    s% Tlim_dX_div_X_cell, s% model_number, s% star_mass*s% q(s% Tlim_dX_div_X_cell), &
    log10_cr(dt_next/secyer)

Josiah




More information about the Mesa-users mailing list