[Mesa-users] Request for helping solve MESA run star extras problem

Sayed Shafaat Mahmud '26 smahmud at colgate.edu
Fri Nov 11 05:31:03 UTC 2022


Hello,

I'm Shafaat, an Astrophysics research assistant studying at Colgate
University. I have been trying to get used to using MESA for the past month
and right now, I'm at a stage where I am trying to add an additional
heating source to my star and run stellar models.

I tried my first try from one of your GitHub guideline templates for MESA
summer school 2021: https://jschwab.github.io/mesa-2021/

Specifically, I was trying to solve part 3b where we try to change the
input physics of our MESA simulation. For clarity, I looked up the
solutions and quite literally followed every step to solve the problem.
However, MESA throws out an error saying it cannot convert real(8) to
TYPE(auto_deff_real_star_1) for s% extra_heat (Please refer to the figure
showing the terminal snapshot). I understand the step requires
differentials and that's exactly why I added s% dm. However, the error
still persists. Is there a workaround for this? If so, what else can be
done? (I made sure I added the *use_other_energy = .true. *command in the
controls inlist and also added the s% other energy in my extras control
routine.

Thank you!

Regards,
Shafaat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20221111/e929c674/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-11-08 at 5.24.28 PM.png
Type: image/png
Size: 1044568 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20221111/e929c674/attachment-0001.png>


More information about the Mesa-users mailing list