[mesa-users] timestep controls
Pablo Marchant
pamarca at gmail.com
Mon May 9 13:37:59 EDT 2016
And if you wish, you can also set s% dt_next in extras_finish step without
retrying, so it works like the non-hard timestep limits
(also untested)
if( abs( 10**s%xtra1_old - 10**s%log_R) > EPS) then
s% dt_next = min(s% dt_next, s%dt * SOME_SCALE_FACTOR)
end if
On Mon, May 9, 2016 at 7:14 PM, Robert Farmer <rjfarmer at asu.edu> wrote:
> Hi Kenny
>
> if there is not an option you can always make your own in
> run_stars_extra.f
>
> (Untested)
>
> In extras_startup:
> s%xtra1=0.d0
>
> extras_finish_step:
> s%xtra1=s%log_R
>
> extras_check_model:
>
> 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.
>
> Rob
>
>
>
> 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
>>
>>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
--
Pablo Marchant Campos
M.Sc on Astrophysics, Universidad Católica de Chile
PhD student, Argelander-Institut für Astronomie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20160509/df9998d3/attachment.html>
More information about the Mesa-users
mailing list