WorksPhysics and Astronomy
General-relativistic neutrino-radiation hydrodynamics of crust ejection in magnetar giant flares
Abstract
Magnetar giant flares are thought to eject of baryons, as inferred from the radio afterglow of the 2004 flare of SGR 1806-20. One proposed mechanism is a shock driven into the neutron-star crust by the hot, high-pressure layer that the flare creates above the surface. The unbound crust could undergo -process nucleosynthesis and power a short-lived "nova brevis". We study this crust ejection with general-relativistic neutrino-radiation hydrodynamics simulations performed with AthenaK, using a tabulated nuclear equation of state and two-moment neutrino transport, for flare pressures corresponding to magnetic fields - G, and compute the nucleosynthesis of the ejecta with a nuclear reaction network. We find that such flares unbind to of crust. The ejecta keep the electron fraction of the crust to within a few hundredths, and weak interactions affect it mainly in the most energetic flares. The fast, high-entropy ejecta freeze out mostly as particles and free neutrons. In the stronger flares nuclei up to the third -process peak do form, but those with make up at most of the ejected mass, or per flare, and less than for G. A nova brevis from these ejecta would be powered mainly by the decay of free neutrons. Like earlier work, our models assume spherical symmetry, a flare that covers the whole star, and no magnetic field. A field tangential to the surface would hold the crust down and weaken the shock, and a flare confined to part of the surface should eject proportionally less mass. We therefore regard our ejecta masses as upper limits for a given flare pressure, and expect realistic magnetar flares to produce negligible amounts of -process material.
Introduction
Magnetars are neutron stars (NSs) whose activity is powered by the decay of ultra-strong magnetic fields [18, 84, 47], see reviews by Turolla et al. [91] and Kaspi & Beloborodov [44]. The most energetic of their outbursts, giant flares (GFs), release to a few erg (isotropic equivalent) in a sub-second spike of hard X-rays and soft -rays followed by a minutes-long tail modulated at the spin period. Three Galactic or Local-Group GFs have been observed, in 1979 [56], 1998 [41], and 2004 [66] (Hurley et al. 2005), and a growing sample of extragalactic events has been identified in archival -ray data [82, 10, 5, 89].
The 2004 December 27 GF from SGR 1806–20 released – erg for isotropic emission at 15 kpc in a spike of s [66, 11, 6] (Hurley et al. 2005), followed by a s tail pulsating at the spin period and by a delayed, unpulsed hard component that peaked at – s, which Mereghetti et al. [57] interpreted as an afterglow of the outflow (see also [6, 25]). The radio source first observed about a week later [11, 26] re-brightened after days [28]. If the re-brightening marks the deceleration of ejecta sweeping up the surrounding gas, the ejected mass is , with an initial velocity , assuming a distance of 15 kpc and a one-sided outflow, and up to two to three orders of magnitude larger for plausible densities and shock microphysics [28, 30]. The radiation of the trapped pair fireball ablates orders of magnitude less mass during the tail [17], so most of the ejecta must leave during the spike.
In the model of Cehula et al. [12], hereafter C24, the energy released by a rapid reconfiguration of the field fills a thin layer of photons and pairs just above the NS surface. Its pressure can approach the magnetic pressure of the dissipation region, for a field strength , and it launches a relativistic shock into the crust. When the pressure of the layer on the crust is relieved, as the layer expands within , nothing holds the shock-heated outer crust down, and its outermost part expands and becomes unbound. In one-dimensional (1D), spherically symmetric, special-relativistic simulations, C24 obtained – with asymptotic velocities –, enough for the SGR 1806−20 afterglow if –. Unlike the very neutron-rich matter decompressed from the interior of a tidally disrupted NS [51, 50], the outer crust that is ejected has only –. Heavy nuclei can then form only in an -rich freeze-out at high entropy and fast expansion [74, 37], and C24 argued that the hot, fast ejecta reach these conditions.
Patel et al. [71] followed the nucleosynthesis of ejecta modeled analytically after C24 with a nuclear reaction network, found moderate third-peak and larger light -process yields, and predicted the light curves of the radioactively powered transients (“novae breves”). Patel et al. [70] interpreted the delayed hard component instead as the decay of freshly synthesized -process nuclei in of ejecta. Other recent work explores baryon ejection from the eruption of magnetic loops in young magnetars [8], the relativistic magnetohydrodynamics of giant bursts and of shocks in the magnetosphere [13, 31], the use of novae breves and burst spectra as probes of the crust and of its composition [97, 96], and the consequences of an -process in the ejecta for MeV -ray lines [76], ultrahigh cosmic rays [69] and the kilonovae of repeated flares in neutron-star—white-dwarf mergers [98].
In the shocked crust, electron and positron captures and the emission and absorption of neutrinos can change . The time on which the captures alone change it falls steeply with temperature and the conditions under which an -rich freeze-out makes heavy nuclei are very sensitive to . These processes have not yet been followed in simulations of crust ejection. How much the neutrinos change the electron fraction of the ejecta, and with it their yields, can only be found by evolving them together with the flow, and this is the main motivation of this work.
In this paper we study the crust-shock scenario with general-relativistic (GR) neutrino-radiation hydrodynamics simulations performed with the AthenaK code [80, 99, 20], using a nuclear equation of state (EOS) and energy-integrated two-moment (M1) neutrino transport, so that of the ejecta evolves with the flow. We keep the 1D spherically symmetric geometry and the flare model of C24 and scan the flare pressure of fields –, a range that brackets the fiducial field strength of Patel et al. [71] and includes that of their high-mass model. To isolate the effect of the neutrinos we repeat every model without them. We do not vary GR and the EOS separately, so their effect appears only in the comparison with earlier work. The composition of the ejected crust is then computed with a nuclear reaction network along trajectories extracted from the simulations.
The paper is organized as follows. § 2 describes the physical setup and § 3 the numerical methods. § 4 presents the results. § 5 compares them with the earlier calculations of C24 and Patel et al. [71], and § 6 discusses their implications and limitations.
Physical setup
Neutron star and flare layer
We construct a spherically symmetric NS at rest by solving the Tolman–Oppenheimer–Volkoff (TOV) equations [88, 65] for the -equilibrated slice of the EOS § 3.2 at its lowest temperature, . The central density gives a gravitational mass and an areal radius , where the surface is placed at . The crust is thus in GR hydrostatic equilibrium with the EOS used in the evolution. Figure 1 shows the initial profiles (dashed curves).
Figure 1. Radial profiles of model B15.5 near the stellar surface. Top: rest-mass density, pressure and temperature. Bottom: radial velocity, electron fraction and entropy per baryon. The black dashed curves show the initial state (crust and flare layer), the colored curves the five snapshots, three up to the deepest reach of the shock (13.8 s) and two while the crust flies out. Dots mark the radius outside which lies the gas that is eventually ejected, located with the mass coordinate of Equation (5). The thin vertical line marks the initial surface, km. Outside the crust, of the dilute flare-layer gas rises to 0.6, the upper limit of the EOS table. This gas is not part of the ejecta.
We evolve the region for 1 ms (2 ms without neutrinos), and every model is run both with and without neutrino transport. The shock stops well above the inner boundary (§ 4.1). The mass above the inner boundary, , exceeds the ejecta masses of interest by more than five orders of magnitude, so the evolved region contains all the matter that the flare can affect on this time scale.
We do not model the trigger of the flare. Its energy is thought to come from the magnetic field, whose slow evolution inside the star stresses the crust and twists the magnetospheric field lines [84] (Thompson & Duncan 2001). The stored energy is then released suddenly, through a failure of the crust under magnetic stresses [72, 49] or through a large scale reconnection instability of the twisted magnetosphere [54, 68]. In the relativistic magnetohydrodynamics simulation of such an eruption by Chatterjee et al. [13], reconnection launches a hot outflow that can power the initial spike, while hot plasma falls back, reflects off the stellar surface and settles into a fireball trapped in the closed magnetosphere, with enough thermal energy to power the pulsating tail [84]. That outflow carries no baryons, and the baryonic ejecta of the 2004 flare may require another mechanism [13], for instance the eruption of a magnetic loop that carries crustal material out of a young, strongly magnetized star [8], or the scenario of C24 adopted here, in which the pressure of the hot layer drives a shock into the crust. The flare can also launch waves into the magnetosphere that steepen into strong shocks far from the star [31], but we do not model the magnetosphere and consider only the hot layer in contact with the crust.
At we place a layer of hot plasma on the NS surface, with a peak pressure set by the magnetic pressure,
Here labels the pressure of the layer and need not be the dipole field of the star. Equation (1) assumes that the full magnetic pressure is converted into plasma pressure. In force-free simulations of magnetospheric eruptions 15–45 percent of the magnetic free energy is dissipated, depending on how the field is sheared, and the rest is expelled with the erupting field or retained [68]. In the relativistic magnetohydrodynamic simulations of Chatterjee et al. [13] the trapped fireball keeps most of its energy in the magnetic field, with a plasma pressure well below . For a given field Equation (1) gives the highest pressure the layer can have. The layer extends from to , the fiducial width of C24, and its pressure has a raised-cosine profile,
with and . The dissipation region is about one scale height of the magnetospheric energy density thick, so its pressure should fall off smoothly. A smooth profile also avoids a pressure jump of five to ten orders of magnitude at the stellar surface, whose early evolution would depend on the grid spacing. We vary the geometry of the layer in § 4.4.
The layer is initially at rest, with density and the electron fraction of the stellar surface, . With the of the surface there is no jump in composition at the interface with the crust, and numerical diffusion across it cannot change of the crust. Its temperature follows from the EOS (Table 1). The layer carries as little rest mass as possible ( in total), with a density 100 times that of the atmosphere, which keeps it well above the density floor of the code (§ 2.2) while it drives the shock into the crust. Its pressure is dominated by radiation and pairs, with a nucleon contribution . Its rest-mass energy, , is less than of its thermal energy (Equation (3)), so the value of does not set the energy of the flare. We define the energy of the layer as its thermal energy above the cold state,
| Model | ||||
| [G] | [erg cm] | [MeV] | [erg] | |
| B15.0 | 15.0 | 4.23 | ||
| B15.25 | 15.25 | 5.63 | ||
| B15.5 | 15.5 | 7.51 | ||
| B15.75 | 15.75 | 10.0 | ||
| B16.0 | 16.0 | 13.4 | ||
| B16.25 | 16.25 | 17.8 | ||
| B16.5 | 16.5 | 23.7 |
Table 1. Models are named after . All models share the star, grid and physics and differ only in (Equation (1)). is the largest temperature of the layer at , and its energy (Equation (3)).
where is the specific internal energy, the temperature, and the proper volume element, with the determinant of the spatial metric (§ 3.1).
Because the layer covers the whole star, (Table 1) is the energy of a flare that dissipates over the entire surface. Our models exceed the 2004 spike, – (§ 1), by factors of 4 (B15.0) to (B16.5). A flare that covers a solid angle holds only at the same pressure, and the region where the field opens and matter can escape may be small. We include flares of this energy because the delayed MeV emission of the 2004 flare implies an ejecta mass of [70]. They also span the field strengths of C24 and [71], which allows a direct comparison with their results, and they show how the ejecta depend on over a wide range, even where a flare of that energy over the whole surface is unlikely.
Atmosphere
The rest of the domain is filled with a uniform atmosphere at rest, with , and . Its density is just above the lowest density of the extended EOS table, (§ 3.2 and Appendix § 7). This density and are also the floors of the code. The atmosphere is not in hydrostatic equilibrium, and its rest mass in the domain, , is negligible compared with the ejecta. Its inertia is larger. At photons and pairs give it an enthalpy density , with the energy density without rest mass, so the ejecta sweep up an effective mass within the extraction radius km (§ 3.4). This is about 1 percent of the ejecta of B15.0 and less for the stronger flares, but it is comparable to the ejecta of weaker flares. In test runs with G the ejecta are slowed down by the atmosphere, and with G the crust stalls at about 33 km. We therefore restrict the study to G. A control run without the flare layer ejects only of atmosphere through in 1.35 ms, six orders of magnitude below B15.0, and the contact with the atmosphere warms the top m of the crust to at most 0.46 MeV, negligible compared with the shock heating.
Numerical methods
General-relativistic hydrodynamics
We solve the equations of GR hydrodynamics in the 3+1 “Valencia” formulation ([4, 2]) with the dynamical-spacetime GRMHD module ([20]) of AthenaK, a performance-portable rewrite of Athena++ based on Kokkos ([80, 90]). The evolved variables are the conserved rest-mass density , the momentum density and the energy density , where is the rest-mass density in the fluid frame, the Lorentz factor and the energy density measured by Eulerian observers. The electron fraction is evolved as , with the neutrino source terms of § 3.3. The magnetic field is zero.
The spacetime is fixed to that of the initial TOV star (Cowling approximation), with zero shift. The evolved region, from 12 km to the surface, holds less than 3 percent of the stellar mass, and the gas that the flare displaces, the ejecta and the lifted bound crust, is of it. The line element is , with lapse and spatial metric . The domain is a thin radial patch with , where is the gravitational mass inside areal radius , and a single periodic cell in each transverse direction, which reproduces the geometric source terms of spherical symmetry. The fluid four-velocity is , with and radial three-velocity .
We use fifth-order WENO-Z reconstruction ([7]) of the density, and (the pressure is reconstructed by the well-balanced scheme below), the HLLD Riemann solver ([60, 19]), and third-order strong-stability-preserving Runge–Kutta time integration ([29]) with a Courant number of 0.4. The crust spans many orders of magnitude in density over a few hundred meters, and a standard finite-volume scheme does not preserve its discrete hydrostatic balance. We employ a locally well-balanced scheme designed to preserve hydrostatic equilibria (Fields & Dittmann, in preparation) to reconstruct the pressure. This scheme and the FOFC are described in Appendix § 8. A first-order flux correction (FOFC; [52, 20]) keeps the evolution robust. Cells that fall below the density floor are reset to the atmosphere at rest, and gas that cools below is kept at ([20]), which adds thermal energy to dilute, expanding gas (§ 3.4). The primitive variables are recovered with the PrimitiveSolver library ([15, 20]), based on [45].
Equation of state
We use the HS(DD2) EOS ([36, 92]), a statistical model of nuclei with measured masses ([3]) where available and masses from the finite-range droplet model (FRDM, [62]) otherwise, and of nucleons with the DD2 relativistic mean-field interaction, including electrons, positrons and photons, in the CompOSE table ([93]) covering –158 MeV, baryon number densities – and –0.60. Its lowest density, , is far above that of the expanding flare layer and of the atmosphere, so we extended the table down to () by continuing it as an ideal gas (adiabatic index ) plus a density-independent radiation (photon and pair) component, both matched to the table at its edge. The chemical potentials are continued as well, since they enter the neutrino rates (Appendix § 7).
The table describes matter in nuclear statistical equilibrium (NSE), with a distribution of nuclei, particles and free nucleons. The dissociation of the crust nuclei by the shock, and the energy released when nucleons recombine into particles during the expansion, MeV per nucleon, are therefore part of the evolution. Below MeV the true composition freezes out, while the table keeps assuming NSE down to its lowest temperature. The further energy that NSE releases by assembling heavier nuclei is at most MeV per nucleon (from particles to iron-group nuclei), about one percent of the asymptotic kinetic energy of the ejecta, so the dynamics is not affected. The composition of the ejecta is computed separately with a reaction network (§ 3.5).
Neutrino transport
Neutrinos are evolved with the energy-integrated (gray) two-moment formalism ([86, 22]) with the Minerbo closure ([61]), in the AthenaK implementation ported from THC_M1 ([77, 75]). For each of four species, , and the heavy-lepton and (where combines the muon and tau (anti-)neutrinos), the scheme evolves the energy, momentum and number densities. The radiation–matter source terms, set by the absorption and scattering opacities and , act on the fluid energy, momentum and lepton number, and are integrated implicitly where the neutrinos are trapped [77]. Emissivities and opacities are computed with bns_nurates [14], averaged over a neutrino spectrum reconstructed from the evolved energy, number densities and the Eddington factors. They include charged-current absorption and emission on nucleons and (inverse) nucleon decays [9, 64], with weak-magnetism and recoil corrections [38], pair processes [9, 73], nucleon–nucleon bremsstrahlung [32, 21], elastic scattering on nucleons [9, 38] and inelastic scattering on [9, 59]. Where the optical depth over a time step exceeds unity, the thermal (excluding inelastic scattering) emissivities follow from the absorption opacities through Kirchhoff’s law, and elsewhere they are computed directly. Where the reconstructed rates are unphysical, i.e. the spectral temperature exceeds 2000 MeV, the rates fall back to assume an equilibrium spectrum at the predicted temperature and chemical potentials. The nucleon rates neglect mean-field potentials and use the vacuum neutron–proton mass difference.
Computational domain and diagnostics
The domain is covered by a base grid of 32 m cells with five nested refinement levels, all starting at the inner boundary, with 16, 8, 4, 2 and 1 m cells out to 21.6, 17.6, 16.0, 14.4 and 13.6 km, respectively. The whole crust and the inner part of the flare layer are thus resolved with 1 m cells (the rest of the flare layer with 2 m cells). At the inner boundary the ghost cells are held at the initial hydrostatic state. In the innermost 200 m, 12.0–12.2 km, the conserved variables are relaxed towards their initial values on a time scale of 0.05 s, which damps the waves that enter this layer before they reach the boundary, and any wave the boundary reflects.
The shock stops well above this layer. The outer boundary copies the state into the ghost cells and sets an inward velocity to zero, so that matter can leave the domain but not enter it. The neutrino radiation field is zero at the inner boundary and copied at the outer boundary, without an inward flux.
We measure the ejecta on a sphere of areal radius km. Gas moving outwards through it is counted as unbound if it satisfies the Bernoulli criterion
where is the covariant time component of the four-velocity, the specific enthalpy (in units of ) and its minimum over the EOS table, the value to which cold, dilute nuclear matter relaxes. The ejecta mass is the time integral of the mass flux of unbound gas through the sphere, , recorded every 0.25 s. The asymptotic velocity follows from the Bernoulli constant, , where is the Lorentz factor the gas reaches far from the star, once its thermal energy has been converted into motion. The electron fraction, and entropy of the ejecta are mass-weighted over the same gas, from its state on the sphere in the output dumps, every 0.5 s. The entropy of the ejecta has a long high-entropy tail (see § 4.2), so we quote the median entropy as well as the mean.
Equation (4) counts the thermal energy, mostly of photons and pairs, that dilute gas keeps only because the code cannot cool it below . At the table gives at 50 g cm and 1.16 at 150 g cm, while gas at rest at 30 km is unbound already for , so dilute gas held at would count as unbound without moving outwards. We therefore measure the ejecta at km, the largest radius at which no gas crossing the sphere has yet cooled to in any model. If we remove from the gas that crosses , cell by cell, the enthalpy it has at at its density, so that only heating by shocks or neutrinos can unbind it, the ejecta mass decreases by 11 percent in B15.0 and by 3 percent or less in the other models.
Nucleosynthesis
We compute the nucleosynthesis of the ejecta with the reaction network SkyNet ([53]) along Lagrangian trajectories extracted from the simulations. In spherical symmetry gas cannot overtake other gas, so the rest mass outside a fluid element does not change as the element moves, and we use it to label the element. Part of that mass leaves the grid through the outer boundary, so we count it as the mass between the element and a sphere of radius close to the boundary plus the net mass that has flowed out through this sphere since ,
with the mass flux of all the gas through , computed as in § 3.4. At each output we find an element at the radius where takes its value. The gas that is eventually unbound is the outermost of the crust, that is, the gas with , where is the value at the crust surface, the rest mass of the flare layer and the atmosphere. We divide this gas into 147 shells, logarithmically spaced in in the outer half of and of each in the inner half. In this way the outer, high-entropy layers, which tracers of equal mass under-resolve ([34]), are resolved, as is the deepest ejected gas, which makes most of the heavy nuclei. We follow the center of each shell through the output dumps, recording , , , the speed and the entropy per baryon , averaged over the rest mass of the shell. A trajectory starts when its shell cools through 9 GK for the last time, where we assume NSE at the local . Every ejected shell is heated above this temperature by the shock. In B15.5 and B16.0 a second shock heats deep shells (49 and 42 percent of the ejected mass) above 9 GK again after they first cooled through it, and these shells start after this second heating. In B16.0 this shock comes from below, reaches the base of the ejecta at and runs outwards through it, raising the entropy of the shells it crosses by 10–24 percent. The simulated part ends when the shell reaches 50 km, before it approaches the outer boundary, or its temperature drops to 0.15 MeV, above the floor of the EOS table. There every shell is still at least 35 times denser than the density floor (§ 2.2). Beyond this point, reached at radius –50 km, time , temperature –0.51 MeV, density – and velocity , the shell expands freely, , and we continue its radius in two ways. In the first the shell coasts at , . In the second it keeps the Bernoulli constant it has at (§ 3.4), with
and of the exterior Schwarzschild metric. The second relation follows the thermal energy per baryon of a radiation-dominated gas in free expansion, which falls as . The velocity then changes smoothly from to the asymptotic velocity given by , as the remaining heat turns into motion and the shell climbs out of the potential. A shell speeds up if and slows down otherwise. A shell with is bound and is left out of the yields. These are the deepest shells of B15.5, B16.0 and B16.5, with 5, 9 and 7 percent of the ejected mass, part of the gas that passes the Bernoulli criterion at but fails it further out (§ 4.2). Slower expansion keeps the density, and hence the rate of seed formation and neutron captures, higher. We show the yields of the second continuation and give the difference to the first in § 4.5. Collisions between shells after the end of their simulated part are neglected. In both continuations at most two shells per model move faster than the shell outside them, and they hold at most 3 percent of the ejected mass.
Along each trajectory SkyNet evolves the composition from NSE in two phases. During the simulated part, both the temperature and the density follow the simulation, so that heating by later shocks, which the network cannot compute, is included. After it, the density follows the continuation and the temperature follows from the expansion and the nuclear energy release (self-heating), starting from the composition and temperature reached at the end of the simulated part. We use SkyNet with the Helmholtz EOS ([87]), strong and weak reaction rates from REACLIB ([16]), neutron-induced fission with symmetric fragments ([67]), spontaneous fission from the approximation of Frankel & Metropolis [24] with the barriers of Mamdouh et al. [55], the nuclear masses distributed with REACLIB, measured where available and from FRDM otherwise ([63]), partition functions from [78], and the screening distributed with SkyNet ([53]). We evolve each trajectory to s. The yields of a model are the mass-weighted sums over its shells.
Results
Dynamics of a fiducial flare
All models follow the same sequence. The flare layer drives a shock into the crust, the shock stops, the shocked crust decompresses outwards, and its outermost layers are ejected. We describe this sequence for B15.5 and give the main numbers of every model in Table 2.
| Model | ||||||
| [MeV] | [m] | [s] | [m] | [g cm] | ||
| B15.0 | 4.0 | 266 | 11.4 | 0.70 | 23 | |
| B15.25 | 5.3 | 339 | 12.3 | 0.65 | 34 | |
| B15.5 | 7.0 | 434 | 13.8 | 0.65 | 49 | |
| B15.75 | 9.2 | 546 | 15.3 | 0.65 | 63 | |
| B16.0 | 12.1 | 645 | 16.3 | 0.91 | 86 | |
| B16.25 | 15.8 | 718 | 15.8 | 0.94 | 106 | |
| B16.5 | 20.2 | 801 | 15.8 | 0.89 | 109 |
Table 2. Dynamics of the shock and origin of the ejecta. : peak temperature of the shocked crust. , : depth below the initial surface and time of the deepest reach of the shock. : pressure of the initial crust there. , : depth and initial density of the base of the ejecta, where the rest mass outside, in the initial crust, equals .
Figure 1 shows the first 40 of model B15.5. At the flare layer sits on the cold crust, at a peak pressure and temperature 7.5 MeV. Its pressure drives a shock into the crust, while the layer itself falls onto the star at up to 0.8 . The shock heats the outer crust to MeV and raises its entropy from to per baryon at the base of the ejecta.
It slows down as it enters denser layers and reaches its deepest point after 13.8 , at 12.80 km, 430 m below the surface, where the pressure of the unperturbed crust is comparable to .
As the flare layer expands, its pressure falls by an order of magnitude within , a rarefaction enters the shocked crust and the crust decompresses outwards. By the edge of the crust gas has passed 13.5 km, and the outer crust moves at , with the velocity increasing outwards. The gas that is eventually ejected, comes from the outermost m of the crust (dots in Figure 1). It starts with the electron fraction of the outer crust, –, and ends with (§ 4.2), while the deeper, bound layers keep their lower . At the end of the run the shocked crust is at
– MeV. The ejecta cross between and 400 s, the fastest first.
Figure 5 shows the same sequence for B16.5 as a spacetime diagram of the crust gas, with lines of constant rest mass outside them that follow the gas. The flare layer pushes the crust down, and the shock heats it until it stops, 800 m below the surface, after 15.8 s (Table 2). The crust then decompresses outwards and its outer layers are ejected, the outermost first, while the bound gas below them falls back and oscillates.
Figure 5. Space-time diagram of B16.5. Entropy per baryon (left) and electron fraction (right) of the crust gas against time and radius. The white lines are lines of constant rest mass outside them, and in the ejecta and and in the bound crust, and the thick line is the base of the ejecta, . The dashed line is the contact between the flare layer and the crust, and the dotted line the initial surface of the star. The flare layer and the atmosphere are shown in grey. The thin dark band at the front of the ejecta in the right panel is a numerical effect. It holds less than of and makes no nuclei with .
below them falls back and oscillates. Each time it falls onto the denser layers below, a shock runs outwards through the bound crust, seen as the faint stripes in and that leave the kinks of the lines in the bound crust. The entropy of the ejecta increases outwards, and their electron fraction decreases with depth to – near the base (§ 4.2). In both models the flare thus ejects only the outermost 50–110 m of the crust, heated by a shock that lasts s, while the deeper crust it compresses stays bound.
Properties of the ejecta
Mass.—Table 3 summarizes the ejecta, and the upper left panel of Figure 3 shows their mass against . The flare unbinds between (B15.0) and (B16.5) of crust. Between B15.0 and B16.0, the mass grows as , and it flattens to between B16.0 and B16.5, because neutrinos remove 46 percent of the mass of B16.5. Without neutrinos B16.5 ejects and the slope is 0.7, and the masses of the other models change by less than 5 percent. The ejection is over by 500 s. With and without neutrinos no unbound gas crosses after that.
Figure 3. Ejecta of this work (filled circles: with neutrinos; open squares: without) against those of Cehula et al. [12] (C24; stars, their Table 1, 1 km layer), as a function of . In the upper left panel we show the ejecta mass, and the gray band is the fit of C24, –. Other panels: mass-weighted electron fraction, asymptotic velocity and entropy per baryon of the ejecta, with the mass-weighted median entropy (crosses), which is less sensitive to the fast, hot outermost layers (§ 4.2). For C24, the mass-weighted means at the end of their runs. Our values are listed in Table 3.
Table 3. Ejecta and neutrino emission. : unbound mass (Equation (4)) through , with neutrinos and, , without neutrinos, at 1 ms. , , the median entropy and the kinetic energy at infinity , for all the gas and, , for the gas with . Averages and the median are mass-weighted. : energy radiated in neutrinos of all species.
| Model | ||||||||
| [ ] | [ ] | [ ] | [ ] | [ ] | [ ] | [erg] | [erg] | [erg] |
| B15.0 | 0.464 | 0.52 | ||||||
| B15.25 | 0.465 | 0.48 | ||||||
| B15.5 | 0.466 | 0.47 | ||||||
| B15.75 | 0.464 | 0.44 | ||||||
| B16.0 | 0.452 | 0.44 | ||||||
| B16.25 | 0.443 | 0.46 | ||||||
| B16.5 | 0.454 | 0.52 |
Table 3.
The ejecta mass also tells how deep the ejection reaches. In a thin crust in hydrostatic equilibrium the rest mass above a layer is proportional to its pressure, , so fixes the pressure of the initial crust at the base of the ejecta (Table 2). In all models it is a few .
These masses are measured at a finite radius with the Bernoulli criterion, which assumes a steady flow and tends to overestimate the unbound mass ([23]), so part of the gas that passes at falls further out. Runs of B15.5, B16.0 and B16.5 without neutrinos with the outer boundary at 120 km instead of 60 km give the same mass at to within 0.5 percent, so the outer boundary does not affect it. In these runs the mass that passes the criterion still falls with radius, by about 10 percent from 30 to 55 km, but only by a further 3–6 percent out to 110 km. Our ejecta masses are therefore slight overestimates. Extrapolating the masses at 30 and 55 km as gives asymptotic masses 6–34 percent lower, an upper bound on the decrease, since at 110 km the runs with the larger domain lie above this law. The other properties of the ejecta hardly depend on the radius. Between 30 and 55 km the mean asymptotic velocity changes by less than 5 percent, the median entropy by 9–11 percent for G, and the electron fraction not at all.
Distributions.—Figure 2 shows the distributions of the ejecta. The gas keeps accelerating as its remaining enthalpy is converted into kinetic energy, and its mass-weighted asymptotic velocities are – (Table 3). The entropy spans several orders of magnitude. Most of the mass sits at the low end, and the high-entropy tail comes from the outermost, fastest layers. Its leading edge is the outermost skin of the crust, which has expanded below when it crosses . It holds less than a few of the ejecta for all models, with and entropies of – per baryon. Its density joins smoothly that of the denser crust behind it, and the atmosphere swept up by the forward shock lies in a thin shell ahead of it. In every model 90 percent of the ejected mass has – and – per baryon, and its lies within 0.463–0.466 up to B15.75, 0.448–0.455 in B16.0, 0.433–0.453 in B16.25 and 0.446–0.460 in B16.5. The mass-weighted mean entropy, – per baryon, is dominated by this tail and is 5–7 times the mass-weighted median (Table 3). Most of the ejecta cross in a single pulse (Figure 4), with 10 and 90 percent of the mass through the sphere between 220 and 460 in every run. From B15.75 to B16.25 the pulse has two maxima, 60–80 apart. After the ejection the lifted crust keeps rising and falling back with a period of (§ 4.3), but this gas stays bound (Figure 5). In B15.5 and B16.0 the deepest ejecta are almost at rest () 150–200 after the flare, when the lifted crust below them falls back onto the denser layers. The collision drives a second shock outwards through the base of the ejecta, which accelerates it to and raises its entropy by up to 24 percent. In B16.5 the deepest ejecta still move out at at that time, and no such shock crosses them. The distributions have similar shapes for all .
Figure 2. Mass distribution of the ejecta, integrated over the run, in electron fraction, asymptotic velocity and entropy per baryon at , for all models, as the ejected mass in each bin. The mass-weighted averages and the median entropy are listed in Table 3.
Figure 4. Unbound mass that has crossed by time , with neutrinos (solid) and without (dashed), up to the common end time of each pair of runs.
Energy.—Figure 6 shows where the energy of the flare layer goes. Only a small and nearly constant fraction ends up in the ejecta, – from B15.0 to B16.0 and in B16.25 and in B16.5 (Table 3).
Figure 6. Energy of the flare layer (Equation (3)), kinetic energy at infinity of the ejecta with and without neutrino transport, and energy radiated in neutrinos as a function of the magnetic field .
The energy per unit mass, , grows without limit as , so most of the energy is carried by a small fraction of the mass. The 88–95 percent of the mass with () carries 14–24 percent of . The fastest tail is crust with the same as the rest of the ejecta. It comes from the outermost, least dense layers, which receive the highest energy per baryon, , expand as a baryon-loaded fireball and are the first to cross .
The share of carried by neutrinos rises steeply with , from in B15.0 to 0.12 in B16.5 (Table 3 and Figure 6), so that from B15.75 on they carry more energy than the ejecta. This steep rise follows from the temperature dependence of neutrino cooling. The thermal neutrino emission of a hot plasma rises steeply with temperature, as for pair annihilation, while its thermal energy rises as , so the cooling time falls roughly as and becomes comparable to the expansion time of the layer only in the strongest flares, whose layers reach 13–24 MeV (Table 1). The neutrinos leave the layer at once because it is transparent to them. The photons and pairs are trapped in the optically thick gas and move with it, and their energy can escape only later, as the observed -rays, once the fireball becomes transparent. Up to B16.0 the neutrinos change the mass and the kinetic energy of the ejecta by less than 5 percent, and in B16.5 they halve it. In B15.5 and B16.0 the flare layer and the crust lose comparable amounts of energy to neutrinos. In B16.5 the net loss comes entirely from the layer, which radiates , most of it within the first 10 , while it still drives the shock into the crust. The layer therefore pushes the crust with less energy and unbinds less of it.
Most of leaves with the flare-layer gas itself, for which the crust acts almost as a wall. In the runs without neutrinos 90–95 percent of the energy of the layer, measured as energy at infinity, streams outwards in every model, and the crust keeps the rest as heat and as the energy of the lifted, bound crust. With neutrinos the share is the same up to B16.0 and falls to 86 and 78 percent in B16.25 and B16.5, and the neutrinos carry most of the difference. This energy would leave as the fireball, ahead of the crust ejecta, and we did not measure its effect on them.
Electron fraction. —The ejected layers start with – (Figure 1). Without neutrinos the ejecta keep about this value, – up to B16.0, slightly raised by numerical mixing at the shock, and 0.452 and 0.435 for B16.25 and B16.5, whose ejecta come from deeper layers. Electron and positron captures change on a time scale (C24), which falls from milliseconds at 4 MeV to microseconds at 20 MeV. The shocked layers cool within , so the captures matter only in the strongest flares, whose shocked crust reaches 12–20 MeV. Up to B15.75 neutrinos change by at most 0.002, and in B16.0 and B16.25 they lower it to 0.452 and 0.443.
In B16.5 the evolution is not monotonic. The captures first lower , but near the temperature peak the shocked crust becomes so bright in neutrinos that the ejected layers reabsorb up to a third of the and they emit. The imbalance between emission and absorption is at most one percent of either rate, yet the rates are so high that it raises by a few hundredths within a few microseconds. As the crust expands and cools the absorption weakens and the captures lower again. The ejecta end with , above the value without neutrinos, 0.435.
Whether the captures raise or lower is decided by weak magnetism. Where the neutrinos escape, relaxes towards , with and the capture rates per proton and per neutron. In the shocked crust thermal pairs outnumber the net electrons by , so electrons and positrons have nearly equal spectra, and since the neutron is heavier than the proton, positron capture is faster. Alone, this would give – and proton-rich ejecta. Weak magnetism, the interference of the nucleon’s anomalous magnetic moment with the axial current, has opposite signs for neutrinos and antineutrinos. Together with nucleon recoil it lowers the rates of reactions that involve a by and raises those that involve a by , with the neutrino energy and the nucleon mass ([39, 38]). Positron capture emits a , and for thermal leptons at 20 MeV its rate is halved, while electron capture changes by only 2–3 percent. then drops to at 20 MeV and 0.42–0.43 at 10 MeV, below the of the crust, and the captures lower until they freeze out at – MeV. In supernova neutrino-driven winds the same correction raises ([39, 38]), because there is set by the absorption of neutrinos, and the reaction, , turns protons into neutrons, whereas in
the shocked crust it weakens , which turns neutrons into protons. Runs of B16.0 and B16.5 without weak magnetism and recoil end with and 0.507 instead of 0.452 and 0.454, with ejecta masses within 8 percent of those of the main runs. Without this correction the ejecta of the strongest flares would be proton-rich. With it, the ejecta keep an electron fraction close to that of the outer crust across the whole range of , since the neutrinos change by only 0.01–0.02 from B16.0 upwards and by less below. They reduce the ejecta mass only in B16.5.
Neutrino emission
The neutrino luminosity (Figure 7) peaks within the first , at in B15.0 and in B16.5, while the flare layer is still hot and dense enough to emit and the shock heats the outer crust. The early emission has two peaks. The first peak comes from the flare layer and the second from the shocked crust. Both radiate at about the same time, but the crust lies deeper in the potential of the star, where light climbs out more slowly, so its neutrinos arrive 8–16 later, the more so for larger , where the shock reaches deeper layers. By 20 30–40 percent of the total has escaped and by 30 60–80 percent, most of it emitted by the flare layer (§ 4.2). The luminosity then falls by factors of 500–6000 by the end of the runs, with peaks every 100–120 in every model, almost independent of . From B15.75 on the peaks are smaller and die out after two to four cycles, by . The peaks come from the outer crust that is lifted but stays bound (Figure 5). It falls back onto the denser layers below, which are already expanding again, and each collision drives a shock that heats the surface layers and gives a peak of . Galeazzi et al. [27] found the same behavior in an oscillating neutron star, where gas falling back onto re-expanding layers drives a shock at every oscillation and the luminosity of the outer layers follows the shock heating. The period is close to the dynamical time of the star, , and hardly depends on . The luminosity then settles to a slowly decaying plateau as the heated crust cools.
Figure 7. Total neutrino luminosity (all species) of all models.
At the end of the runs it is still , , and in B15.0, B15.5, B16.0 and B16.5. The crust thus keeps cooling by neutrinos after 1 ms, and every further millisecond at this luminosity adds 2 (B16.5) to 11 percent (B15.5) of the energy emitted during the run, so the values of in Table 3 are lower limits on the total neutrino emission. The neutrinos escape the flare layer directly, while the photons stay trapped in the fireball until it becomes transparent, so their detection would probe the hot layer itself. Water Cherenkov detectors are most sensitive to the electron antineutrinos, through inverse decay on free protons. B16.5 emits of them with a mean energy of , two thirds within the first , and from 10 kpc they would arrive with a fluence of . With the cross section of Strumia & Vissani [81] averaged over thermal spectra, , the expected number of events, , is about two in Super-Kamiokande and 15 in Hyper-Kamiokande, whose fiducial masses of 22.5 and 187 kt (Abe et al. [1]) hold and free protons. Full conversion of the into other flavors would halve these numbers. The -ray spike, which rises in less than a millisecond and lasts (Hurley et al. 2005), fixes the time of the flare. In the energy range of the positrons, 15.5–100 MeV, Super-Kamiokande expects background events in 1000 s (Hayato et al. [35]), and when the range is extended down to 7 MeV (Abe et al. 2021). Over the whole spike the background is thus at most events, and even one or two events would be a clear detection. The number of events falls steeply with , to in Super-Kamiokande for B16.0 ( in with a mean energy of ) and a few for B15.5. Only the most extreme of our flares, far more energetic than the 2004 event, would thus give a detectable signal, and from giant flares like those observed we expect no neutrino events
Dependence on the flare layer
The shape, position and width of the flare layer are not constrained by observations, so we varied them at fixed peak pressure and density, for B15.5 (shape) and for B15.5 and B16.0 (position and width). In all cases the ejecta mass changes much less than the energy of the layer. It is set mainly by the peak pressure, which fixes how deep in the crust the ejection reaches (§ 4.2).
A top-hat of the same peak pressure and width holds twice the energy of the raised cosine ( for B15.5) but ejects only 4 percent more mass. It pushes on the crust at the full pressure from , and the extra energy goes mostly into the motion of the ejecta, which receive 1.7 times the kinetic energy at infinity and are slightly faster and hotter, with against 0.47 c and a median entropy of 360 against 320 per baryon. Detaching the 1 km layer from the surface by 0.5–2 km of atmosphere raises its energy by up to 28 percent, as its volume grows, and the ejecta mass by at most 16 percent, while , the median entropy and the time of the ejection hardly change (by at most 3 percent, 6 percent and 13 ). Layers 0.5, 2 and 3 km wide, attached to the surface, hold about half, twice and three times the energy of the 1 km layer, but change the ejecta mass by less than a factor of two, with and without neutrinos, and without a monotonic trend. With neutrinos the 1 km layer ejects the most in both models, and the other widths eject 0.6–0.9 times its mass. Our results thus depend on the flare mainly through its peak pressure, and the unknown geometry of the flare layer changes the ejecta mass by less than a factor of two.
Nucleosynthesis
We show the nucleosynthesis of B15.0, B15.5, B16.0 and B16.5 (Figure 9 and Figure 8). Although the ejecta keep the moderately neutron-rich electron fraction of the crust, they make very few heavy nuclei. About 90 percent of the ejected mass ends as particles, and the neutron excess, a mass fraction –, is left almost entirely as free neutrons. Nuclei with make up from of the ejecta in B15.0 to in B16.5, at most . Their pattern extends to the third -process peak, but lanthanides and actinides stay below of the mass. These fractions refer to the shells that escape in the network calculation, which hold more than 90 percent of the ejected mass (§ 3.5).
Figure 8. Mass fractions of free neutrons at 1 s, particles, nuclei with , , , and lanthanides plus actinides in the ejecta of B15.0, B15.5, B16.0 and B16.5, s after the flare.
Figure 9. Mass-weighted abundances of the ejecta of B15.0, B15.5, B16.0 and B16.5, from SkyNet along the shell trajectories, after the flare, and, for comparison, the fiducial model of Patel et al. [71], their Figure 3, ; dashed black.
The heavy nuclei come from the deepest, densest shells. For , the shells that start the network above carry a fifth of the ejected mass and make 90 percent of the nuclei with . These shells are also the least certain. The deepest 10 percent of is barely unbound, and part of it fails the Bernoulli criterion beyond (§ 4.2). This slow, dense gas makes 20–50 percent of the nuclei with , and after the end of the simulated part the continuation expands it somewhat more slowly than the simulation, which also favors heavy nuclei. The two continuations differ by up to a factor of 1.4 for , and by more for the heaviest nuclei. Our yields of heavy nuclei are therefore probably upper limits, uncertain by up to a factor of two for and by more for lanthanides and actinides, while the bulk composition of particles and free neutrons is not affected.
The free neutrons survive because there are almost no nuclei to capture them. Seed nuclei are assembled from particles mainly through , whose first step is a three-body reaction, so that the seed production rate scales as while the gas cools from to (Hoffman et al. [37]). At fixed temperature the density falls as the entropy rises, and our high-entropy ejecta form particles at only and expand through this phase within . Very few seeds form, and the density falls before the neutrons can be captured on them. Our ejecta thus lie at the extreme of an -rich freeze-out, where the neutron excess stays in free neutrons because there are almost no nuclei to capture them. The crust ejected by these flares therefore makes very few heavy nuclei, and its main radioactive product is the free neutrons, 7–10 percent of its mass (§ 6).
Comparison with previous work
Setup and physics
Our calculations follow the flare model of C24, and our models bracket both the fiducial field of the nucleosynthesis models of Patel et al. [71] (B15.5 and B16.0) and that of their strongest flare (B16.0 and B16.5, their ).
To survey a wide range of flare energies and layer widths, C24 used special-relativistic hydrodynamics with a EOS, appropriate for the radiation-dominated shocked gas, on a crust in Newtonian hydrostatic equilibrium, and estimated neutrino cooling and weak interactions in post-processing. Our setup differs from theirs in the following points: 1) GR hydrodynamics on the fixed metric of the TOV star, where C24 used a Newtonian point-mass potential. 2) A tabulated nuclear EOS with -equilibrium composition, which also contains the dissociation of nuclei by the shock and their recombination. C24 used a polytropic fit with for the initial crust. 3) M1 neutrino transport coupled to the fluid, so that evolves. C24 estimated the weak interactions in post-processing and assigned the ejecta the of the crust at their mass coordinate. 4) A raised-cosine pressure profile for the flare layer, which at equal radius holds half the energy of the uniform layer of C24 at the same peak pressure and width. With our larger radius and the curved-space volume, our at compares with in C24. 5) A smaller domain and a shorter evolution, 12–60 km for 1 ms with the ejecta measured at , against for 67 ms in C24. 6) An atmosphere at (§ 2.2), where C24 attach a power law to the surface. 7) Cells of 1 m over the crust, against 2 m in C24.
Patel et al. [71] computed the nucleosynthesis with an analytic ejecta model motivated by the simulations of C24. In our calculations the ejected mass and the thermodynamic history and of each layer come from the simulations.
Ejecta
At our ejecta mass is close to that of C24 (B16.0 ejects 1.1 times their mass). At B16.5 it is 0.14 times theirs (0.26 without neutrinos), and at B15.5 and B15.0 it is 3.9 and 7.6 times theirs, so that it grows more slowly with than their (Figure 3).
In C24 the ejecta reach crust densities with at every . Our weak flares reach the same relative depth, and 0.27 at B15.0 and B15.5, but at a given density the DD2 outer crust, supported by relativistic degenerate electrons, has 3–4 times the pressure of their polytropic crust and as much more mass above it. This accounts for factors of 5.3 and 4.2, against the measured 7.6 and 3.9. In strong flares the base of our ejecta is shallower, (B16.0) and 0.03 (B16.5), so that grows nearly as . The nuclear energy in our EOS, from the dissociation of nuclei by the shock and their recombination during the expansion, changes the ejecta mass by at most a few percent, since only 4–6 percent of the ejected mass has below 7 MeV per nucleon.
The electron fraction agrees with that of C24. Both keep the value of the crust up to B15.5 and decrease by a few hundredths at higher , in C24 because deeper, more neutron-rich layers are ejected and in our B16.0 through the weak interactions (§ 4.2).
Our ejecta are faster, – against 0.25–0.34 . C24 showed that their velocities depend on the numerical scheme. For their B15.0, parabolic reconstruction gives 0.47 and 5–6 times the mass (their Table 2), close to our 0.52 and . Our mean entropies are 5 (B15.5) to 18 (B16.5) times theirs because the dilute outermost layers, at – per baryon, dominate the mean (§ 4.2). Our median entropies are within 20 percent of their means up to B15.5, and 210 and 230 per baryon at B16.0 and B16.5 against their 160 and 80.
Neutrino losses reduce the ejecta mass appreciably only in B16.5, for . C24 found times more ejecta when the layer is widened from 1 to 2 km, while between 0.5 and 3 km our ejecta change by less than a factor of two, without a monotonic trend (§ 4.4). From B15.0 to B16.0 our ejecta masses thus lie within a factor of eight of those of C24, mostly because our crust holds more mass at a given density, and they fall below theirs at B16.5, where the ejection reaches a shallower depth and the neutrinos halve the ejecta.
Nucleosynthesis
Our yields of heavy nuclei are three to four orders of magnitude below those of Patel et al. [71]. In their fiducial model () nuclei with make up of the ejected mass (their Figure 3), mostly just above the first peak. In our B16.0 and B15.5, which bracket this field, they make up and . The strongest flare of the same work () ejects of -process nuclei, light ones included, almost twenty thousand times the with of our B16.5.
The difference comes from the analytic ejecta profile that Patel et al. [71] adopt. At it unbinds , 15–30 times the mass C24 obtained in their simulations (their fit in Figure 3) and 6–60 times that of our B16.0 and B15.5, so that their ejecta reach a mass depth ( in Equation (5)) of , against (B16.0) and (B15.5) in our models. Their escape criterion compares the enthalpy of each layer just behind the shock with its binding energy, with the full flare pressure at every depth and each layer evolving on its own, and it reaches crust with . In the simulations the pressure of the flare layer drops within , the shock weakens as it moves into denser crust, and the deeper layers give much of their energy to the gas above them, which is why the fastest tenth of our ejecta carries most of the kinetic energy. In our runs the crust that passes the Bernoulli test after the flare is three to twelve times the final ejecta mass, and its deeper part becomes bound again within 10–150 . The ejecta finally come from crust with in our models and in those of C24. In their profile the post-shock entropy falls with depth, down to per baryon, and 82–98 percent of their ejected mass comes from this deeper, denser and colder crust, which makes most of their heavy nuclei (their Figure 2). In our simulations the flare does not unbind these layers. The gas it ejects has per baryon down to the base of the ejecta, expands fast and freezes out rich in particles with few seed nuclei (§ 4.5). The lower electron fraction of their ejecta, against – in ours, also favors heavier nuclei but plays a minor role. The large -process yields of the analytic model therefore rest on the ejection of deep crust, which the flares in our simulations do not unbind.
Discussion and conclusions
We have followed the crust ejection of magnetar giant flares with general-relativistic hydrodynamics, a nuclear EOS, M1 neutrino transport and a nuclear reaction network. Flares with – G unbind – of the outermost crust, and the ejected mass grows roughly in proportion to the flare pressure, with about of the flare energy ending up as kinetic energy of the ejecta. Neutrinos matter only in the strongest flares. At G the flare layer radiates about a tenth of its energy in neutrinos while it still drives the shock, and the ejecta mass is halved. The ejecta keep the electron fraction of the crust, –, because the weak interactions are fast enough to change it only above G, and even there they change it by only about .
The ejecta leave at about half the speed of light with entropies of a few hundred per baryon. They expand too fast to build seed nuclei and freeze out as particles and free neutrons, and nuclei with make up a mass of at most , even in the strongest flare. This is three to four orders of magnitude below the analytic model of Patel et al. [71], whose ejecta reach deeper, colder crust that our flares do not unbind. How far these numbers apply to real flares depends on our assumptions, and what they imply can be tested against the 2004 flare.
Upper limits for realistic flares. Our models share with earlier work the assumptions of spherical symmetry, a flare layer that covers the whole star and releases its energy at once, and no magnetic field in the crust. We expect most of these to overestimate the ejection. A real flare releases its energy over part of the surface, where the layer can also expand sideways and press on the crust for a shorter time, and where the bound crust falls back less coherently than in one dimension, so the later shocks it drives are likely weaker. The 2004 outflow was likely one-sided ([83]). If the crust carries a field comparable to the one that powers the flare, the gas we eject has a magnetization –. Matter can then leave freely only along open field lines, which our models represent, while a tangential field holds the crust down and a strongly magnetized shock converts little of its energy into heat ([46]). The field also changes the composition of the outer crust ([79]). If the flare layer itself is magnetically dominated, as the trapped fireball of Chatterjee et al. [13], its plasma pressure is well below the we assume. Only a slower release of the energy has an effect we cannot predict. Wider layers change our ejecta mass by less than a factor of two, but a release over times longer than the expansion of the shocked crust is outside our models. Since the heavy-element fraction falls by two to three orders of magnitude per half decade in , any of these effects would reduce the -process yield even more than the mass. We therefore regard our results as upper limits. Testing them requires multidimensional general-relativistic magnetohydrodynamics with a localized energy release, open and closed field lines and a crust resolved to about a meter, which local simulations of a patch of the surface could provide.
Radio afterglow. For – G our ejecta have – at , enough for the radio afterglow of the 2004 flare, which requires , and at the low end of the masses favored by Gelfand et al. [28] and Granot et al. [30]. These flares, however, release – erg if the flare layer covers the whole star, – times the erg radiated in the prompt -ray spike, which measures the energy released by the flare. A flare that covers only part of the surface releases less energy, but it also ejects less mass, because in our models the ejecta mass is a nearly fixed fraction of the flare energy, –. A flare with the energy of the spike therefore ejects only –, – times less than the afterglow requires, however large the area it covers. In the picture of Patel et al. [70], the that produce both the afterglow and the delayed MeV emission carry a kinetic energy comparable to that of the spike, so the flare would have to give most of its energy to the crust, while our flares give it about of theirs. Unless the flare released much more energy than its -rays show, or a real geometry ejects the crust far more efficiently than our one-dimensional models, the crust shock alone cannot supply the baryons of the 2004 afterglow.
-process and the MeV emission of the 2004 flare. If giant flares eject crust as in our models, they are not a significant source of -process elements. The Galactic production rate of that estimated by assuming that all the ejecta become -process material drops by three orders of magnitude or more. The same applies to predictions that rest on a large heavy-element fraction in the ejecta, such as MeV -ray lines [76], ultraheavy cosmic rays [69] and the kilonovae of repeated flares in neutron-star–white-dwarf mergers [98]. The delayed MeV emission of the 2004 flare was interpreted by Patel et al. [70] as the decay of of freshly made -process nuclei. Our largest yield of nuclei heavier than particles is (B16.5), four orders of magnitude less.
A neutron-powered nova brevis. The ejecta can still power a short optical and ultraviolet transient through the -decay of their free neutrons, which make up 7–10 percent of their mass against at most in heavy nuclei. With a mean life of s the neutrons heat the ejecta at [48, 58], assuming that the decay electron thermalizes. For B16.0 this gives , comparable to the -process-powered transient that C24 estimated. The ejecta are mostly helium and hydrogen, with an opacity close to that of electron scattering, so the transient peaks after only –55 s and is hotter than an -process-powered one. This means that for giant flares considered in this work, neutron decay would be the main power source of an optical transient.
TP acknowledges support from NSF Grant PHY2020275 (Network for Neutrinos, Nuclear Astrophysics, and Symmetries (N3AS)) and DOE award DE-SC0004658. DR acknowledges support from NASA through Grant No. 80NSSC25K7213, from the Department of Energy, Office of Science, under Awards Numbers DE-SC0024388 and DE-SC0026818, and from the National Science Foundation under Grants No. PHY-2407681, PHY-2512802, PHY-2608045, and PHY-2621752. JF acknowledges support from the National Aeronautics and Space Administration under Grant No. 80NSSC25K213. YQ acknowledges support from the Department of Energy, Office of Science, Division of Nuclear Physics, under Award Numbers DE-SC0024388 and DE-SC0026818.
Software: AthenaK [80, 99, 20], Kokkos [90], PrimitiveSolver [15], bns_nurates [14], SkyNet [53], NumPy [33], SciPy [95], Matplotlib [40], h5py.
Low-density extension of the EOS table
The HS(DD2) table ends at (). Below it we add 150 rows with the spacing of the table, , down to (), and keep its and axes. At these densities matter is an ideal gas of nuclei, nucleons and electrons, together with photons and thermal pairs. The pressure of the gas is proportional to , while that of the photons and pairs depends only on and is already 30 times larger at and , and more at higher . In every column of fixed and we therefore split each quantity at into a gas part and a part that does not depend on density, which we call radiation, and continue each part to lower density with the dependence it has for an ideal gas or for radiation. All constants are read off the table at its edge, so that the extension joins the table in every column without a step. The pressure is
where follows from the pressures at the two lowest densities of the table and is the pressure at minus the gas term. The entropy of the radiation is obtained in the same way, as the tabulated entropy at minus that of the gas (Sackur–Tetrode, for particles per baryon), and its energy density is . Below the pressure thus becomes independent of density, and the entropy and energy per baryon grow as . The sound speed is recomputed from , and and changes smoothly across . The particle fractions are kept at their values at . The further dissociation of nuclei that NSE would give at lower density involves at most per nucleon, small against the radiation energy of more than 300 MeV per baryon where it occurs. The chemical potentials, which enter the neutrino rates, are continued from with the density dependence of a dilute gas, that of the electrons from a nondegenerate gas in pair equilibrium, , with the density scale of the thermal pairs.
Numerical details
First-order flux correction.—Our first-order flux correction differs from that of Fields et al. [20] in two points. The bounds of the discrete maximum principle are for positive and for negative neighbor values, with , because the conserved energy is negative in the outer crust, where the nuclei are bound. The test for is applied to itself, with an absolute tolerance of and the range of the EOS table, instead of to the conserved , and flagged cells receive first-order fluxes of as well. With the HLLD solver the first-order fluxes are computed with HLLE.
Well-balanced reconstruction.—The well-balanced scheme is a relativistic extension of the method of Käppeli & Mishra [43], which is described in more detail in Fields & Dittmann (in preparation). Briefly, the method integrates the local state assuming hydrostatic equilibrium to compute an equilibrium pressure, then uses piecewise-equilibrium reconstruction on the deviation from equilibrium to compute the pressure at the left and right interfaces needed for the Riemann solver. The scheme employed here is an earlier version of this method and therefore differs slightly from the algorithm described there in that the perturbation is reconstructed only using piecewise-linear reconstruction with a van Leer slope limiter (van Leer [94]). Where the equilibrium integration would produce a negative pressure, the well-balanced scheme is disabled and the pressure uses the standard WENO-Z reconstruction scheme of the other primitive variables. This scheme can only accurately preserve equilibria if the Riemann solver preserves contact discontinuities; this motivates our decision to employ an HLLD Riemann solver despite the system being unmagnetized.
References
- [1]Abe, K., et al. 2018. https://arxiv.org/abs/1805.04163 — 2021, Astrophys. J., 918, 78, doi: 10.3847/1538-4357/ac0d5a
- [2]Anton, L., Zanotti, O., Miralles, J. A., et al. 2006, Astrophys. J., 637, 296, doi: 10.1086/498238DOI
- [3]Audi, G., Wapstra, A. H., & Thibault, C. 2002, Nucl. Phys. A, 729, 337, doi: 10.1016/j.nuclphysa.2003.11.003DOI
- [4]Banyuls, F., Font, J. A., Ibanez, J. M. A., Marti, J. M. A., & Miralles, J. A. 1997, Astrophys. J., 476, 221
- [5]Beniamini, P., Wadiasingh, Z., Trigg, A., et al. 2025, Astrophys. J., 980, 211, doi: 10.3847/1538-4357/ada947DOI
- [6]Boggs, S. E., Zoglauer, A., Bellm, E., et al. 2007, Astrophys. J., 661, 458, doi: 10.1086/516732DOI
- [7]Borges, R., Carmona, M., Costa, B., & Don, W. S. 2008, Journal of Computational Physics, 227, 3191, doi: 10.1016/j.jcp.2007.11.038
- [8]Bransgrove, A., Beloborodov, A. M., & Levin, Y. 2026, Astrophys. J. Lett., 1001, L13, doi: 10.3847/2041-8213/ae50f2DOI
- [9]Bruenn, S. W. 1985, Astrophys. J. Suppl., 58, 771, doi: 10.1086/191056DOI
- [10]Burns, E., et al. 2021, Astrophys. J. Lett., 907, L28, doi: 10.3847/2041-8213/abd8c8DOI
- [11]Cameron, P. B., et al. 2005, Nature, 434, 1112, doi: 10.1038/nature03605DOI
- [12]Cehula, J., Thompson, T. A., & Metzger, B. D. 2024, Mon. Not. Roy. Astron. Soc., 528, 5323, doi: 10.1093/mnras/stae358DOI
- [13]Chatterjee, K., Philippov, A., Beloborodov, A. M., et al. 2026, Astrophys. J. Lett., 1006, L45, doi: 10.3847/2041-8213/ae8997DOI
- [14]Chiesa, L., Bhattacharyya, M., Mazzini, F., et al. 2025, Phys. Rev. D, 111, 063053, doi: 10.1103/PhysRevD.111.063053DOI
- [15]Cook, W., Daszuta, B., Fields, J., et al. 2025, Astrophys. J. Suppl., 277, 3, doi: 10.3847/1538-4365/ad87d4
- [16]Cyburt, R. H., Amthor, A. M., Ferguson, R., et al. 2010, ApJS, 189, 240, doi: 10.1088/0067-0049/189/1/240DOI
- [17]Demidov, I., & Lyubarsky, Y. 2022, Mon. Not. Roy. Astron. Soc., 518, 810, doi: 10.1093/mnras/stac3120DOI
- [18]Duncan, R. C., & Thompson, C. 1992, Astrophys. J. Lett., 392, L9, doi: 10.1086/186413DOI
- [19]Fields, J., Wong, G. N., & Stone, J. M. 2026. https://arxiv.org/abs/2609.06150
- [20]Fields, J., Zhu, H., Radice, D., et al. 2025, Astrophys. J. Suppl., 276, 35, doi: 10.3847/1538-4365/ad9687DOI
- [21]Fischer, T. 2016, Astron. Astrophys., 593, A103, doi: 10.1051/0004-6361/201628991DOI
- [22]Foucart, F. 2023, Liv. Rev. Comput. Astrophys., 9, 1, doi: 10.1007/s41115-023-00016-yDOI
- [23]Foucart, F., Moesta, P., Ramirez, T., et al. 2021, Phys. Rev. D, 104, 123010, doi: 10.1103/PhysRevD.104.123010DOI
- [24]Frankel, S., & Metropolis, N. 1947, Physical Review, 72, 914, doi: 10.1103/PhysRev.72.914
- [25]Frederiks, D. D., Golenetskii, S. V., Palshin, V. D., et al. 2007, Astron. Lett., 33, 1, doi: 10.1134/S106377370701001XDOI
- [26]Gaensler, B. M., et al. 2005, Nature, 434, 1104, doi: 10.1038/nature03498DOI
- [27]Galeazzi, F., Kastaun, W., Rezzolla, L., & Font, J. A. 2013, Phys. Rev. D, 88, 064009, doi: 10.1103/PhysRevD.88.064009DOI
- [28]Gelfand, J. D., Lyubarsky, Y. E., Eichler, D., et al. 2005, Astrophys. J. Lett., 634, L89, doi: 10.1086/498643DOI
- [29]Gottlieb, S., Shu, C.-W., & Tadmor, E. 2001, SIAM Review, 43, 89, doi: 10.1137/S003614450036757XDOI
- [30]Granot, J., et al. 2006, Astrophys. J., 638, 391, doi: 10.1086/497680DOI
- [31]Grehan, M. P., Ripperda, B., Beloborodov, A. M., Thompson, C., & Most, E. R. 2026, Astrophys. J., 1005, 158, doi: 10.3847/1538-4357/ae633aDOI
- [32]Hannestad, S., & Raffelt, G. 1998, Astrophys. J., 507, 339, doi: 10.1086/306303DOI
- [33]Harris, C. R., et al. 2020, Nature, 585, 357, doi: 10.1038/s41586-020-2649-2DOI
- [34]Harris, J. A., Hix, W. R., Chertkow, M. A., et al. 2017, Astrophys. J., 843, 2, doi: 10.3847/1538-4357/aa76deDOI
- [35]Hayato, Y., et al. 2018, Astrophys. J. Lett., 857, L4, doi: 10.3847/2041-8213/aabacaDOI
- [36]Hempel, M., & Schaffner-Bielich, J. 2010, Nucl. Phys. A, 837, 210, doi: 10.1016/j.nuclphysa.2010.02.010DOI
- [37]Hoffman, R. D., Woosley, S. E., & Qian, Y. Z. 1997, Astrophys. J., 482, 951, doi: 10.1086/304181DOI
- [38]Horowitz, C. J. 2002, Phys. Rev. D, 65, 043001, doi: 10.1103/PhysRevD.65.043001DOI
- [39]Horowitz, C. J., & Li, G. 1999, Phys. Rev. Lett., 82, 5198, doi: 10.1103/PhysRevLett.82.5198DOI
- [40]Hunter, J. D. 2007, Computing in Science & Engineering, 9, 90, doi: 10.1109/MCSE.2007.55DOI
- [41]Hurley, K., et al. 1999, Nature, 397, 41, doi: 10.1038/16199DOI
- [43]Käppeli, R., & Mishra, S. 2016, Astron. Astrophys., 587, A94, doi: 10.1051/0004-6361/201527815DOI
- [44]Kaspi, V. M., & Beloborodov, A. 2017, Ann. Rev. Astron. Astrophys., 55, 261, doi: 10.1146/annurev-astro-081915-023329DOI
- [45]Kastaun, W., Kalinani, J. V., & Ciolfi, R. 2021, Phys. Rev. D, 103, 023018, doi: 10.1103/PhysRevD.103.023018DOI
- [46]Kenne, C. F., & Coroniti, F. V. 1984, ApJ, 283, 694, doi: 10.1086/162356
- [47]Kouveliotou, C., et al. 1998, Nature, 393, 235, doi: 10.1038/30410DOI
- [48]Kulkarni, S. R. 2005, arXiv e-prints, astro, doi: 10.48550/arXiv.astro-ph/0510256DOI
- [49]Lander, S. K., Andersson, N., Antonopoulou, D., & Watts, A. L. 2015, Mon. Not. Roy. Astron. Soc., 449, 2047, doi: 10.1093/mnras/stv432DOI
- [50]Lattimer, J. M., Mackie, F., Ravenhall, D. G., & Schramm, D. N. 1977, Astrophys. J., 213, 225, doi: 10.1086/155148DOI
- [51]Lattimer, J. M., & Schramm, D. N. 1974, Astrophys. J. Lett., 192, L145, doi: 10.1086/181612DOI
- [52]Lemaster, M. N., & Stone, J. M. 2009, Astrophys. J., 691, 1092, doi: 10.1088/0004-637X/691/2/1092DOI
- [53]Lippuner, J., & Roberts, L. F. 2017, Astrophys. J. Suppl., 233, 18, doi: 10.3847/1538-4365/aa94cbDOI
- [54]Lyutikov, M. 2006, Mon. Not. Roy. Astron. Soc., 367, 1594, doi: 10.1111/j.1365-2966.2006.10069.xDOI
- [55]Mamdouh, A., Pearson, J. M., Rayet, M., & Tondeur, F. 2001, Nucl. Phys. A, 679, 337, doi: 10.1016/S0375-9474(00)00358-4DOI
- [56]Mazets, E. P., Golenetskii, S. V., Ilinskii, V. N., Aptekar, R. L., & Guryan, Y. A. 1979, Nature, 282, 587, doi: 10.1038/282587a0DOI
- [57]Mereghetti, S., Gotz, D., von Kienlin, A., et al. 2005, Astrophys. J. Lett., 624, L105, doi: 10.1086/430669DOI
- [58]Metzger, B. D., Bauswein, A., Goriely, S., & Kasen, D. 2015, Mon. Not. Roy. Astron. Soc., 446, 1115, doi: 10.1093/mnras/stu2225DOI
- [59]Mezzacappa, A., & Bruenn, S. W. 1993, ApJ, 410, 740, doi: 10.1086/172791DOI
- [60]Mignone, A., Ugliano, M., & Bodo, G. 2009, Mon. Not. Roy. Astron. Soc., 393, 1141, doi: 10.1111/j.1365-2966.2008.14221.xDOI
- [61]Minerbo, G. N. 1978, JQSRT, 20, 541, doi: 10.1016/0022-4073(78)90024-9DOI
- [62]Moller, P., Nix, J. R., & Kratz, K. L. 1997, Atom. Data Nucl. Data Tabl., 66, 131, doi: 10.1006/adnd.1997.0746DOI
- [63]Möller, P., Sierk, A. J., Ichikawa, T., & Sagawa, H. 2016, Atom. Data Nucl. Data Tabl., 109-110, 1, doi: 10.1016/j.adt.2015.10.002DOI
- [64]Oertel, M., Pascal, A., Mancini, M., & Novak, J. 2020, Phys. Rev. C, 102, 035802, doi: 10.1103/PhysRevC.102.035802
- [65]Oppenheimer, J. R., & Volkoff, G. M. 1939, Phys. Rev., 55, 374, doi: 10.1103/PhysRev.55.374DOI
- [66]Palmer, D. M., et al. 2005, Nature, 434, 1107, doi: 10.1038/nature03525DOI
- [67]Panov, I. V., Korneev, I. Y., Rauscher, T., et al. 2010, Astron. Astrophys., 513, A61, doi: 10.1051/0004-6361/200911967DOI
- [68]Parfrey, K., Beloborodov, A. M., & Hui, L. 2013, Astrophys. J., 774, 92, doi: 10.1088/0004-637X/774/2/92DOI
- [69]Patel, A., Diesing, R., & Metzger, B. D. 2026, Astrophys. J., 1010, 26, doi: 10.3847/1538-4357/ae9c27DOI
- [70]Patel, A., Metzger, B. D., Cehula, J., et al. 2025a, Astrophys. J. Lett., 984, L29, doi: 10.3847/2041-8213/adc9b0DOI
- [71]Patel, A., Metzger, B. D., Goldberg, J. A., et al. 2025b, Astrophys. J., 985, 234, doi: 10.3847/1538-4357/adceb7DOI
- [72]Perna, R., & Pons, J. A. 2011, Astrophys. J. Lett., 727, L51, doi: 10.1088/2041-8205/727/2/L51DOI
- [73]Pons, J. A., Miralles, J. A., & Ibanez, J. M. 1998, Astron. Astrophys. Suppl. Ser., 129, 343, doi: 10.1051/aas:1998189DOI
- [74]Qian, Y. Z., & Woosley, S. E. 1996, Astrophys. J., 471, 331, doi: 10.1086/177973DOI
- [75]Qiu, Y., Radice, D., Ferrari, R., & Perego, A. 2026. https://arxiv.org/abs/2610.28740
- [76]Qiumu, W.-Z., Chen, M.-H., Chen, Q.-H., et al. 2026, Sci. China Phys. Mech. Astron., 69, 109513, doi: 10.1007/s11433-026-3045-7DOI
- [77]Radice, D., Bernuzzi, S., Perego, A., & Haas, R. 2022, Mon. Not. Roy. Astron. Soc., 512, 1499, doi: 10.1093/mnras/stac589DOI
- [78]Rauscher, T., & Thielemann, F.-K. 2000, Atom. Data Nucl. Data Tabl., 75, 1, doi: 10.1006/adnd.2000.0834DOI
- [79]Servais, J., & Chamel, N. 2026, Astron. Astrophys., 710, A322, doi: 10.1051/0004-6361/202660688DOI
- [80]Stone, J. M., Mullen, P. D., Fielding, D., et al. 2026, Astrophys. J. Suppl., 283, 27, doi: 10.3847/1538-4365/ae3717DOI
- [81]Strumia, A., & Vissani, F. 2003, Phys. Lett. B, 564, 42, doi: 10.1016/S0370-2693(03)00616-6DOI
- [82]Svinkin, D., et al. 2021, Nature, 589, 211, doi: 10.1038/s41586-020-03076-9DOI
- [83]Taylor, G. B., et al. 2005, Astrophys. J. Lett., 634, L93, doi: 10.1086/491648DOI
- [84]Thompson, C., & Duncan, R. C. 1995, Mon. Not. Roy. Astron. Soc., 275, 255, doi: 10.1093/mnras/275.2.255DOI
- [86]Thorne, K. S. 1981, Mon. Not. Roy. Astron. Soc., 194, 439, doi: 10.1093/mnras/194.2.439DOI
- [87]Timmes, F. X., & Swesty, F. D. 2000, ApJS, 126, 501, doi: 10.1086/313304DOI
- [88]Tolman, R. C. 1939, Phys. Rev., 55, 364, doi: 10.1103/PhysRev.55.364DOI
- [89]Trigg, A. C., et al. 2026, Astron. Astrophys., 710, A139, doi: 10.1051/0004-6361/202552817
- [90]Trott, C. R., Lebrun-Grandié, D., Arndt, D., et al. 2022, IEEE Transactions on Parallel and Distributed Systems, 33, 805, doi: 10.1109/TPDS.2021.3097283DOI
- [91]Turolla, R., Zane, S., & Watts, A. 2015, Rept. Prog. Phys., 78, 116901, doi: 10.1088/0034-4885/78/11/116901DOI
- [92]Typel, S., Ropke, G., Klahn, T., Blaschke, D., & Wolter, H. H. 2010, Phys. Rev. C, 81, 015803, doi: 10.1103/PhysRevC.81.015803DOI
- [93]Typel, S., et al. 2022, Eur. Phys. J. A, 58, 221, doi: 10.1140/epja/s10050-022-00847-yDOI
- [94]van Leer, B. 1974, Journal of Computational Physics, 14, 361, doi: https://doi.org/10.1016/0021-9991(74)90019-9
- [95]Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020, Nature Methods, 17, 261, doi: 10.1038/s41592-019-0686-2DOI
- [96]Xie, S.-L., Yu, Y.-W., Xiong, S.-L., & Xue, W.-C. 2026, Astrophys. J., 1003, 136, doi: 10.3847/1538-4357/ae6665DOI
- [97]Zhong, J., Chen, Q.-H., Kang, Y., et al. 2026a, Astron. Astrophys., 709, A195, doi: 10.1051/0004-6361/202652903
- [98]Zhong, S.-Q., Li, L., Zou, L., et al. 2026b, Astron. Astrophys., 713, A307, doi: 10.1051/0004-6361/202660826DOI
- [99]Zhu, H., Fields, J., Zappa, F., et al. 2025, Astrophys. J. Suppl., 278, 50, doi: 10.3847/1538-4365/adcf96DOI








