[mesa-users] timestep controls

Robert Farmer rjfarmer at asu.edu
Mon May 9 13:14:57 EDT 2016

Hi Kenny

if there is not an option you can always make your  own in


In extras_startup:



if( abs( 10**s%xtra1_old - 10**s%log_R) > EPS) then
    extras_check_model = retry
    s% dt = s%dt * SOME_SCALE_FACTOR
end if

This will save the stars previous radius in s%xtra1 which in the next
timestep, becomes extra1_old, you can then compare it to the current radius
and if some condition is false force a retry with a new timestep.


On Mon, May 9, 2016 at 9:01 AM, Kenny Van <kvan at ualberta.ca> wrote:

> Hi,
> I was looking through the timestep controls and I noticed that while there
> was a parameter for looking at the change in mass of the star:
> 'delta_lg_star_mass_limit'. There is no equivalent for radius of the star.
> The closest I could find to that is the max change in any cell radius
> using: 'delta_lgR_limit'. I was wondering if there was any way to have a
> radius equivalent to 'delta_lg_star_mass_limit'?
> Thanks
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20160509/3506f67f/attachment.html>

More information about the Mesa-users mailing list