[Mesa-users] [EXTERNAL] Re: Flux limited diffusion radiation hydrodynamics in later versions of MESA

Jaime Roman Garza Jaime.Romangarza at unige.ch
Fri Jan 24 10:58:02 UTC 2025


Hi,

Thanks Ebraheem, I created the issue as suggested: https://github.com/MESAHub/mesa/issues/769

Cheers,
Jaime.


[cid:958a80c2-c297-4eac-af4c-c29f625c7683]

Jaime ROMAN GARZA

Ph.D. candidate – Département d'Astronomie

______________________________________________________________________________________________________________________________________________________________________________________________________________________________________



GW sources | Stars, formation and evolution

Observatoire de Genève | 51 Chemin Pegasi - 1290 - Versoix - CH

• +41 22 379 24 17                 • : Jaime.RomanGarza at unige.ch<mailto:Jaime.RomanGarza at unige.ch>

________________________________
From: Farag, Ebraheem <ebraheem.farag at yale.edu>
Sent: 23 January 2025 19:15
To: Ebraheem Farag via Mesa-users <mesa-users at lists.mesastar.org>; Jaime Roman Garza <Jaime.Romangarza at unige.ch>
Cc: Anastasios Fragkos <Anastasios.Fragkos at unige.ch>; Corinne Charbonnel <Corinne.Charbonnel at unige.ch>
Subject: [EXTERNAL] Re: Flux limited diffusion radiation hydrodynamics in later versions of MESA

Hi Anastasios,

I'm not sure why the function was removed, how robust it was, or the specifics of how it was implemented, but perhaps open this issue on github and I can assist you in investigating whether it is worth reimplementing into the code, https://github.com/MESAHub/mesa/issues. We would be interested in the specifics of the science case you need this functionality for as well.

Also, there is various documentation on developing in mesa and best practices available here:
https://docs.mesastar.org/en/latest/developing.html

-EbF
________________________________
From: Mesa-users <mesa-users-bounces at lists.mesastar.org> on behalf of Jaime Roman Garza via Mesa-users <mesa-users at lists.mesastar.org>
Sent: Thursday, January 23, 2025 11:29 AM
To: Ebraheem Farag via Mesa-users <mesa-users at lists.mesastar.org>
Cc: Anastasios Fragkos <Anastasios.Fragkos at unige.ch>; Corinne Charbonnel <Corinne.Charbonnel at unige.ch>
Subject: [Mesa-users] Flux limited diffusion radiation hydrodynamics in later versions of MESA

Dear users,

In the scientific cases of my interest, I would like to have an approximate way to model the transition from diffusive to free-streaming radiative transport. I am aware that recent versions of MESA do not have the option of use_flux_limiting_with_dPrad_dm_form for flux-limited radiation transport. Personally, I would like to port such option from an old version to the 23.05.01 version, but first I would like to know if there is a specific reason this functionality was removed?

I have experience expanding MESA by the addition of hooks, but this addition needs to be done in the source code (correct me if I am wrong). Is it possible to have any material explaining the good practices on expanding the MESA source code?

As well, by taking as reference the function do1_alt_dlnT_dm_eqn from MESA 9793, I see that the partial derivatives of Lrad are defined explicitly in the function, but in the same function for 23.05.01 such code is not explicitly written (for
use_dPrad_dm_form_of_T_gradient_eqn case that is in both versions, to mention a comparable example in both versions). I this due to the usage of the auto_diff module in 23.05.01?

I hope I can get some guidance in the previous aspects.

Kind regards,
Jaime.



[cid:92df2855-71e9-49ea-88ef-41c78c6be481]

Jaime ROMAN GARZA

Ph.D. candidate – Département d'Astronomie

______________________________________________________________________________________________________________________________________________________________________________________________________________________________________



GW sources | Stars, formation and evolution

Observatoire de Genève | 51 Chemin Pegasi - 1290 - Versoix - CH

• +41 22 379 24 17                 • : Jaime.RomanGarza at unige.ch<mailto:Jaime.RomanGarza at unige.ch>


Ce message est envoyé depuis une adresse extérieure à l’UNIGE, soyez vigilant-es (expéditeur, pièces jointes).
This message is sent from an address outside UNIGE, be careful (sender, content).

________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20250124/9d068518/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-1pl5tbro.png
Type: image/png
Size: 28771 bytes
Desc: Outlook-1pl5tbro.png
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20250124/9d068518/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-dlcpc5eh.png
Type: image/png
Size: 28771 bytes
Desc: Outlook-dlcpc5eh.png
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20250124/9d068518/attachment-0001.png>


More information about the Mesa-users mailing list