[Mesa-users] About changing nuclear reaction rates.

Rob Farmer robert.j.farmer37 at gmail.com
Fri May 27 10:34:06 UTC 2022


Your custom rate should have been written out into the rates cache folder
so you can check to see how mesa interpolated it:

cd $MESA_DIR/rates/test
./show_rates ../../data/rates_data/cache/YOUR_RATE_0.bin > rate.txt

Rob

On Fri, 27 May 2022 at 12:23, Francis Timmes via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> hi francisco,
>
> easily from an inlist or a run_star_extras? no.
>
> but mesa is open-source, open-knowledge so one is free
> to modify anything one likes. if you dig this deep into
> source code, best to make your own copy so as not to disturb
> the rest of mesa. somehow though, modifying the coefficients
> of a mathematical interpolation formula will need care.
>
> but maybe i'm misunderstanding.
> might be useful to show what you are seeing,
> and how it leads to coefficients being a culprit.
>
> fxt
>
>
>
>
>
> > On May 26, 2022, at 12:20 PM, Francisco De Geronimo <
> degeronimofrancisco at gmail.com> wrote:
> >
> > Hi Francis,
> > thanks for your time.
> > As you say, the table could be better.
> > Besides that, changing the coefficients is not possible with the current
> version?
> >
> > Best regards,
> >
> > Francisco
> >
> > El jue, 26 may 2022 a las 15:13, Francis Timmes (<fxt44 at mac.com>)
> escribió:
> > > not with the adopted rate but with the interpolation of the table.
> >
> > ... or the number of points defining the rate.
> > using ~20 points over 4 orders of magnitude in temperature may lead to
> such an effect.
> > in broad terms, several hundred or thousand temperature points is better.
> >
> > fxt
> >
> >
> >
> > > On May 26, 2022, at 4:46 AM, Francisco De Geronimo via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
> > >
> > > Dear MESA users,
> > > I'm trying to change an existing nuclear reaction rate.
> > > From the webpage, I found that this could be possible:
> > >
> > > "change rates for existing reactions
> > > create a file of (T8, rate) pairs as in data/rates_data/rates add the
> file name to reactions.list (you can have a local copy of reactions.list as
> well as rates directory)".
> > >
> > > So the way is to provide the table with T8 and the value of the rate.
> > > My question is: is it possible to change the reaction rate in my work
> directory by modifying the coefficients of the function representing it?
> > > Im asking this because I noted small bumps in the final Enuc profile,
> when using the table procedure, that seems to be related not with the
> adopted rate but with the interpolation of the table.
> > >
> > > Cheers,
> > >
> > > Francisco
> > > _______________________________________________
> > > 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/20220527/57cb3801/attachment.htm>


More information about the Mesa-users mailing list