[mesa-users] understand the output of mesa/star

Jeremy Sakstein j.a.sakstein at damtp.cam.ac.uk
Tue Jul 5 03:46:00 EDT 2011

Hi Tingtao,

It depends what you want to visualise. If you want to watch the run proceed 
then you can use PGPLOT to visualise what is going on. If you want to plot 
the results then you need to use a seperate program to plot the data. The 
data in the columns is shown at the top of the file. Now the data that is 
output is contained in a file in /mesa/data/star_data/log_columns.list and 
you can add or remove columns to meet your needs. The best way top do this 
is to copy the file to your working directory and use the control in 
star_job "log_columns_file = '#.lis'. I use IDL to do the plots because 
there is a really good function called READCOL that lets you read long 
columns of data in and convert them to vectors but it is up to you. You 
should also have a look at TIOGA which I am only just starting to learn 

Hope this helps,


On Jul 5 2011, ztt wrote:

>Dear Mesa users,
> I'd like to know how to interprete the results from star. Is there any 
> way to visualize the results? I see there is log#.data files in LOGS 
> directory, which I can get some information about the run result. Some 
> 'photo' files are generated by the code, so I'm guessing that's what I 
> need, but I don't know about the format or any tool to read it (I failed 
> with vim).
> By the way, I'm a student from school of physics, Peking University and 
> currently working on a project with Prof. Andrew Cumming, utilizing the 
> mesa code. We are trying to implement doubly diffusive convection into 
> mesa to investigate the structure & evolution of gas giants. So I also 
> would like to know if doubly-diffusive convection physics is already 
> implemented in mesa.
>Thank you very much!
>Best wishes, Tingtao

More information about the Mesa-users mailing list