Skip to content

Commit c5099a8

Browse files
authored
Add neutrino docs (#1692)
1 parent 5aa5c4c commit c5099a8

7 files changed

+624
-201
lines changed

Docs/source/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ of state routines.
6060
networks
6161
templated_networks
6262
screening
63+
neutrinos
6364

6465
.. toctree::
6566
:maxdepth: 1

Docs/source/integrators.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ The equations we integrate to do a nuclear burn are:
1414
:label: eq:spec_integrate
1515
1616
.. math::
17-
\frac{de}{dt} = f(\rho,X_k,T)
17+
\frac{de}{dt} = \epsilon(\rho,X_k,T)
1818
:label: eq:enuc_integrate
1919
2020
Here, :math:`X_k` is the mass fraction of species :math:`k`, :math:`e`
2121
is the specific nuclear energy created through reactions. Also needed
2222
are density :math:`\rho`, temperature :math:`T`, and the specific
23-
heat. The function :math:`f` provides the energy release from
23+
heat. The function :math:`\epsilon` provides the energy release from
2424
reactions and can often be expressed in terms of the instantaneous
2525
reaction terms, :math:`\dot{X}_k`. As noted in the previous section,
2626
this is implemented in a network-specific manner.
@@ -46,7 +46,7 @@ energy. This allows us to easily call the EOS during the burn to obtain the temp
4646
:label: eq:spec_n_integrate
4747
4848
.. math::
49-
\frac{de}{dt} = f(\rho,n_k,T)
49+
\frac{de}{dt} = \epsilon(\rho,n_k,T)
5050
:label: eq:enuc_n_integrate
5151
5252
The effect of this flag in the integrators is that we don't worry
@@ -355,7 +355,7 @@ with the initial temperature, density, and composition:
355355
As the system is integrated, :math:`e` is updated to account for the
356356
nuclear energy release (and thermal neutrino losses),
357357

358-
.. math:: e(t) = e_0 + \int_{t_0}^t f(\dot{Y}_k) dt
358+
.. math:: e(t) = e_0 + \int_{t_0}^t \epsilon(\dot{Y}_k) dt
359359

360360
.. note::
361361

Docs/source/networks.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ is stored as ``mion(:)`` in the network.
2626

2727
The energy release per gram is converted from the rates as:
2828

29-
.. math:: \edot = -N_A c^2 \sum_k \frac{dY_k}{dt} M_k - \edotnu
29+
.. math:: \epsilon = -N_A c^2 \sum_k \frac{dY_k}{dt} M_k - \epsilon_\nu
3030

3131
where :math:`N_A` is Avogadro’s number (to convert this to “per gram”)
32-
and :math:`\edotnu` is the neutrino loss term.
32+
and :math:`\edotnu` is the neutrino loss term (see :ref:`neutrino_loss`).
3333

3434

3535
``general_null``
@@ -137,7 +137,7 @@ network is interpolated based on the density. It is stored as the
137137
binding energy (ergs/g) *per nucleon*, with a sign convention that
138138
binding energies are negative. The energy generation rate is then:
139139

140-
.. math:: \edot = q \frac{dX(\isotm{C}{12})}{dt} = q A_{\isotm{C}{12}} \frac{dY(\isotm{C}{12})}{dt}
140+
.. math:: \epsilon = q \frac{dX(\isotm{C}{12})}{dt} = q A_{\isotm{C}{12}} \frac{dY(\isotm{C}{12})}{dt}
141141

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

@@ -244,7 +244,7 @@ Finally, for the
244244
energy generation, we take our reaction to release a specific energy,
245245
:math:`[\mathrm{erg~g^{-1}}]`, of :math:`\qburn`, and our energy source is
246246

247-
.. math:: \edot = -\qburn \frac{dX_f}{dt}
247+
.. math:: \epsilon = -\qburn \frac{dX_f}{dt}
248248

249249
There are a number of parameters we use to control the constants in
250250
this network. This is one of the few networks that was designed

Docs/source/neutrinos.rst

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.. _neutrino_loss:
2+
3+
***************
4+
Neutrino Losses
5+
***************
6+
7+
We model thermal neutrino losses (plasma, photo-, pair-,
8+
recombination, and Bremsstrahlung) using the method described in
9+
:cite:`itoh:1996`. This neutrino loss term is included in all of the
10+
reaction networks by default, and modifies the energy equation to have
11+
the form (for Strang splitting):
12+
13+
.. math::
14+
15+
\frac{de}{dt} = \epsilon - \epsilon_\nu
16+
17+
where $\epsilon_\nu$ are the thermal neutrino losses.
18+
19+
.. note::
20+
21+
Thermal neutrino losses can be disabled at compile time by setting the make
22+
variable ``USE_NEUTRINOS = FALSE``.
23+
24+
The interface for the neutrino loss function is:
25+
26+
.. code:: c++
27+
28+
template <int do_derivatives>
29+
AMREX_GPU_HOST_DEVICE AMREX_INLINE
30+
void sneut5(const amrex::Real temp, const amrex::Real den,
31+
const amrex::Real abar, const amrex::Real zbar,
32+
amrex::Real& snu, amrex::Real& dsnudt, amrex::Real& dsnudd,
33+
amrex::Real& dsnuda, amrex::Real& dsnudz)
34+
35+
Here, the template parameter, ``do_derivatives``, can be used to disable the code
36+
the computes the derivatives of the neutrino loss, for example, if a numerical Jacobian
37+
is used. The output is
38+
39+
* ``snu`` : $\epsilon_\nu$, the neutrino loss in erg/g/s
40+
41+
* ``dsnudt`` : $d\epsilon_\nu/dT$
42+
43+
* ``dsnudd`` : $d\epsilon_\nu/d\rho$
44+
45+
* ``dsnuda`` : $d\epsilon_\nu/d\bar{A}$
46+
47+
* ``dsnudz`` : $d\epsilon_\nu/d\bar{Z}$

Docs/source/refs.bib

+13
Original file line numberDiff line numberDiff line change
@@ -688,3 +688,16 @@ @article{langanke:2001
688688
abstract = {The weak interaction rates in stellar environments are computed for pf-shell nuclei in the mass range A=45–65 using large-scale shell-model calculations. The calculated capture and decay rates take into consideration the latest experimental energy levels and log ft-values. The rates are tabulated at the same grid points of density and temperature as those used by Fuller, Fowler, and Newman for densities ρY e =10–1011 g/cm3 and temperatures T=107–1011 K, and hence are relevant for both types of supernovae (Type Ia and Type II). Effective 〈ft〉 values for capture rates and average neutrino (antineutrino) energies are also given to facilitate the use of interpolated rates in stellar evolution codes.}
689689
}
690690

691+
@ARTICLE{itoh:1996,
692+
author = {{Itoh}, Naoki and {Hayashi}, Hiroshi and {Nishikawa}, Akinori and {Kohyama}, Yasuharu},
693+
title = "{Neutrino Energy Loss in Stellar Interiors. VII. Pair, Photo-, Plasma, Bremsstrahlung, and Recombination Neutrino Processes}",
694+
journal = {\apjs},
695+
keywords = {DENSE MATTER, ELEMENTARY PARTICLES, RADIATION MECHANISMS: NONTHERMAL, STARS: INTERIORS, METHODS: NUMERICAL},
696+
year = 1996,
697+
month = feb,
698+
volume = {102},
699+
pages = {411},
700+
doi = {10.1086/192264},
701+
adsurl = {https://ui.adsabs.harvard.edu/abs/1996ApJS..102..411I},
702+
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
703+
}

0 commit comments

Comments
 (0)