[Mesa-users] Detect zones with H fusion
Roque Caballero Navarro
rcaballeron at hotmail.com
Wed Nov 14 03:59:39 EST 2018
Dear Anne, dear Josiah,
Many thanks for your very valuable inputs.
According to the following comment:
>So the specific energy generation rate by hydrogen burning in cell k of
>the model is
>s% eps_nuc_categories(ipp, k) + s% eps_nuc_categories(icno, k)
if the sum of both energy generation rates is 0 for a cell k, is it right to assume that no hydrogen burning is taking place on it?
Kind regards,
Roque
________________________________
De: Josiah Schwab <jwschwab at ucsc.edu>
Enviado: miércoles, 14 de noviembre de 2018 2:22
Para: mesa-users at lists.mesastar.org
Cc: Roque Caballero Navarro
Asunto: Re: [Mesa-users] Detect zones with H fusion
Hi Roque,
> eps_nuc in the profile file allows you to determine the zones where
> there is energy generation from nuclear reactions.
And if you need to get even more specific (i.e. distinguish different
types of burning) there are different "categories".
See add_reaction_categories in profile_columns.list. These have names
like pp, cno, etc.
If you're doing this in run_star_extras, there's eps_nuc_categories.
which is a (num_categories, nz) array. You can get the category index
constants from chem_def.
So the specific energy generation rate by hydrogen burning in cell k of
the model is
s% eps_nuc_categories(ipp, k) + s% eps_nuc_categories(icno, k)
Hope that helps,
Josiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20181114/5e967584/attachment.html>
More information about the Mesa-users
mailing list