[Mesa-users] history and profiles from more than one inlist
aldanag at campus.technion.ac.il
aldanag at campus.technion.ac.il
Tue Aug 7 12:08:35 EDT 2018
Yet there is still one problem- the age of the star still resets itself to 0 at the beginning of each history file. I can fix it in the analysis (by MATLAB) yet I wonder if there is a way telling MESA to start the second inlist from the point in time where the first inlist ended without setting the initial age to 0 after each inlist.
________________________________
From: Aldana Grichener
Sent: Tuesday, August 7, 2018 7:03:36 PM
To: Aaron Dotter; W.H.Ball at bham.ac.uk
Cc: mesa-users
Subject: Re: [Mesa-users] history and profiles from more than one inlist
Thank you very much for both solutions, I tried them both and they worked perfectly.
Aldana.
________________________________
From: Aaron Dotter <aaron.dotter at gmail.com>
Sent: Tuesday, August 7, 2018 6:37:16 PM
To: W.H.Ball at bham.ac.uk
Cc: Aldana Grichener; mesa-users
Subject: Re: [Mesa-users] history and profiles from more than one inlist
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<mailto: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<mailto:W.H.Ball at bham.ac.uk>
+44 (0)121 414 4552
On Tue, 7 Aug 2018, mesa-users at lists.mesastar.org<mailto: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<mailto: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/ca32facf/attachment.html>
More information about the Mesa-users
mailing list