[mesa-users] how to specify the contents of a log file for a run
Bill Paxton
paxton at kitp.ucsb.edu
Wed Jun 15 12:08:36 EDT 2011
On Jun 15, 2011, at 1:32 AM, Yasunori Hori wrote:
> I have one question about how to make a new data file.
>
> When I calculate evolution of an irradiated planet,
> I would like to make a data file that includes
> age(time), Mass, Radius, T_surf, P_surf, RHO_surf, L_surf.
> Could you please tell me which file should be changed?
Hi Yasunori,
In the &star_job section of your inlist, add this line:
log_columns_file = 'log_columns.list'
Make a local copy of the file
mesa/data/star_data/log_columns.list
Edit your new copy to select the items you want saved in the star.log file (it is in your LOGS folder).
Keep in mind that "surf" means the outer boundary of the model. So if you use a boundary condition that places that outer boundary somewhere other than the photosphere, then T_surf /= T_effective.
In the &controls section of your inlist, set the log_cnt to determine how often the log is updated.
To get every model recorded in the log, do this:
log_cnt = 1
If you find that there is something that you want to put in the log that isn't included in the standard options in log_columns.list, there are ways for you to write a few lines of code to add whatever you want.
Good luck!
Bill
More information about the Mesa-users
mailing list