[Mesa-users] Calculate the epsilon of nuclear reaction

辛文宇 wyxin at nao.cas.cn
Thu Dec 29 06:32:49 UTC 2022


Hi Zingale,




Thank you very much for sharing this useful tool.

It is not what I want now, but it may be useful for me.

I will install it and have a try.




Thanks,

Wenyu



-----原始邮件-----
发件人:"Michael Zingale" <michael.zingale at stonybrook.edu>
发送时间:2022-12-28 23:34:54 (星期三)
收件人: "辛文宇" <wyxin at nao.cas.cn>
抄送: "辛文宇 via Mesa-users" <mesa-users at lists.mesastar.org>, "xinwenyu16 at mails.ucas.ac.cn" <xinwenyu16 at mails.ucas.ac.cn>
主题: Re: [Mesa-users] Calculate the epsilon of nuclear reaction


Hi Wenyu, this might not be what you want, but just in case, here's how you can do this in python:


https://github.com/zingale/eval_c12c12/blob/main/eval_c12c12.ipynb



you'll need to install pynucastro (https://pynucastro.github.io/pynucastro/) via pip as:


pip install pynucastro


On Wed, Dec 28, 2022 at 10:06 AM 辛文宇 via Mesa-users <mesa-users at lists.mesastar.org> wrote:

I know the subotine of 
$MESA_DIR/net/test/src/sample_net.f90

However, this subrotine give the epsilon of a centain network,

instead of one reaction.




Thanks,

Wenyu



-----原始邮件-----
发件人:"辛文宇 via Mesa-users" <mesa-users at lists.mesastar.org>
发送时间:2022-12-28 22:57:14 (星期三)
收件人:mesa-users at lists.mesastar.org
抄送: "xinwenyu16 at mails.ucas.ac.cn" <xinwenyu16 at mails.ucas.ac.cn>
主题: [Mesa-users] Calculate the epsilon of nuclear reaction



Dear everyone:




I want to calculate the energy generation rate(epsilon) for a certain reaction rate.

Such as 12C+12C reaction rate, I want to calculate the epsilon of 12C+12C reaction

with rate from different references under different logT, logRho and mass fraction of

12C. Where this subrotine is in MESA_dir.




Thanks,

Wenyu

_______________________________________________
mesa-users at lists.mesastar.org
https://lists.mesastar.org/mailman/listinfo/mesa-users






--

Michael Zingale
Professor of Physics and Astronomy


Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800
phone:  631-632-8225
e-mail: michael.zingale at stonybrook.edu
web: https://zingale.github.io 
github: https://github.com/zingale

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20221229/ca48ca15/attachment.htm>


More information about the Mesa-users mailing list