[mesa-users] concatenate history.data and save all profile data for all inlists

chulwook Park pcw8531 at gmail.com
Fri May 19 10:38:34 EDT 2017


Hi ;

I would like to find out an *agent-based modeling with continuous
strategies via Fermi rule*.
If someone can recommend any useful example (Jupyter notebook based) for
figuring out how to do it, that would be great, I hope.

Cheers,

On Wed, May 17, 2017 at 7:58 PM, Ying Qin <Ying.Qin at unige.ch> wrote:

> Many thanks for Pablo, Bill and Robert.
>
> Cheers,
> Ying
>
> On 17 May 2017, at 18:30, Pablo Marchant <pamarca at gmail.com> wrote:
>
> Also, I want to self-promote my own Kippenhahn plotter which can receive a
> list of history.data files as input
>
> https://github.com/orlox/mkipp
>
> But if you are already using your own tools for the plotting, I agree that
> manual (or automated) merging of the files after the runs might better.
>
> On Wed, May 17, 2017 at 11:24 AM, Bill Paxton <paxton at kitp.ucsb.edu>
> wrote:
>
>>
>> On May 17, 2017, at 9:14 AM, Robert Farmer wrote:
>>
>> Hi
>>
>> Inside the controls inlist you can set the log_directory option to
>> control where the output files go, this can then be set differently for
>> each set of inlists, then after the mesa run you could merge the files
>> together yourself.
>>
>>
>> merging the files will be much easier if you don't reset the time and
>> model number to 0 at the start of each inlist.
>>
>> put these lines in the &star_job section of your following inlists after
>> the initial one.
>>
>>       set_initial_age = .false.
>>       set_initial_model_number = .false.
>>
>> b
>>
>>
>>
>>
>>
>> Rob
>>
>> On Wed, May 17, 2017 at 9:05 AM, Ying Qin <Ying.Qin at unige.ch> wrote:
>>
>>> Hi all,
>>>
>>> I am currently playing MESA with an example (i.e. make_pre_ccsn) in
>>> test_suite.  In order to plot the Kippenhahn diagram to see how the star
>>> evolves from the Pre-Main sequence to core-collapse, I need
>>> one unique history.data and corresponding profile data. However, there
>>> are several inlists for this project. It only saves the information
>>> corresponding to the last one, and the previous history and profile
>>> data will be overwritten.
>>> Could any users know how to concatenate all the history data and save
>>> all the corresponding profile data for each inlist automatically ?
>>>
>>> Thank you in advance,
>>> Ying
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org <http://slashdot.org/>!
>>> http://sdm.link/slashdot
>>> _______________________________________________
>>> mesa-users mailing list
>>> mesa-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org <http://slashdot.org/>!
>> http://sdm.link/slashdot_______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> 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
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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/20170519/6723b215/attachment.html>


More information about the Mesa-users mailing list