[Mesa-users] Adding and swapping atmosphere tables
Giovanni Mirouh
gmirouh at iaa.csic.es
Fri Jul 5 09:53:46 UTC 2024
Dear all,
I am sorry to insist, but I would really be grateful for any opinion
from the community: is there a better way to include new atmosphere
tables than making changes to the atmosphere fortran routines?
My original email is below for more details, I thank you all in advance
for any pointers you could give me.
Best.
On 22/6/24 17:07, Giovanni Mirouh wrote:
> 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.
--
Giovanni Mirouh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20240705/b29d6c8f/attachment.htm>
More information about the Mesa-users
mailing list