Time integration for neutrino radiation transport using minimally implicit Runge-Kutta methods
Samuel Santos-P\'erez, Martin Obergaulinger, Isabel Cordero-Carri\'on

TL;DR
This paper introduces a new minimally implicit Runge-Kutta method for stable, efficient neutrino-radiation hydrodynamics simulations, suitable for stiff equations in astrophysics.
Contribution
The paper presents a novel minimally implicit Runge-Kutta approach that allows analytical inversion, reducing computational cost while handling stiffness in neutrino-matter interaction equations.
Findings
Method effectively handles stiff neutrino-matter reactions.
Application to supernova simulations demonstrates stability and efficiency.
Results show accurate modeling of neutrino transport in astrophysical environments.
Abstract
The evolution of many astrophysical systems is dominated by the interaction between matter and radiation such as photons or neutrinos. The dynamics can be described by the evolution equations of radiation hydrodynamics in which reactions between matter particles and radiation quanta couples the hydrodynamic equations to those of radiative transfer (see Munier & Weaver (1986a) and Munier & Weaver (1986b)). The numerical treatment has to account for their potential stiffness (e.g., in optically thick environments). In this article, we will present a new method to numerically integrate these equations in a stable way by using minimally implicit Runge-Kutta methods. With these methods, the inversion of the implicit operator can be done analytically, so the computational cost is equivalent to that of an explicit method. We strongly take into account the physical behavior of the evolved…
| model | result | ||
|---|---|---|---|
| M1-1 | |||
| M1-2 | |||
| M1-3 | |||
| M1-4 |
| model | result | ||||
| M2-11 | |||||
| M2-12 | |||||
| M2-13 | |||||
| M2-14 | |||||
| M2-21 | |||||
| M2-22 | |||||
| M2-23 | |||||
| M2-24 | |||||
| M2-31 | |||||
| M2-32 | |||||
| M2-33 | |||||
| M2-34 | |||||
| M2-41 | |||||
| M2-42 | |||||
| M2-43 | |||||
| M2-44 | |||||
| M2-44-1 | |||||
| M2-44-2 | |||||
| M2-44-3 | |||||
| M2-44-4 | |||||
| M2-51 | |||||
| M2-52 | |||||
| M2-53 | |||||
| M2-54 | |||||
| M2-55 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Minimally implicit methods for the numerical integration of the neutrino
transport equations
Departament de Matemàtiques, Universitat de València
Carrer del Dr. Moliner, 50, 46100
Burjassot, Valencia, España
Departament d’Astronomia i Astrofísica, Universitat de València
Carrer del Dr. Moliner, 50, 46100
Burjassot, Valencia, España
Departament de Matemàtiques, Universitat de València
Carrer del Dr. Moliner, 50, 46100
Burjassot, Valencia, España
Abstract
The evolution of many astrophysical systems is dominated by the interaction between matter and radiation such as photons or neutrinos. The dynamics can be described by the evolution equations of radiation hydrodynamics in which reactions between matter particles and radiation quanta couples the hydrodynamic equations to those of radiative transfer, see Munier & Weaver (1986a), Munier & Weaver (1986b). The numerical treatment has to account for their potential stiffness (e.g., in optically thick environments). In this article, we will present a new method to numerically integrate these equations in a stable way by using minimally implicit Runge-Kutta methods. With these methods, the inversion of the implicit operator can be done analytically. We also take into account the physical behavior of the evolved variables in the limit of the stiff regime. We will show the results of applying this method to the reactions between neutrinos and matter in core-collapse supernovae simulations.
Radiative transfer — Methods: numerical — Supernovae: general
1 Introduction
Radiation plays a crucial role in many fields of astrophysics. Besides representing the most important channel for observations of astronomical objects, its interaction with matter shapes their structure and drives their dynamics in quiescent as well as highly dynamic phases. Various types of reactions such as emission, absorption, and scattering exchange energy and momentum between radiation quanta and matter particles. The corresponding cross sections and interaction rates can depend in very complicated ways on the thermodynamic properties of the gas and the radiation spectra. The resulting mean free paths of radiation can be very small compared to characteristic structural length scales (e.g., density scale heights) in optically thick regions with, for example, high gas densities, and at the same time exceeding the dimensions of the system in transparent regions such as atmospheric layers. While the former limit is commonly reached for photons in the interior of ordinary stars, densities close to that of nuclear matter are required to turn matter optically thick to neutrino radiation. Thus, neutrinos are extremely important in core-collapse supernovae (CCSNe) and neutron stars, where this condition is met. Their importance is such that the explosion mechanism of CCSNe cannot be understand without a detailed account of the generation and transport of neutrinos.
Much of the complexity of theoretically modelling the aforementioned systems comes from the equation underlying radiative transfer. At a basic level, the Boltzmann equation describes the evolution of the distribution function, , of radiation quanta a phase-space of seven dimensions, viz. time, position, and neutrino or photon momentum. It takes into account transport terms involving divergence operators in position or momentum space as well as collision terms representing the interaction of one quantum with others or with matter that take the form of integrals over momentum space. As a rigorous treatment of the Boltzmann equation is feasible only in special cases, numerical methods used to model, e.g., CCSNe rely on approximations. In a very common approach, a momentum-space integration of the distribution function multiplied by the tensorial product of unit vectors yields a series of moments, now only functions of space and time. The first ones have a direct physical interpretation: and correspond to the radiation energy and momentum densities and the radiation pressure, respectively. The resulting infinite series of evolution equations takes the form of conservative form, in which the moment of order appears as a (spatial) flux of the moment of degree and source terms accounting for the reactions follow from moments of the collision integrals. We note that, when coupling radiative transfer to the dynamics of the gas to form the system of radiation hydrodynamics, the latter appear with an opposite sign in the fluid equations. Truncating the series at a finite degree and closing the system with a local algebraic relation for the higher moment(s) defines the family of methods.
or (flux-limited) diffusion and or algebraic Eddington tensor methods offer a good compromise between accuracy and numerical costs, and are thus widely used in relativistic astrophysics. methods are very good at modelling radiation in the optically thick and the transparent regimes and also work well in the intermediate, semi-transparent regime. Nonetheless, a few difficulties remain. A particularly important one pertains to the time integration in the optically thick regime, in which the typical time scales of interactions between radiation and matter (the inverse of the reaction rates) can be many orders of magnitude smaller than the time scales associated to the radiation propagation or the dynamical time scales: the equations are stiff. A similar behaviour can be found in other conservation laws in many physical problems such as Resistive Relativistic Magnetohydrodinamics (Cordero-Carrión et al., 2023), general relativistic force-free electrodynamics (Mahlmann et al., 2021), rarefied gases problems (Koellermeier & Samaey, 2022) or shallow water equations (Koellermeier & Pimentel-García, 2022).
Designing methods for stiff equations requires specific considerations. Explicit time integration is only stable if the numerical time step is reduced to the characteristic time scales of the fastest evolving term, which in this case would be the radiation-matter interaction ones. Implicit methods, on the other hand, allow for a stable evolution even when using the–much larger–time steps set by, e.g., radiation propagation or hydrodynamics. They, however, can be very complicated to implement due to the inversion of the operators involved, in particular for parallel execution, and suffer from low computational efficiency. As a compromise, Implicit-Explicit (IMEX) Runge-Kutta methods (Pareschi & Russo, 2005) combine an implicit integration of only the stiff terms with an explicit integration of the rest of the equations. This strategy has been used very recently by Izquierdo et al. (2022). Semi-implicit numerical schemes (Foucart et al., 2016) have also been used very recently in neutron star mergers (see, for example, Radice et al., 2022). We present in this manuscript a new numerical scheme to solve the neutrino-hydrodynamics equations to first and second order in time that preserves stability properties of implicit methods and, at the same time, has a computing speed similar to that of an explicit method. The scheme proposed is based on implicit evaluations of only evolved variables and requires a slight modification from an explicit method. We implement the new solver in the neutrino-hydrodynamics code of Just et al. (2015) as an higher order alternative to the implicit-explicit scheme that is already implemented.
Other very different numerical approaches can be considered. For example, Monte Carlo methods can be used to include neutrino transport in the context of core-collapse supernovae and this strategy has been implemented in the general relativistic code SpEC (Foucart, 2018; Foucart et al., 2021).
This article is structured as follows. In Sect. 2 we describe the main features of the equations governing the dynamics of the neutrino transport within the radiative transfer scheme. In Sect. 3 we explain in detail how the MIRK methods, up to second order, can be used to numerically integrate these equations, including the stability analysis in the stiff limit. In Sect. 4 we show some numerical successful simulations of stellar core-collapse in spherical symmetry using our proposed MIRK scheme, first and second order, and we compare the results with some other numerical approaches previously used. Finally, in Sect. 5 we present our conclusions.
2 Equations for neutrino transport in M1
The basic variables of radiative transfer, the energy density, , and the momentum density, , of the radiation field, are functions of time , position and particle energy (Munier & Weaver, 1986a, b). Owing to their conservative character, the corresponding evolution equations take the form of balance laws including the spatial transport and the redistribution across particle energies by differential operators. Exchange of energy and momentum with matter enter the equations via source terms that typically depend only on the local state of radiation field and the matter, but not on their derivatives. Since we will deal with the latter terms, we write the system in the following short-hand notation (see also Just et al., 2015):
[TABLE]
where the terms with spatial or energy derivatives, and , are split off from the interaction source terms, and . The form of the interaction source terms depends on the choice of interactions and possible approximations used to describe them. We specialise to the important case of thermal emission and absorption and isotropic scattering. Then, the rates of energy and momentum exchange are proportional to the absorption and transport opacities, and , respectively:
[TABLE]
Eq. (3) describes how matter emits radiation thermally with an equilibrium distribution (e.g., Maxwell-Boltzmann for photons, Fermi-Dirac for neutrinos), and how it absorbs the local radiation energy. Eq. (4) accounts for the transfer of momentum to the gas by means of absorption and scattering reactions. We note that the same terms appear with the opposite sign (and integrated over particle energy) as sources in the hydrodynamic equations for the gas.
We do not delve deeper into the detailed, potentially very complicated, dependence of the opacities on and as well as on the composition and thermodynamic state of the gas because our method is valid for general opacity laws. Our main focus lies on the stiff, optically thick limit, in which the opacities are very high, , and the interaction terms dominate over and in Eqs. (1) and (2). Under these conditions, numerical difficulties arise due to the need to simultaneously follow all the terms with characteristic time scales that can differ by many orders of magnitude.
The physically correct stiff limit consists of approaching the equilibrium energy density . Furthermore, Eq. (4) indicates that high opacities will reduce to zero. However, the precise manner in which vanishes matters a lot for getting the correct solution. In a non-uniform radiation field, has to approach the diffusion limit satisfying . While some methods (Jin & Levermore, 1996; Pons et al., 2000; Jin et al., 2000; Audit et al., 2002) deal with this requirement by explicitly enforcing the diffusion flux for high optical thickness, others (Just et al., 2015) found that an appropriate treatment of the flux terms in is sufficient to reproduce the correct limit. In practise, approaches such as the one of Just et al. (2015) allow us to offload the issue of the correct diffusion limit to the solution of . As long as our method for ensures that vanishes in the optically thick limit in the absence of , the coupled solution of and will behave correctly.
We focus now on the numerical schemes that can be used to solve Eqs. (1) and (2).
The time-integration strategy for the transport equations, (1) and (2), is usually chosen based on a trade-off between stability, accuracy, and numerical costs. These goals are somewhat at odds with each other: the most stable schemes, implicit time integrators, and the most accurate ones, high-order methods, are also the most expensive ones; furthermore, high-order implicit methods tend to be particularly complex. The difficulties are exacerbated when applying the integrators to terms involving spatial as well as temporal derivatives. For this reason, an operator-splitting approach is common in which the transport terms, , the interaction terms, , and, in the case of coupled radiation hydrodynamics, the flux and source terms of the hydrodynamics equations not connected to neutrino interactions, are treated separately using suitable methods. In the applications we are mostly interested in, CCSNe, we follow the evolution of the system on the hydrodynamical time scales, which leads us to select an explicit time integrator for the latter group of terms. Furthermore, the maximum hydrodynamic flow and sound speeds are similar to the characteristic velocities of the neutrino transport terms, which allows us to use an explicit time integrator for them with roughly the same stability constraint on the time step. On the other hand, their stiffness makes an implicit time integration scheme the only feasible option for the interaction terms.
The IMEX strategy described above is commonly employed in neutrino-hydrodynamics codes in high-energy astrophysics. Among the proposed methods, we follow the one implemented by Just et al. (2015), whose discretised schematics we briefly summarise in the following. We denote the conserved variables of hydrodynamics (the densities of mass, momentum, energy) and of the neutrino radiation (), collectively as and , respectively, and use superscripts n,n+1 to indicate the states at discrete time steps and . Then our prescription to update the variables to the next time step is given by
[TABLE]
where we the symbols and stand for the discretised operators including the fluxes and sources of hydrodynamics and the fluxes of neutrino transport, respectively. Without entering into further details, we note that they are evaluated explicitly with data of the previous time step, . The neutrino-matter interactions, represented by the operator , i.e., the discretised version of Eqs. (3) and (4), depends on both and . Its dependence on the hydrodynamic variables is a result of both the opacities and the equilibrium energy density, , being functions of the thermodynamic state of the gas. We note the its counterpart in the hydrodynamic equations, , can be computed once , and thus presents no further complication.
A fully implicit treatment of in (6) would entail evaluating all the variables it depends on at the new time step, i.e., setting . The intricate dependence of and on makes this task computationally costly, which burden the numerical solution. This step would require at multiple times the recovery of the primitive (thermodynamic) variables, in particular the temperature, from , i.e., the inversion of non-linear relations.
We propose a Minimally Implicit (MIRK) Runge-Kutta method that minimize computation cost of the process of recovery of variables. Our alternative approach differs in that we evaluate only the conserved neutrino variables at the new time step, , but treat the hydrodynamic variables and the variables derived from them, opacities and equilibrium energy density, explicitly by using . This simple change permits preserving the stability properties and simultaneously reducing the computational cost to that of an explicit method, as there is no need to apply the recovery multiple times. In the following we explain the method in detail. Such an approach has been implemented by Just et al. (2015) without exploring the mathematical framework presented in the next section. Here we go beyond their method, and this mathematical framework also allows for a higher order extension.
3 Numerical methods
This section present the equations of a general MIRK method at first and second order. The general expressions contain undetermined coefficients that we will choose adequately in order to guarantee a correct behaviour in the stiff limit regime.
3.1 First order method
The equations of a first order MIRK method for Eqs. (1) and (2) take the form
[TABLE]
where are arbitrary real coefficients that we will select later according to stability criteria. From previous equations, the explicit expressions for and can be derived easily; they can be cast in matrix form as: {widetext}
[TABLE]
where and . The conditions must be satisfied to force non-zero (and positive) denominators always. Notice that the equations in this form resemble a pure explicit method with effective time steps and for the and evolution equations, respectively. The previous matrix expression has been easily and analytically derived thanks to the fully explicit evaluation of the non conserved variables (e.g., all the variables different from and ). Due to this reason, one would expect to have a computational cost similar to that of applying a fully explicit method. We now analyze the behaviour in the stiff limit regime.
Mathematically speaking, the stiff limit refers to . In that limit, Eq. (9) reads
[TABLE]
Conditions
[TABLE]
must be fulfilled for the spectral radius of the updated matrix to be strictly bounded by 1, thus having a stable numerical method. This is a more restrictive condition in comparison with previous conditions (needed to avoid zero values in the denominators). In order to guarantee a correct behaviour of the numerical solution at the stiff limit, and assuming a well-behaved and smooth data for the previous time step, and , we have that, for all ,
[TABLE]
[TABLE]
So, independently on the values of the coefficients we get well-behaved and smooth data in the next time step at first order. This give us, in principle, full freedom for choosing and . However, the behaviour of the evolved variables are far from been smooth in supernovae simulations. Therefore, we should guarantee their correct behaviour at the stiff limit even when we are dealing with non-smooth data, and regardless the possible presence of numerical errors in the previous time steps. The choice guarantees the correct behaviour for at the stiff limit, i.e., . It remains to choose a value for . By analogy with , and taking into account the particular case , we will simply consider . This means that the behaviour of at the stiff limit is not controlled by previous values of this quantity, but only by evaluations of , which only depends on the hydrodynamic variables . With this choice, it is satisfied that . Finally, in the case the method reads:
[TABLE]
3.2 Second order method
Hereafter we follow the same strategy as in the first order case. Two stages are needed for the second order method. We denote the intermediate step by a superindex and the final step by . In general, we have four coefficients, , to be determined based on stability arguments. The first stage reads
[TABLE]
and the second stage can be written as {widetext}
[TABLE]
Isolating and , we get similar expressions to those of first order, just substituting the superindex by :
[TABLE]
Then, and can be expressed explicitly in terms of previous evaluations of these quantities as:
[TABLE]
[TABLE]
The following conditions are necessary for forcing non-zero (positive) denominators always:
[TABLE]
We finally determine the coefficients of the method taking into account previous conditions and the behaviour of the numerical solution in the stiff limit.
The stiff limit refers to . In that limit, Eqs. (20) and (21) read
[TABLE]
where
[TABLE]
and must be satisfied to guarantee stability of the numerical method.
If we assume well-behaved and smooth data at second order in time at ,
[TABLE]
from Eqs. (23) and (24) we get
[TABLE]
where we have used a Taylor expansion over , represents the vector of all the evolved variables (i.e. ), and is the source term in the evolution equation of the form . So in order to satisfy Eqs. (27) and (28) in the next time step , we need to impose . We could choose in resemblance with ,
[TABLE]
This choice for preserves the second order behaviour of our numerical solution in the next time step and at the stiff limit when smooth data are involved, is trivially satisfied and ; note that having means consider a value for at the border of the stability region, which seems to be not very convenient. In addition, as commented for the first order method, we must take into account that the evolved variables have a non-smooth behaviour in supernovae simulations.
Our proposal is then to consider and to guarantee (as we did choosing for the first order method), preserving the correct behaviour of our numerical solution regardless the possible presence of numerical errors or non-smooth data. By analogy with , and taking into account the particular case , we will consider and , or equivalently. For these choices, the conditions (22) result in
[TABLE]
[TABLE]
and Eq. (29) stays
[TABLE]
Second order for smooth data at stiff limit would be guaranteed if , but this is incompatible with conditions (32). We only get first order in time at the stiff limit for , a price to pay when non-smooth data is considered. Within these constraints, we still have some freedom for the election of the coefficients .
We can write our numerical method in such a way it resembles a pure explicit scheme of the form
[TABLE]
For the choices (31), Eqs. (18) and (19) keep the same form, while Eqs. (20) and (21) can be written as: {widetext}
[TABLE]
where have not been chosen yet. For , we recover the structure of the previous second order pure explicit method.
Finally, with conditions (32) and (33), Eqs. (18) and (19) keep the same form, while Eqs. (20) and (21) can be written as: {widetext}
[TABLE]
with still to be chosen. For , we recover the structure of the previous second order pure explicit method.
4 Numerical simulations and results
4.1 Input physics
To assess its properties, we apply our method to the radiation-hydrodynamics of stellar core-collapse in spherical symmetry. This setup tests the scheme in a highly dynamic system including both the optically thin and the optically thick, stiff regimes of neutrino-matter interactions. As such, it represents a demanding problem for numerical codes. While the neglect of non-spherical flows limits the degree of realism, it makes the problem more standardised and controllable. Therefore, our tests follow in the footsteps of many previous studies of new schemes that used similar setups (e.g., Rampp & Janka, 2002; Liebendörfer et al., 2004; Sekiguchi, 2010; O’Connor & Ott, 2010; Müller et al., 2010; O’Connor, 2015; Just et al., 2015; Kuroda et al., 2016; Perego et al., 2016; O’Connor et al., 2018; Just et al., 2018; Laiu et al., 2021).
All simulations presented in the remainder of this section use the neutrino-(magneto-)hydrodynamics code Alcar (Just et al., 2015) and, except where explicitly stated, the same input physics, initial conditions, and, except for the time integration, numerical methods and parameters. We solve the equations of special relativistic hydrodynamics including a balance law for the electron fraction of the gas, . We account for the self-gravity of the star using a pseudo-relativistic gravitational potential (potential A of Marek et al., 2006). The spectral transport modules evolve the radiation energy and momentum density in a reference frame comoving with the fluid. The coupling between neutrino particle energies via velocity and gravitational terms, e.g., Doppler or gravitational red-/blue-shifts, are included up to first order in . We describe the thermodynamic properties of the gas using the nuclear equation of state (EoS) SFHo (Steiner et al., 2013). Strictly speaking, an EoS of this type, assuming that the composition of the gas is given by nuclear statistical equilibrium, is not valid for low temperatures and densities. Nonetheless, we simplify our setup by not including a transition to a sub-nuclear EoS below a threshold density. This choice has no implication for the tests at hand because the neutrino-matter interaction rates are very small at the densities where the transition between EoS regimes would take place.
We employ the spectral transport methods for three species of neutrinos: electron neutrinos, , and antineutrinos, , and one species, , including the mu and tau neutrinos and their antiparticles. Our set of neutrino-matter reactions contains the important interactions that dominate the dynamics of core collapse (see Just et al., 2015, 2018, for implementation details):
- •
absorption and emission of and by processes of free neutrons and protons and nuclei,
- •
iso-energetic scattering of neutrinos of all flavours off nucleons and nuclei,
- •
pair creation of neutrinos of all flavours by electron-positron annihilation and nucleonic bremsstrahlung,
- •
non-iso-energetic scattering of neutrinos of all flavours off electrons and positrons.
We note that the last process is not written in terms of an opacity and thus our MIRK method does not apply. We treat it in an operator-split manner in the same way as described in Just et al. (2018). In principle, the same holds for the pair processes. However, the approximate treatment of O’Connor (2015) reformulates the interaction in terms of opacities, which allows us to include them in the MIRK scheme.
4.2 Initial data and reference simulation
As a test case, we used the same model as in the comparison of neutrino-hydrodynamics codes of Rampp & Janka (2002), i.e., the core of a star of a zero-age main-sequence mass of . Before presenting results of the new MIRK method implementation, we describe the dynamics of a reference simulation (denoted RK2) computed with the traditional scheme used in the Alcar (Just et al., 2015). It uses a method similar to our first-order MIRK scheme as a building block in a second-order Runge-Kutta time integrator.
As the central density increases during collapse, electron captures deleptonize the matter and drive the electron fraction at the center to values and the lepton fraction, including the net lepton number corresponding to and , to . These quantities assume a roughly constant level once the neutrinos are trapped inside the inner core as densities render the gas optically thick. The shock wave launched at core bounce (time ) and the formation of the proto-neutron star (PNS) stalls about 70 ms later after having reached a maximum radius of , i.e., still inside the collapsing iron core (see Fig. 1, second panel). It recedes slowly for another 90 ms to . Matter continues to fall through the shock wave and settles onto the PNS, which gradually contracts from a maximum radius of up to immediately after bounce to at (here we use the radius of the -sphere as a proxy for the PNS radius). By , the entire iron core has been accreted. Consequently, the density and ram pressure of the accreting matter drops, which causes a brief expansion of the shock by about 10 km. Neutrinos heat the post-shock gas, but, as is typical for spherically symmetric core collapse, the conditions for shock revival and an explosion are never met. Thus, the shock wave gradually contracts to a radius below 50 km over the course of 1 s after bounce. The early neutrino emission is characterized by the intense burst of emitted in the first few tens of ms after bounce (third panel of Fig. 1). After the burst, the luminosity, , and those of the other two flavors reach slowly varying values of several . We find the typical ordering with almost equal luminosities of the electronic flavors and a lower emission of the heavy-lepton neutrinos as well as the dependence of the luminosities on the mass accretion rate that leads to the lower levels of after . The mean energies (bottom panel) with values in the range of 10–25 MeV reflect the rising temperatures near three neutrinospheres of the three flavors with the sequence following from the hierarchy of neutrino-matter cross sections.
4.3 First order MIRK numerical simulations
The first order MIRK scheme has two free parameters, and . We compare the four combinations of setting them to zero and to a non-zero value of (see Tab. 1). Simulation M1-1 with satisfies the correct optically thick limit. It produces a stable simulation whose results are very close to those of the reference simulation, both in terms of the global evolution shown in Fig. 1 and in terms of the radial profiles of Fig. 2. The density profiles at representative epochs during the evolution (top panel) are almost identical to the ones of model RK2. The PNS at the center as well as the surrounding region of decreasing density do not show any notable difference between the two simulations. The only small discrepancies appear right at the shock wave where falls by about an order of magnitude over a few km. The entropy and the electron/lepton fractions (second and third panels) are more sensitive than the density to the details of the neutrino treatment. Nevertheless, there are only minor deviations of model M1-1 from RK2. Apart from the shock wave, we only find small differences in the precise pattern of oscillations in the entropy behind the shock wave at late times (). If anything, the MIRK simulations might be able to resolve the shock wave more sharply. Furthermore, there is a minor offset of outside of the shock wave. This deviation turns out to be connected to the neutrinos, not the matter, as we find a similar offset in the profiles of the neutrino luminosities (bottom panel) exterior to the shock. Among the neutrinos, we point out the relatively pronounced temporal fluctuations of the heavy lepton species, , in particular of its mean energy, which we attribute to the fact that these neutrinos are generated and absorbed only via the relatively subdominant pair processes. Thus, they tend to bear the imprint of fluctuations at their production site at larger radii to a higher degree than the electron type neutrinos. In any case, the differences between the first order MIRK run and the reference solution are entirely within the margins of uncertainty of the latter alone.
The correct limit in the optically thick limit of the momentum equation is a crucial requisite for the stability of the simulations. Models M1-2 and M1-3 with and , respectively, which do not satisfy the asymptotically correct behavior (13) for all, smooth and non-smooth, initial data, turn unstable once the core becomes optically thick at a central density (see Fig. 3). The instability appears first in the form of strong fluctuations near the origin that spread outward and lead to a termination of the simulation before the bounce can occur.
Model M1-4 with evolves stably and correctly through collapse and until immediately before bounce (Fig. 4). The evolution of the central electron and lepton fractions agrees well with the reference model. After bounce, however, differences between the two models appear. Most notably, the central values of do not stabilize at the levels they reached during neutrino trapping, but decrease further (note the drop of the two green lines in the top panel of Fig. 4 for ). After about 30 ms more, they reach a minimum around , i.e., far below the correct values. Unlike in the reference case, the two variables are almost equal at throughout the entire post-bounce evolution (see third panel of Fig. 5), i.e., the net neutrino lepton number is close to zero. Additionally, the center of the PNS is hotter at almost twice the entropy of that of RK2 (second panel).
Discrepancies between the models are present in the burst, mostly in the form of larger fluctuations in all three flavors. Afterwards model M1-4 emits a considerably lower and higher than RK2. The mean neutrino energies lie below the ones of RK2.
Additional differences appear in the structure of the core. Until , the shock wave transiently expands faster than in RK2. This phase is characterized by the appearance of a bump in density (see top panel of Fig. 5, , at ) absent from the reference case and marked differences in the entropy and profiles (second and third panels). Whereas the shock wave starts to recede in the reference model after it reached its furthest expansion at , it stays in M1-4 at the same radius for another 90 ms before expanding up to and retreating only thereafter. The main differences between the models are found in the PNS, which is less dense with a shallower profile, hotter and neutron-richer in M1-4 than in RK2. In the surrounding hot bubble, the differences are less pronounced, but still far larger than the ones between the reference model and M1-1. Finally, a numerical instability develops in the PNS after almost 400 ms of post-bounce evolution.
To summarize, our MIRK scheme is able to reproduce the results of the reference simulations stably and correctly if the parameters and for the energy and momentum equations, respectively, are chosen such that they satisfy the correct limit in the optically thick regime. Using a different parameter in the momentum equation, i.e., makes the simulations unstable once neutrinos are trapped by scattering reactions. The choice , but , i.e., obeying the constraints in the momentum, but not the energy equation, cures this instability, but results in incorrect results once, near bounce, the emission/absorption reactions become stiff as well. The simulation can continue for several 100 ms thereafter, but the PNS properties are wrong and eventually a numerical instability ensues.
4.4 Second order MIRK numerical simulations
We performed a series of simulations using the second order MIRK scheme and explore the evolution for various combinations of the four parameters (see Tab. 2). The basic set of simulations consists of the 16 models M2-11, …, M2-44, in which we set, following the possible choices introduced in Sect. 3, and or , and analogously for and (see Tab. 3 for the values of these two functions for all the parameters we have used). The nomenclature of the models is given by the following systematic scheme: the last two digits of the generic model name M2-AB indicate the values of the parameters and . Indices , stand for values , , , and , respectively, and analogously for index and parameters .
We find the same three evolutionary paths as in the first order case. Most combinations result in a numerical instability at the onset of neutrino trapping, as shown for the example of model M2-11 in Fig. 3. As in the unstable first order runs, the instability develops in the optically thick core and causes catastrophic oscillations in the electron and lepton fractions which quickly lead to a termination of the simulations.
All simulations with avoid this instability, irrespective of the values of and . However, within the basic set of the 16 models M2-11 – M2-44 only the choice and produces stable and correct results that, like for M1-1, agree very well with the reference simulation both in the evolution of global quantities (Fig. 1) and in the profiles at specific times (Fig. 2). The differences with model RK2 are limited to minor details such as the width of the shock wave (second panel of Fig. 2) or a small offset in the neutrino luminosity outside the shock wave.
Models M2-41, M2-42, and M2-43 with and show the same behavior as model M1-4 (see Fig. 4 and Fig. 5). Until close to the point at which the source terms in the energy equation become stiff, they follow the reference simulation. At that point, however, they yield an incorrect PNS with too low , too shallow density profiles, and too low entropy. The luminosities and mean energies show the same deviations from RK2 as found in M1-4, and all models suffer the same numerical instabilities after a time of .
We added models M2-44-1 – M2-44-4 similar to M2-44. Their results agree well with those of model M2-44, indicating that stability and accuracy do not depend on the specific values as long as and .
Another group of simulations, models M2-51 – M2-55, probe positive values of and between and , which according to Eq. (32) and (33) should also lead to a stable evolution. However, we find that all simulations with are unstable. If we set, as in M2-44, , we obtain a stable and correct simulation with and a stable, but incorrect one with .
Hence, we find that, similarly to the first order schemes, the stability is set by the parameters for integrating the momentum equation: only and are stable. Among these, the ones for which the parameters for the energy equation fulfil the constraint and or are also correct.
5 Conclusions
We have derived a Minimally Implicit Runge-Kutta method for equations for neutrino transport. We use it to treat the neutrino matter interaction terms describing reactions such as absorption, emission, and scattering in an operator-split manner separately from the (hyperbolic) transport terms of an method. In general, the stiffness of the interaction terms in the optically thick regime poses a stability problem for their time integration. The problem can be overcome by fully implicit methods, but these can be very costly because of the complex dependence of the reaction rates on the neutrino fields and the thermodynamic state of the matter. We propose a simplified approach that reduces the use of implicit terms to the minimum required for stability by evaluating the opacities and the thermodynamics at the original time step. This choice makes the resulting scheme take a form similar to that of an explicit method. The first order method is a straightforward modification of an explicit scheme with an effective, reduced time step that guarantees the stability. This method is similar to the one that has already been used in this context in the neutrino-hydrodynamics code Alcar (Just et al., 2015). Here we give a mathematical framework and a generalization to a second order method that retains the simplicity of the first order one. We already applied similar schemes in (Cordero-Carrión et al., 2023) for the resistive relativistic magnetohydrodynamic equations.
The second order method depends on two numerical parameters. We demonstrate that these parameters can be chosen in such a way that they satisfy an algebraic condition that guarantees the correct optically thick limit for the source terms for neutrino energy and momentum. In this case, the new time integrator gives stable and accurate results in simulations of the collapse of stellar cores, as we show by implementing it in the code Alcar and comparing it to its traditional solver. If, on the other hand, these conditions are violated, the simulations become unstable once the core turns optically thick.
Our scheme is simple and efficient and can be used in a wide range of similar applications. Examples can be found in contexts with rarefied gases (Koellermeier & Samaey, 2022), shallow water equations, (Koellermeier & Pimentel-García, 2022) or force-free electrodynamics in General Relativity (Mahlmann et al., 2021). There, stiff terms appear in the conservative laws coming from the corresponding scenarios. Regarding future works in supernovae simulations, we will explore more general sets of parameters, the incorporation of more complex reactions such as pair processes, and a combination with a well-balanced method (see (Castro & Parés, 2020)) to manage the fluxes in order to preserve stationary solutions.
Acknowledgments
The authors acknowledge support by the Spanish Agencia Estatal de Investigación / Ministerio de Ciencia, Innovación y Universidades through the Grants No. PID2021-125458NB-C21, PID2021-127495NB-I00 funded by MCIN/AEI/10.13039/501100011033 and by the European Union, by the Generalitat Valenciana through the Grants No. PROMETEO/2019/071 and ACIF/2019/169 - European Social Fund and the Astrophysics and High Energy Physics programme of the Generalitat Valenciana ASFAE/2022/026 funded by MCIN and the European Union NextGenerationEU (PRTR-C17.I1). MO was supported by the Ramón y Cajal programme of the Agencia Estatal de Investigación (RYC2018-024938-I). This research was partially supported by the Perimeter Institute for Theoretical Physics through the Simons Emmy Noether program. Research at Perimeter Institute is supported by the Government of Canada through the Department of Innovation, Science and Economic Development and by the Province of Ontario through the Ministry of Research and Innovation.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Audit et al. (2002) Audit, E., Charrier, P., Chièze, J., & Dubroca, B. 2002, Ar Xiv Astrophysics e-prints, ar Xiv:astro-ph/0206281
- 2Castro & Parés (2020) Castro, M. J., & Parés, C. 2020, J Sci Comp, 82, 48
- 3Cordero-Carrión et al. (2023) Cordero-Carrión, I., Santos-Pérez, S., & Martínez-Vidallach, C. 2023, Appl Math Comput, 443, 127774, doi: 10.1016/j.amc.2022.127774 · doi ↗
- 4Foucart (2018) Foucart, F. 2018, MNRAS, 475, 4186, doi: 10.1093/mnras/sty 108 · doi ↗
- 5Foucart et al. (2021) Foucart, F., Duez, M. D., Hébert, F., et al. 2021, Ap J, 920, 82, doi: 10.3847/1538-4357/ac 1737 · doi ↗
- 6Foucart et al. (2016) Foucart, F., O’Connor, E., Roberts, L., et al. 2016, Phys. Rev. D, 94, 123016, doi: 10.1103/Phys Rev D.94.123016 · doi ↗
- 7Izquierdo et al. (2022) Izquierdo, M. R., Pareschi, L., Miñano, B., Massó, J., & Palenzuela, C. 2022, Ar Xiv General Relativity and Quantum Cosmology e-prints, ar Xiv:gr-qc/00027
- 8Jin & Levermore (1996) Jin, S., & Levermore, C. 1996, J Co Ph, 126, 446
