[mesa-users] How to make mesa write output at specific ages?
Earl Bellinger
bellinger at mps.mpg.de
Thu Feb 4 08:56:17 EST 2016
I put an accidental slash in that sed command, it should read:
sed -i.bak "s/max_age = 4.57e9/max_age = 13.8e9/g" inlist_1.0
Earl Bellinger
Stellar Ages & Galactic Evolution Group
Max-Planck-Institut für Sonnensystemforschung
On Thu, Feb 4, 2016 at 2:55 PM, Earl Bellinger <bellinger at mps.mpg.de> wrote:
> Hi Pritesh,
>
> The MESA controls inlist has the option
>
> max_age
>
> which you can set, for example, to the age of the sun:
>
> max_age = 4.57e9
>
> If you want to output multiple ages, you can write a bash script that will
> run the script until the desired age, then sed out that age and put in the
> new one, run until the next desired age, etc. It might look something like:
>
> mk
> rn
> sed -i.bak "s/\max_age = 4.57e9/max_age = 13.8e9/g" inlist_1.0
> rn
>
> which will run until the age of the sun, then change the max age to the
> age of the universe, and then rerun until then.
>
> There are also controls for the timestepping, for example you can change
> max_years_for_timestep.
>
> Good luck!
>
>
> Earl Bellinger
> Stellar Ages & Galactic Evolution Group
> Max-Planck-Institut für Sonnensystemforschung
>
> On Thu, Feb 4, 2016 at 12:03 PM, pritesh ranadive <astroprit at gmail.com>
> wrote:
>
>> Hi I am Pritesh, I am new to mesa, I wish to write the mesa output at
>> specific ages during the evolution of the star.
>> How do I do this? Is there a direct control in the mesa defaults for this?
>>
>> - Pritesh
>> Astronomy Olympiad Cell
>> HBCSE - TIFR.
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>> 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/20160204/2e72e407/attachment.html>
More information about the Mesa-users
mailing list