[Mesa-users] Have a totally new reaclib

Jared Goldberg jgoldberg at flatironinstitute.org
Thu Jan 23 16:58:15 UTC 2025


Seconding Hannah's answer, with an emphasis on the fact that MESA needs the
tables to be in a specific format to parse them properly. As for building
such a table, there's a nice description/template online here:
http://chanureps.chetec-infra.eu/?p=313 which works at least for modern
versions of the code. I believe 9000's-era MESA should also conform to this
format.

There's some discussion/tutorial on building your own network with various
reactions in the MESA Summer School 2022
<https://mesastar.org/summer-school-2022/agenda/> labs led by Rob Farmer
(see the Friday Labs, particularly Minilab 1). Here we didn't include
changing the rates tables themselves, but we did include some discussion of
how to change which reactions are included and build reaction networks.
There's also some great tutorial material for changing nuclear nets in MESA
from the 2022 JINA workshop held at LSU
<https://smnalsu.home.blog/materials/>, including a more nuclear-y version
of Rob's summer school material.

Best,
~Jared

On Thu, Jan 23, 2025 at 11:41 AM Hannah Brinkman via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> Dear Rita,
>
> Generally speaking, to change the JINA REACLIB file that is used in MESA,
> one needs to put the new file in the following directory:
> $MESA_DIR$/data/rates_data. In the MESA versions I've used, there are
> multiple versions of the reaclib file in that directory. By using
> jina_reaclib_filename = ' '  in the starjob part of the inlist, you can set
> the new file to be used. You might also want to set the following two
> commands: set_rates_preference = .true. and new_rates_preference = 2 in the
> starjob part of the inlist, which ensures you are using the JINA REACLIB
> exclusively unless a rate is not available in the file. These last two
> commands have been removed in more recent MESA versions, and the rates are
> treated slightly differently, which can be found in the changelog of
> version 22.11.1.
>
> However, if you have changed the formatting of the JINA REACLIB file
> compared to the earlier versions, it might be that MESA cannot read it.
> Also, I don't know how one tells MESA which reactions are available in the
> JINA REACLIB file, so this is more a question for the developers.
>
> With kind regards,
> Hannah
>
> Op do 23 jan 2025 om 10:38 schreef Kit Yu Lau via Mesa-users <
> mesa-users at lists.mesastar.org>:
>
>> Hi all,
>>
>> We are from the JINA group. Actually we changed the old version of jina
>> as well as adding some new rates to jina. However, it seems that the new
>> jina reaclib doesn't match the old jina which was used in MESA (As it has
>> much more rates and the former rates were also changed.) I would like to
>> ask if there are some easy ways to implement the new jina reaclib. We are
>> using mesa-r9798. Thank you for your suggestions.
>>
>> Regards,
>> Rita Lau
>> _______________________________________________
>> mesa-users at lists.mesastar.org
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>
>> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20250123/048b1753/attachment.htm>


More information about the Mesa-users mailing list