[Mesa-users] Adding and swapping atmosphere tables

Giovanni Mirouh gmirouh at iaa.csic.es
Sat Jun 22 15:07:57 UTC 2024


Dear MESA community,

I am interested in swapping atmosphere tables from default MESA to MIST 
photosphere tables and run comparisons.

I have looked into the mesa-users archives and found various 
recommendations. The one that I managed to implement is to replace the 
tables, the summary file, and the test output in $MESA_DIR/atm/atm_data 
and $MESA_DIR/atm/test, then reinstall MESA, recompile and run star. 
However there are a few things I dislike about this approach: first, I 
don't like swapping files inside the code itself (even if I trust the 
MIST tables), second I need to swap files and reinstall MESA every time 
I want to change from default MESA to MIST which is quite long ...

The other strategy I've read about consists in changing other_atm.f90 
but this file is nowhere to be seen, I think it's been scrapped from 
v.12115. The changelog for that version points to the file 
http://mesa.sourceforge.net/assets/atm-user-guide.txt that doesn't exist 
anymore. Finally the current documentation does not mention adding new 
tables.
Ideally, I would like to add tables and summary files in the 
$MESA_DIR/atm/atm_data directory and define new keywords for those 
tables inside MESA, so I can swap them without recompiling using a 
control (e.g. "atm_table = 'mist_photosphere'", as you would do with the 
"native" tables). Is this a workable approach? or would that require too 
many changes in the source code?

I would be very thankful for any input on the best strategy here. I am 
not too sure which files to attach here, I use MESA v.23.05.1 with the 
corresponding SDK on Ubuntu and downloaded the MIST atmosphere tables 
from Choi Jieun's github repo https://github.com/jieunchoi/MIST_codes/.

Please let me know if you need more information.
Best.
-- 
Giovanni Mirouh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20240622/9be86377/attachment.htm>


More information about the Mesa-users mailing list