[Mesa-users] history and profiles from more than one inlist

Aaron Dotter aaron.dotter at gmail.com
Tue Aug 7 11:37:16 EDT 2018


Hi Aldana,

Another simple solution is to specify the name of the history file in each
inlist (controls section), e.g.,

star_history_name = 'history_h_burn.data'

in inlist_h_burn and similarly for the other inlists.  Then, when you're
done, you'll have three files corresponding to the three inlists.

You can do the same with profiles through

      profiles_index_name = 'profiles_h_burn.index'

and

     profile_data_prefix = 'profile_h_burn'

separately for each inlist.

Aaron


On Tue, Aug 7, 2018 at 11:32 AM Warrick Ball via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> Hi Aldana,
>
> Can you not just move the files to a new folder between runs? e.g. after
> running `inlist_h_burn`,
>
>      mv LOGS/ LOGS_h_burn/
>
> You can remake the LOGS directory if you want (`mkdir LOGS`) but this
> isn't necessary: MESA remakes the directory on its own.
>
> Cheers,
> Warrick
>
> ------------
> Warrick Ball
> Postdoc, School of Physics and Astronomy
> University of Birmingham, Edgbaston, Birmingham B15 2TT
> W.H.Ball at bham.ac.uk
> +44 (0)121 414 4552
>
>
> On Tue, 7 Aug 2018, mesa-users at lists.mesastar.org wrote:
>
> >
> > Hello,
> >
> >
> > I am using mesa-r9575 for evolving a massive star. I am working on a
> copy of the test-suite 20M_core_collapse, yet since I need to change some
> of the initial conditions I am creating the model form the ZAMS
> > phase running all the 3 inlists attached here via the header files.
> >
> >
> >
> > My problem is that I need the profiles and history from the entire run,
> yet both profiles and history are reseted after MESA enters to each inlist,
> meaning that at the end of the run I can see only the
> > history and profiles from the point in time for which MESA entered the
> third inlist (inlist to_cc). I made sure during the run that MESA actually
> runs all 3 inlists.
> >
> >
> > Does anyone know a way to save the data from the entire run?
> >
> >
> > Thanks in advance.
> >
> >
> > Aldana.
> >
> >
> >
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180807/e8e08e22/attachment.html>


More information about the Mesa-users mailing list