[Mesa-users] Adding and modifying profile columns
Farag, Ebraheem
ebraheem.farag at yale.edu
Tue Mar 18 06:20:32 UTC 2025
Hello Kira,
This topic is a recurring one on the mesa-users mailing list. You can directly output these quantities in the most recent MESA versions, however if you are sticking with r9793, I suggest following this thread<https://lists.mesastar.org/pipermail/mesa-users/2022-April/013649.html> <https://lists.mesastar.org/pipermail/mesa-users/2022-April/013649.html> and other threads referenced therein (including the zenodo<https://zenodo.org/records/3372837#.YjRW6HrMKbg> link).
It might be useful to search the mailing list arxiv for other similar queries as well, since this topic has reappeared several times.
-EbF
________________________________
From: Mesa-users <mesa-users-bounces at lists.mesastar.org> on behalf of Triantafyllos Kormpakis via Mesa-users <mesa-users at lists.mesastar.org>
Sent: Monday, March 17, 2025 1:54 PM
To: Kira McCracken via Mesa-users <mesa-users at lists.mesastar.org>
Subject: [Mesa-users] Adding and modifying profile columns
Hello everyone,
I'm currently trying to add profile columns to my output when using MESA. My goal is to use the energy generation from all the reactions in a network named add_reaction_categories, given in units of erg/g/sec (which is available in the profile_columns.list), in order to get the reaction fluxes, by diving by a factor and the Qvalue of each reaction.
The thing is, to do this, I need to modify the 'run_star_extras' file. For simple relations this is easy to do, as I can loop through each zone and 'read' the corresponding pointer found in 'star_def.inc' (for example the radiation pressure is defined as 's% Prad(k)). But when I want to automate the process to give me a column for each reaction together with the calculation needed, I don't understand how the reaction names should be defined, in order to be interpreted by the 'run_star_extras' file. How should I loop in order to get columns with the energy of each reaction, its' Qvalue and the calculation for the flux?
For reference, I'm using MESA version 9793. Any suggestions are welcome.
Best regards,
Triantafyllos Kormpakis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20250318/27db925f/attachment.htm>
More information about the Mesa-users
mailing list