Skip to content

Commit 997a426

Browse files
authored
more network documentation (#1628)
this removes some deleted networks and adds in some new ones
1 parent 495d3f5 commit 997a426

9 files changed

+109
-68
lines changed

networks/ECSN/ecsn_network_generation.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,16 @@
2929
# Only select the rates which are >= 1.e-20 at 1.e9 K and 7.e9 g/cm3
3030
# Do not select weak rates from "20180319default2"
3131
new_rate_list = []
32-
ydots = rc.evaluate_rates(rho=7.e9, T=1.e9, composition=comp)
32+
rho = 7.e9
33+
T = 1.e9
34+
ydots = rc.evaluate_rates(rho=rho, T=T, composition=comp)
3335
for rate in rc.rates:
3436
if ydots[rate] >= 1.e-20 and rate.weak == False:
3537
new_rate_list.append(rate)
3638

3739
wd_net = AmrexAstroCxxNetwork(rates=new_rate_list, rate_files=escn_tabular)
3840
wd_net.write_network()
41+
42+
wd_net.plot(rho, T, comp, outfile="ECSN.png",
43+
hide_xalpha=True, curved_edges=True,
44+
node_size=500, node_font_size=11, node_color="#337dff", node_shape="s")

sphinx_docs/source/CNO_He_burn.png

111 KB
Loading

sphinx_docs/source/ECSN.png

52.8 KB
Loading
83.6 KB
Loading

sphinx_docs/source/networks.rst

+102-67
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Available Reaction Networks
33
***************************
44

55

6-
iso7, aprox13, aprox19, and aprox21
7-
===================================
6+
``iso7``, ``aprox13``, ``aprox19``, and ``aprox21``
7+
===================================================
88

99
These are alpha-chains (with some other nuclei) from Frank Timmes.
1010
These networks share common rates (from ``Microphysics/rates``),
@@ -32,8 +32,8 @@ where :math:`N_A` is Avogadro’s number (to convert this to “per gram”)
3232
and :math:`\edotnu` is the neutrino loss term.
3333

3434

35-
general_null
36-
============
35+
``general_null``
36+
================
3737

3838
``general_null`` is a bare interface for a nuclear reaction network --
3939
no reactions are enabled. The
@@ -79,9 +79,44 @@ At compile time, the "`.net`" file is parsed and a network header
7979
``Make.package``.
8080

8181

82+
``CNO_extras``
83+
==============
84+
85+
This network replicates the popular [MESA "cno_extras"
86+
network](https://docs.mesastar.org/en/latest/net/nets.html) which is
87+
meant to study hot-CNO burning and the start of the breakout from CNO
88+
burning.
89+
90+
We add ${}^{56}\mathrm{Fe}$ as an inert nucleus to allow this to be
91+
used for X-ray burst simulations.
92+
93+
.. figure:: cno_extras_hide_alpha.png
94+
:align: center
8295

83-
ignition_chamulak
84-
=================
96+
97+
``CNO_He_burn``
98+
===============
99+
100+
This network is meant to study explosive H and He burning. It combines
101+
the ``CNO_extras`` network (with the exception of the inert ${}^{56}\mathrm{Fe}$
102+
with the ``subch_simple`` network. This allows it to capture hot-CNO and
103+
He burning.
104+
105+
.. figure:: CNO_He_burn.png
106+
:align: center
107+
108+
``ECSN``
109+
========
110+
111+
``ECSN`` is meant to model electron-capture supernovae in O-Ne white dwarfs.
112+
It includes various weak rates that are important to this process.
113+
114+
.. figure:: ECSN.png
115+
:align: center
116+
117+
118+
``ignition_chamulak``
119+
=====================
85120

86121
This network was introduced in our paper on convection in white dwarfs
87122
as a model of Type Ia supernovae :cite:`wdconvect`. It models
@@ -104,11 +139,24 @@ binding energies are negative. The energy generation rate is then:
104139

105140
(this is positive since both :math:`q` and :math:`dY/dt` are negative)
106141

107-
ignition_reaclib
108-
================
142+
``ignition_reaclib``
143+
====================
144+
145+
This contains several networks designed to model C burning in WDs. They include:
146+
147+
* ``C-burn-simple`` : a version of ``ignition_simple`` built from
148+
ReacLib rates. This just includes the C+C rates and doesn't group
149+
the endpoints together.
150+
151+
* ``URCA-simple`` : a basic network for modeling convective Urca,
152+
containing the ${}^{23}\mathrm{Na}$-${}^{23}\mathrm{Ne}$ Urca pair.
153+
154+
* ``URCA-medium`` : a more extensive Urca network than ``URCA-simple``,
155+
containing more extensive C burning rates.
109156

110-
ignition_simple
111-
===============
157+
158+
``ignition_simple``
159+
===================
112160

113161
This is the original network used in our white dwarf convection
114162
studies :cite:`lowMach4`. It includes a single-step
@@ -127,11 +175,26 @@ Kepler stellar evolution code (Weaver 1978), which implements the work
127175
of (Graboske 1973) for weak screening and the work of (Alastuey 1978
128176
and Itoh 1979) for strong screening.
129177

130-
kpp
131-
===
132178

133-
powerlaw
134-
========
179+
nova networks
180+
=============
181+
182+
The ``nova`` and ``nova2`` networks both are intended for modeling classical novae.
183+
184+
185+
* ``nova`` focuses just on CNO/hot-CNO:
186+
187+
.. figure:: nova.png
188+
:align: center
189+
190+
* ``nova2`` expands ``nova`` by adding the pp-chain nuclei:
191+
192+
.. figure:: nova2.png
193+
:align: center
194+
195+
196+
``powerlaw``
197+
============
135198

136199
This is a simple single-step reaction rate.
137200
We will consider only two species, fuel, :math:`f`, and ash, :math:`a`, through
@@ -185,8 +248,8 @@ There are a number of parameters we use to control the constants in
185248
this network. This is one of the few networks that was designed
186249
to work with ``gamma_law`` as the EOS.
187250

188-
rprox
189-
=====
251+
``rprox``
252+
=========
190253

191254
This network contains 10 species, approximating hot CNO,
192255
triple-\ :math:`\alpha`, and rp-breakout burning up through :math:`^{56}\mathrm{Ni}`,
@@ -195,8 +258,8 @@ reaction rates from ReacLib :cite:`ReacLib` where available.
195258
This network was used for the X-ray burst studies in
196259
:cite:`xrb:II`, :cite:`xrb:III`, and more details are contained in those papers.
197260

198-
triple_alpha_plus_cago
199-
======================
261+
``triple_alpha_plus_cago``
262+
==========================
200263

201264
This is a 2 reaction network for helium burning, capturing the :math:`3`-:math:`\alpha`
202265
reaction and :math:`\isotm{C}{12}(\alpha,\gamma)\isotm{O}{16}`. Additionally,
@@ -206,8 +269,7 @@ reaction and :math:`\isotm{C}{12}(\alpha,\gamma)\isotm{O}{16}`. Additionally,
206269
subch networks
207270
==============
208271

209-
The networks subch_full (subch2), subch_approx (subch),
210-
subch_simple, and subch_base recreate an aprox13
272+
The subch networks recreate an ``aprox13``
211273
alpha-chain + including a bypass rate for :math:`\isotm{C}{12}(\alpha,
212274
\gamma)\isotm{O}{16}` discussed in :cite:`ShenBildsten`. This is appropriate
213275
for explosive He burning.
@@ -242,74 +304,47 @@ forward rate to just be the first rate. We do not include reverse
242304
rates for these processes.
243305

244306

245-
subch_full
246-
----------
247-
248-
subch_full, also known as subch2, does not create an effective rate
249-
for :math:`(\alpha, \gamma)` and :math:`(\alpha, p)(p, \gamma)`
250-
(i.e. combine them assuming proton equilibrium). Therefore,
251-
we need to explicitly include the intermediate nuclei produced in
252-
the :math:`(\alpha,p)` reactions. In all, 28 nuclei and 107 rates are included.
307+
``subch_simple``
308+
----------------
253309

254-
This network is generated via pynucastro using the ``subch_full.py`` script.
255-
The overall network appears as:
256-
257-
.. figure:: subch_full.png
258-
:align: center
259-
260-
.. note::
261-
subch_full has been removed in
262-
commit 19108a72c2dc81e251669ef0fed4edf7e6a3f9ed
263-
264-
subch_approx
265-
------------
266-
267-
subch_approx, also known as subch, approximates subch_full by
310+
``subch_simple`` uses the ideas above but approximates some
311+
of the rates by
268312
combining some of the :math:`A(\alpha,p)X(p,\gamma)B` links with
269313
:math:`A(\alpha,\gamma)B`, allowing us to drop the intermediate
270314
nucleus :math:`X`. We do this for :math:`\isotm{Cl}{35}`,
271315
:math:`\isotm{K}{39}`, :math:`\isotm{Sc}{43}`, :math:`\isotm{V}{47}`,
272316
:math:`\isotm{Mn}{51}`, and :math:`\isotm{Co}{55}`.
273-
The resulting network appears as:
274-
275-
.. figure:: subch_approx.png
276-
:align: center
277-
278-
The nuclei in gray are not part of the network, but the links to them
279-
are approximated. This reduces the number of nuclei compared to subch_full
280-
from 28 to 22.
281-
282-
.. note::
283-
subch_approx has been removed in
284-
commit 19108a72c2dc81e251669ef0fed4edf7e6a3f9ed
285317

286-
subch_simple
287-
-------------
318+
Further simplifications include:
288319

289-
subch_simple further simplifies subch_approx by the following:
290-
291-
* Reverse rates of :math:`\isotm{C}{12}+\isotm{C}{12}`,
320+
* The reverse rates of :math:`\isotm{C}{12}+\isotm{C}{12}`,
292321
:math:`\isotm{C}{12}+\isotm{O}{16}`, :math:`\isotm{O}{16}+\isotm{O}{16}` are
293322
neglected since they're not present in the original aprox13 network
294323

295-
* :math:`\isotm{C}{12}+\isotm{Ne}{20}` rates are removed
324+
* The :math:`\isotm{C}{12}+\isotm{Ne}{20}` rate is removed
296325

297-
* :math:`(\alpha, \gamma)` links between :math:`\isotm{Na}{23}`,
326+
* The :math:`(\alpha, \gamma)` links between :math:`\isotm{Na}{23}`,
298327
:math:`\isotm{Al}{27}` and between :math:`\isotm{Al}{27}` and
299328
:math:`\isotm{P}{31}` are removed, since they're not in the
300329
original aprox13 network.
301330

331+
The network appears as:
332+
302333
.. figure:: subch_simple.png
303334
:align: center
304335

305-
.. warning::
306-
Due to inclusion of the rate sequence, n14(a, g)f18(a, p)ne21, there is
307-
an artificial end-point at Na22.
336+
The nuclei in gray are those that have been approximated about, but the links
337+
are effectively accounted for in the approximate rates.
338+
339+
.. warning:: Due to inclusion of the rate sequence,
340+
${}^{14}\mathrm{N}(\alpha, \gamma){}^{18}\mathrm{F}(\alpha,
341+
\mathrm{p}){}^{21}\mathrm{Ne}$, there is an artificial end-point at
342+
${}^{22}\mathrm{Na}$.
308343

309-
subch_base
310-
-----------
344+
``subch_base``
345+
--------------
311346

312-
subch_base is the simplest subch network. It is created to reconcile the
347+
``subch_base`` is the simplest subch network. It is created to reconcile the
313348
artificial end-point at :math:`\isotm{Na}{22}`. This is done by excluding
314349
:math:`\isotm{N}{14}`, :math:`\isotm{F}{18}`, :math:`\isotm{Ne}{21}`,
315350
and :math:`\isotm{Na}{22}`. These nuclei were added to include

sphinx_docs/source/nova.png

46.4 KB
Loading

sphinx_docs/source/nova2.png

62.2 KB
Loading

sphinx_docs/source/subch_approx.png

-90.8 KB
Binary file not shown.

sphinx_docs/source/subch_full.png

-99 KB
Binary file not shown.

0 commit comments

Comments
 (0)