Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2025 Dec 20;15:44226. doi: 10.1038/s41598-025-32830-0

Energetic spectra from semi-implicit particle-in-cell simulations of magnetic reconnection

K M Schoeffler 1,, F Bacchini 2,3, K Kormann 1, B Eichmann 1, M E Innocenti 1
PMCID: PMC12722706  PMID: 41420093

Abstract

Astrophysical observations suggest that magnetic reconnection in relativistic plasmas plays an important role in the acceleration of energetic particles. Modeling this accurately requires numerical schemes capable of addressing large scales and realistic magnetic field configurations without sacrificing the kinetic description needed to model particle acceleration self-consistently. We demonstrate the computational advantage of the relativistic semi-implicit method (RelSIM), which allows for reduced resolution while avoiding the numerical instabilities typically affecting standard explicit methods, helping to bridge the gap between macroscopic and kinetic scales. Two- and three-dimensional semi-implicit particle-in-cell simulations explore the linear tearing instability and the nonlinear development of reconnection and subsequent particle acceleration starting from a relativistic Harris equilibrium with no guide field. The simulations show that particle acceleration in the context of magnetic reconnection leads to energetic power-law spectra with cutoff energies, consistent with previous work done using explicit methods, but are obtained with a considerably reduced resolution.

Keywords: Plasma, Reconnection, Tearing, Particle-in-cell, Semi-implicit, Simulation

Subject terms: Astronomy and planetary science, Mathematics and computing, Physics

Introduction

Our understanding of extremely energetic processes in astrophysical systems critically relies on a combination of remote observations and numerical simulations. An excellent example of this synergy is represented by the problem of cosmic-ray acceleration. Observations tell us that Active Galactic Nuclei (AGN,1) can be a source of highly energetic particles. Emissions from blazar jets (AGN jets directed towards the observer) exhibit a high-energy component extending across the X-ray and gamma-ray bands together with a broad lower energy component24. At the same time, the IceCube detector has traced high-energy neutrinos, produced by high-energy cosmic-ray protons, to a particular AGN, NCG 10685, which is compatible with the model of neutrino production in AGN coronae proposed by68. In both cases, magnetic reconnection9 is considered a viable process for the (pre-)acceleration of these high-energy particles. Numerical simulations can then help us verify this hypothesis.

Magnetic reconnection converts the free energy contained in opposite-directed magnetic fields separated by a current sheet into bulk flows, plasma heating, and non-thermal high-energy particles, and occurs in a number of heliospheric and astrophysical environments, see1013 and the recently published collection14. This process begins when either collisional or kinetic effects break the magnetic topology, producing small magnetic islands via the tearing instability1519. The energy continues to be converted as the magnetic field is reconnected, while magnetic islands grow and merge. Energetic particles are accelerated via reconnecting electric fields as well as the Fermi process as they bounce between contracting magnetic islands. While suprathermal particle acceleration is also observed in non-relativistic regimes, relativistic plasmas are particularly suited for the production of high-energy non-thermal particles2026.

One key point in studying the viability of magnetic reconnection as a (pre)-acceleration process in Active Galactic Nuclei (AGN) jets and coronae is the capability of a) simulating magnetic reconnection in magnetic field configurations resembling those found in AGNs and b) at length-scales compatible with AGNs. These two points are in fact related: simulating ‘realistic’ magnetic field configurations that one expects in AGN jets and coronae requires addressing the huge separation between system scales, reconnection scales, and kinetic scales (if one intends to model particle acceleration self-consistently)27. This second proposition is so challenging that most investigations of the topic of particle acceleration in AGN jets completely neglect the multi-scale nature of the problem, focusing instead either on its large-scale aspects via MHD simulations28,29, or on its kinetic aspects via fully kinetic Particle-In-Cell, PIC, simulations19,2126,3033. In this work, we present an attempt to increase the temporal and spatial scope of fully kinetic PIC simulations. As a first step towards bridging these scales: we explore whether a semi-implicit PIC discretization is an efficient option for fully kinetic, relativistic PIC simulations that model the onset of the tearing instability and the formation of suprathermal particle spectra. Concurrent activities in the same direction include benchmarking the spectra produced by test particles tracked through electromagnetic fields from two-fluid relativistic simulations of magnetic reconnection against what is obtained in fully kinetic PIC simulations34. Non-relativistic semi-implicit PIC discretizations, such as the implicit moment method35,36, have been validated long ago against the explicit PIC approach, see e.g.37, and are routinely used in non-relativistic simulations of magnetic reconnection (see, e.g.38,39) as a way of extending their purview in space and time.

In relativistic pair plasmas, acceleration by magnetic reconnection efficiently produces non-thermal power-law distributions of energetic particles with power laws that depend on the magnetization of the plasma in both 2D and 3D21,30. An extensive study on these power laws and their high-energy cutoffs investigated the dependence on the system size and the magnetization of the plasma in 2D in40. Similar studies extended these results to electron–ion plasmas with varied mass ratios up to realistic values23,24, and to plasmas composed of electrons, protons, and positrons32. These studies were also extended to 3D for pair plasmas25 and for electron–ion plasmas41,42. In all cases, for sufficiently large system sizes, harder spectra were observed for increased magnetization, and the high-energy cutoff was proportional to the magnetization.

Reconnection is often relativistic in extreme astrophysical environments. Whether a plasma is in the relativistic regime is determined by the magnetization,

graphic file with name d33e355.gif 1

where Inline graphic, Inline graphic, and Inline graphic are the upstream magnetic field, mass, and number density for the particle species Inline graphic. For ions, Inline graphic is therefore the ratio Inline graphic where Inline graphic is the Alfvén speed and c is the speed of light. For high magnetizations Inline graphic, the Alfvén speed Inline graphic corresponds to the proper velocity at which an Alfvén wave would propagate. We have marked the magnetization with the subscript c for “cold” to distinguish it from a so-called “hot” magnetization, which takes into account relativistic temperatures,

graphic file with name d33e404.gif 2

where Inline graphic is the enthalpy for ultra-relativistic temperatures Inline graphic. For non-relativistic temperatures the enthalpy Inline graphic, and therefore Inline graphic.

In this work, we simulate both the linear tearing instability and nonlinear particle acceleration in the context of relativistic magnetic reconnection using semi-implicit Particle-in-Cell (PIC) code RelSIM43. We show that RelSIM reproduces results found in traditional explicit PIC simulations at significantly lower computational cost, and that these simulations can better model acceleration mechanisms responsible for several astrophysical observations. Here, we lay out the organization of the paper. After this introduction in Introduction section , we will describe our methods, the setup of the simulations, the Harris equilibrium, and important length scales of the problem in Methods and Simulation Setup Section. In Simulation Parameters section we describe the simulation parameters. We then explain our simulation results in Simulation results section, which is divided into two subsections; one for a set of runs verifying expected tearing instability behavior in the linear regime and one that tests the nonlinear stage of reconnection, where we measure non-thermal particle distributions. Finally, we will conclude with a discussion in Conclusions and outlook section that highlights the connections of this study to astrophysical observations.

Methods and simulation setup

In this work, we conduct Particle-in-Cell (PIC) simulations and take advantage of the Energy-Conserving Semi-Implicit Method ECSIM4449, which has been extended to include relativistic effects in the Relativistic Semi-implicit Method RelSIM43. RelSIM can handle relativistic simulations while retaining very accurate energy conservation. The method is implicit only in the field solver while the particle pusher is explicit. The field solver uses a mass-matrix formulation that yields exact (to machine precision) energy conservation in the non-relativistic limit and considerably reduced energy errors in the relativistic case compared to a fully explicit scheme. This allows for reduced resolution, which is not possible when using explicit models due to significant numerical heating and numerical instabilities.

As a reference, we compare our results with simulations performed with the OSIRIS code50, which uses an explicit field solver, a Boris pusher, and a charge-conserving current deposition scheme51. In our previous study19, we have used OSIRIS simulations to verify the growth rate predictions in16 (including the 33 correction) for the tearing instability in relativistic pair plasmas. In this paper, we extend our previous work to electron–proton plasmas (also covered in16), where the scale separation between electrons and protons may make the usage of a semi-implicit scheme computationally advantageous.

All simulations are initialized in a double Harris kinetic equilibrium using the relativistic generalization 52 for relativistic temperatures (Inline graphic) with periodic boundary conditions. The simulations are conducted in a physical domain ranging from Inline graphic to Inline graphic, and Inline graphic to Inline graphic, where Inline graphic is the distance between the two current sheets.

Each current sheet consists of counter-drifting Maxwell–Jüttner distributions of ions and electrons with a uniform temperature T in the rest frame of the respective species, boosted into opposite Inline graphic-directions with a uniform speed Inline graphic. The drift speed Inline graphic corresponds to a Lorentz factor Inline graphic, and a proper drift speed Inline graphic. The lab-frame density profile (of both electrons and ions) in the Harris current sheet at Inline graphic is given by

graphic file with name d33e550.gif 3

where Inline graphic is the number density at the center of each current sheet for both ions and electrons. Since the diamagnetic drift determines the drift Inline graphic, the magnitude of Inline graphic must be the same for both species. An additional uniform background population Inline graphic, that is at rest with temperature T, is included which does not disturb the kinetic equilibrium.

The pressure of the current sheets is balanced by self-consistent magnetic field profiles, which results in a kinetic equilibrium. The magnetic field profile is given by

graphic file with name d33e577.gif 4

The magnetic field can be calculated, using pressure equilibrium, to be

graphic file with name d33e582.gif 5

and using Ampère’s law, the current sheet half-thickness can be calculated to be

graphic file with name d33e587.gif 6

In the relativistic regime, we express this in terms of the peak Lorentz factor Inline graphic of a strongly relativistic Maxwell-Jüttner distribution. Likewise, in the classical regime, we will use the thermal velocity Inline graphic (Inline graphic).

We can express the scales of the system, for species Inline graphic (i for ions or e for electrons), as the classical inertial length,

graphic file with name d33e617.gif 7

the relativistic inertial length,

graphic file with name d33e622.gif 8

the classical Larmor radius,

graphic file with name d33e628.gif 9

and the relativistic Larmor radius,

graphic file with name d33e633.gif 10

where Inline graphic is the cyclotron frequency. We also define the nominal Larmor radius Inline graphic. Our constraint from force balance, Eq. (5), implies Inline graphic in both classical and relativistic regimes as seen in Eqs. (910) as long as Inline graphic (or upon redefinition using a temperature Inline graphic). We do not precisely define Inline graphic in the transition between the classical and relativistic regimes, at Inline graphic when Inline graphic. We will therefore specify in the text when we use Inline graphic or Inline graphic.

Until now, inertial lengths have been written in terms of Inline graphic. Our standard definition of the inertial length will be in terms of the background density Inline graphic, and thus

graphic file with name d33e699.gif 11

Likewise, the plasma frequency Inline graphic (Inline graphic) is defined in terms of Inline graphic (Inline graphic).

Using this setup, we will compare our results to the theoretical growth rate of the tearing instability from16 taking into account modifications from33. In the regime where the ion and electron populations have the same temperature T, but the thermal velocities are considered non-relativistic for the ions (Inline graphic) and relativistic for the electrons (Inline graphic), the theoretical growth rate is the following.

graphic file with name d33e743.gif 12

where

graphic file with name d33e748.gif 13

with a fastest growing mode at Inline graphic.

Simulation parameters

We will first test the linear behavior of the tearing instability for relativistic temperatures by comparing RelSIM results against linear theory and OSIRIS simulations. We will then examine the instability’s nonlinear evolution and the subsequent development of non-thermal energy spectra. Here, we will run simulations with RelSIM only, and compare against results in23 and40.

Relativistic tearing

For the simulations of the linear tearing instability, we choose a mass ratio Inline graphic, a temperature Inline graphic for both species, a half thickness of the current sheet Inline graphic (Inline graphic), and a proper drift velocity Inline graphic. We do not consider background plasma (Inline graphic) for this case. We can thus compare our results with the predictions from16 where Inline graphic using the same methods as described in19.

For our OSIRIS simulations, we choose a length Inline graphic, and Inline graphic, with a resolution Inline graphic, and a time step Inline graphic to resolve the electron plasma frequency. This corresponds to Inline graphic, which also satisfies the Courant condition. We run each simulation for a few e-folding times (Inline graphic), calculated in terms of the theoretical growth rate from Eq. (12). We compare 2 sets of simulations, varying the number of particles per cell between 256 and 4096.

We compare the OSIRIS simulations with a set of RelSIM simulations using the same physical parameters and box size as in OSIRIS. For our numerical parameters, we consider a fiducial case with 256 particles per cell. The spatial resolution for this fiducial case is Inline graphic, and the temporal resolution is the same as OSIRIS, Inline graphic. In a first set of simulations, we hold the time resolution constant. We perform 3 simulations, varying the number of particles per cell between 256, 1024,  and 4096. We vary the resolution in space by (Inline graphic, and 20; Inline graphic and 1), keeping the time resolution and particles per cell constant. In a second set of simulations, we hold the space resolution constant at Inline graphic, and then vary the resolution in time (Inline graphic and 6.064.). All these simulations are listed in Table 1.

Table 1.

Set of relativistic tearing simulations, for which Inline graphic, Inline graphic, and Inline graphic; therefore the theoretical growth rate Inline graphic at Inline graphic; see Eq. (12).

sim# code ppc Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic
1 OSIRIS  256 0.625 0.756 0.0039 0.3 3.45 Inline graphic%
2 OSIRIS 4096 0.625 0.756 0.0029 0.4 Inline graphic%
3 RelSIM  256 5 0.756 0.0046 0.4 1.85 Inline graphic%
4 RelSIM 1024 5 0.756 0.0035 0.1 3.35 Inline graphic%
5 RelSIM 4096 5 0.756 0.0032 0.4 2.85 Inline graphic%
6 RelSIM  256 20 0.756 0.0004 0.1 1.90 Inline graphic%
7 RelSIM  256 10 0.756 0.0028 0.1 1.91 Inline graphic%
8 RelSIM  256 2.5 0.756 0.0045 0.1 1.83 Inline graphic%
9 RelSIM  256 5 6.064 0.0034 0.1 2.19 Inline graphic%
10 RelSIM  256 5 3.032 0.0037 0.1 1.97 Inline graphic%
11 RelSIM  256 5 1.516 0.0037 0.1 2.02 Inline graphic%
12 RelSIM  256 5 0.379 0.0053 0.1 1.60 Inline graphic%

Included in the table is the simulation code used, number of particles per grid cell, measured growth rate Inline graphic after a low pass filter (Inline graphic), fastest growing wave number Inline graphic, and the time when the simulation reaches the nonlinear stage Inline graphic. In addition, we include the maximum percentage error in energy conservation by Inline graphic. The growth rates are measured from a best fit between Inline graphic and 1.5 for most runs except Simulation 2, which is measured between Inline graphic and 2.0 and Simulation 12, which is measured between Inline graphic and 1.0.

Nonlinear reconnection

In the RelSIM nonlinear simulations, we consider a background density Inline graphic determined by Inline graphic, to provide a constant supply of upstream plasma in the nonlinear stage, and a smaller half thickness of the current sheet Inline graphic in order to reach the nonlinear stage more quickly. We set the mass ratio to Inline graphic, the temperature to Inline graphic for both species, and the proper drift velocity to Inline graphic.

We choose a resolution of Inline graphic so that we resolve both the ion and electron background inertial scales. We use a time step Inline graphic, which satisfies the Courant condition (Inline graphic). Note that in this regime, a typical thermal particle moves close to the speed of light. We use 16 and 256 particles per cell in the respective background and Harris sheet populations. Although we do not resolve the initial current sheet half thickness Inline graphic, this current sheet is transient and is quickly replaced by new current sheets from the background population. We run each simulation for several light crossing times, up to Inline graphic or 7.77.

For our fiducial case, we set the magnetization to Inline graphic implying Inline graphic (Inline graphic), and use a length Inline graphic. As previously stated, the initial high-density current sheet (a result of the high magnetization), which balances the magnetic pressure, is transient and is quickly replaced by lower-density background plasma. In this fiducial case, Inline graphic, so we do not resolve the background electron or ion Larmor radius. However, if we assume that the typical temperature reaches the point where the ions move at the background Alfvén speed, the Larmor radius is well resolved for both species, Inline graphic. When we vary Inline graphic the resolution of this Larmor radius Inline graphic remains fixed.

To compare with the results in23 and40 who checked the dependence of the energetic particle spectra on system size and magnetization, we modify our fiducial case by varying these parameters. We vary the system size as Inline graphic and 200 holding Inline graphic constant (parameters from23), which corresponds to the normalized system size from40 of Inline graphic and 40. We also vary the magnetization as Inline graphic, 100,  and 1000, holding Inline graphic, the half thickness of the current sheet Inline graphic, and the drift velocity Inline graphic constant, which correspond to Inline graphic and 3.16 respectively. These system sizes and magnetizations are also parameters taken from23.

Simulation results

In this section, we examine two scenarios. First, we look at the linear stage of reconnection, considering no background population, and measure the tearing growth rates. We compare measurements from semi-implicit particle-in-cell simulations using RelSIM43 with theoretical growth rates from16 and measurements from explicit simulations using the OSIRIS framework50. Second, we look at the late-time nonlinear evolution with a background population included and measure the non-thermal particle spectra in simulations using RelSIM to compare with the results in23 and40.

Relativistic tearing

Here we present and compare simulation results using both OSIRIS and RelSIM with analytical predictions from16 using the methods described in19. We perform simulations using the simulation parameters described in Section 2. The aim here is to show that RelSIM performs comparably well to explicit simulations while retaining a computational advantage.

We start with an OSIRIS simulation, with standard parameters; Inline graphic, Inline graphic, and 256 particles per cell (Simulation 1 in Table 1). When we examine the evolution of the energy, we see that the energy distribution remains relatively constant until reaching the fast-growing nonlinear stage shown in19, when the magnetic energy is rapidly converted into kinetic energy of the particles. The total energy in this simulation is conserved up to a maximum error of Inline graphic% by Inline graphic, a representative value before the fast-growing nonlinear stage. The time here is normalized to the theoretical growth rate Inline graphic for non-relativistic ion temperatures and ultra-relativistic electron temperatures from Eq. (12). The noise in the Inline graphic component of the magnetic energy, the green dashed curve of Fig. 1a, is too large to calculate a linear growth rate. However, the green solid curve shows the energy after applying a low-pass filter of Inline graphic (Inline graphic). We thus remove a significant portion of the noise, and can measure the growth rate between 0.5 and 1.5 e-folding times (Inline graphic), finding Inline graphic, consistent with theory. We use this range as a standard for measuring growth rates throughout this section. We plot the evolution of the total magnetic field energy in Inline graphic, the low-pass filtered energy, and the energy in two dominant individual modes in k-space (Inline graphic and 5, where Inline graphic with Inline graphic) in Fig. 1a. The dominant mode at 1.5 e-folding times is Inline graphic, which corresponds to Inline graphic, consistent with theory. The fastest growing mode, on the other hand, is at (Inline graphic), growing at Inline graphic with a growth rate Inline graphic (see Fig. 1b). As we have shown in19, as the growth enters the nonlinear stage (between the linear stage and the fast-growing nonlinear stage), the fastest growing mode saturates, and moves to lower wavenumbers. A theoretical evolution of the growth rate as the modes merge has been developed in53. One should note that to obtain a more reliable growth rate, more e-folding times are needed for the linear modes to have significant time to grow. If the linear modes interact with each other, as is common as they reach the nonlinear stage, we expect errors in the measured growth rate.

Fig. 1.

Fig. 1

Evolution of the total energy in Inline graphic (dashed green), the low pass filtered energy (green), its fit (black), the theoretical growth rate from Eq. (12) (dashed black), and the energy in the Inline graphic (red) and Inline graphic (blue) modes, and the dispersion relation calculated as the best fit for the growth of each mode (black), and the theoretical dispersion from16 and Eq. (13) (black dashed). The top plots are the OSIRIS simulation with 256 particles per cell (Simulation 1 in Table 1) and bottom with 4096 particles per cell (Simulation 2).

We have therefore also performed a simulation with more (4096) particles per cell (Simulation 2 in Table 1). We measure a growth rate between 1.0 and 2.0 e-folding times with reasonable agreement with theory: slightly less than the theoretical value (Inline graphic; see Fig. 1c). At this point, Inline graphic is the dominant mode, but it has begun to saturate. Looking at the growth rate of each mode as a function of wavelength, we see that again the fastest growing mode (Inline graphic) is at a slightly lower wavenumber than the linear prediction, consistent with the beginning of the nonlinear stage (see Fig. 1d). Nevertheless, the errors in the measured growth rates of each mode have greatly improved. One could increase the particles per cell even further for a more reliable measurement, but this becomes computationally unwieldy.

We then look at RelSIM simulations with the same parameters, but taking advantage of the semi-implicit method. We consider a coarser resolution in space by a factor of 8 along each direction (Inline graphic), keeping the temporal resolution constant. While the semi-implicit method tends to be slower by a factor of close to 16 in this configuration, we have a computational savings of a factor of Inline graphic due to the lower resolution. For our fiducial run (Simulation 3 in Table 1), we find a growth rate that matches the theory quite well, albeit slightly greater than the theoretical value (Inline graphic; see Fig. 2a). Note that OSIRIS also overestimates the growth rate with low ppc, see Fig. 1a. The dominant wavelength is Inline graphic, again a sign of already reaching the nonlinear regime (see also Fig. 2b). The particles per cell can be increased by a factor of 4, from 256 to 1024, and we still observe a slight computational advantage. We do this in Simulation 4 of Table 1 and find that the growth rate better matches the theory (Inline graphic). Again, at around 1.5 e-folding times, the fastest growing wave number Inline graphic is slightly lower than the linear prediction, consistent with nonlinear effects. The dominant mode, however, is at Inline graphic, which is close to the linear prediction. For a more reliable measurement, one must increase the particles per cell even further. We therefore performed a simulation with 4096 particles per cell (Simulation 5 in Table 1); the growth rate still matches the theory (Inline graphic; see Fig. 2c), now with the fastest modes growing close to Inline graphic as expected by the theory (see Fig. 2d). Like in Fig. 1, the lower noise in the simulation with higher particles per cell keeps the amplitude of the individual modes small, helping avoid interactions between the linear modes. Thus, we see good agreement in the measured growth rate for each mode.

Fig. 2.

Fig. 2

Evolution of the total energy in Inline graphic (dashed green), the low pass filtered energy (green), its fit (black), the theoretical growth rate from Eq. (12) (dashed black), and the energy in the Inline graphic (red) and Inline graphic (blue) modes, and the dispersion relation calculated as the best fit for the growth of each mode (black), and the theoretical dispersion from16 and Eq. (13) (black dashed). The top plots are from the RelSIM simulation with 256 particles per cell and 1/8 resolution in space compared to the OSIRIS simulations (Simulation 3 in Table 1), and the bottom plots with 4096 particles per cell (Simulation 5).

To test the limits of the method, we perform a parameter scan for our RelSIM test case with 256 particles per cell, varying both time and spatial resolution. First, we vary the space resolution with Inline graphic, where the lowest resolution corresponds to Inline graphic (see Simulations 6–8 in Table 1). While energy conservation remains constant at about Inline graphic percent after 1 e-folding time (see Fig. 3a), before entering the fast-growing nonlinear regime, for the lowest-resolution case, the measured growth rate is much lower than theory Inline graphic (see Fig. 3b). The measured growth rate converges to a value close to the theoretical one around Inline graphic, validating our choice.

Fig. 3.

Fig. 3

Scaling of the energy conservation (a,c) and the growth rate (b,d) as a function of the spatial resolution (a,b) and time resolution (b,c). The theoretical growth rate from16, i.e. Eq. (12), is included as a green solid line. The measured growth rates from the OSIRIS Simulations (green) and the RelSIM Simulations (blue) with 256 ppc are indicated by crosses. Higher particle-per-cell simulations are indicated by plus signs for 1024 ppc (Simulation 4), and stars for 4096 ppc (Simulations 2 and 5). The growth rate has a weak dependence on the time resolution, and the energy conservation has a strong dependence Inline graphic.

Next, we vary the time resolution with Inline graphic (see Simulations 9–12 in Table 1). When increasing the time resolution, the energy conservation is improved significantly (see Fig. 3c). For the lowest resolution (Inline graphic), the energy is conserved up to Inline graphic percent, comparable to the OSIRIS Simulation 1, which is significantly better resolved in time (Inline graphic). For the next lowest resolution, the energy conservation improves to Inline graphic percent, which is already better than the OSIRIS Simulation 2 with 4096 particles per cell, with Inline graphic%. For the highest resolution run, we achieve an energy conservation of Inline graphic%. However, when changing the resolution, the growth rate increases slightly from Inline graphic to 0.0053, i.e. faster growth for higher resolution (see Fig. 3d). For the highest resolution, the growth rate must be calculated between Inline graphic and 1, since the growth rate is faster than theory and thus the nonlinear stage is reached faster. We note that, as we have shown earlier for the fiducial case, using more particles per cell mitigates this effect.

The semi-implicit method is thus useful to model the tearing instability, and as we discuss in the next section, can also be used for the long-term evolution of reconnection. Long-term simulations using the explicit method are limited by numerical heating, which breaks the energy conservation. While not perfectly energy-conserving, RelSIM has a strong advantage over explicit methods, which do not conserve energy as well. To compare with the computationally expensive OSIRIS simulation with 4096 particles per cell, one can run with a reduced time resolution of Inline graphic (in addition to the reduced spatial resolution), and have the same degree of energy conservation. Taking into account the intrinsic slowdown associated with semi-implicit methods, this leads to a net computational advantage of a factor of 256.

Nonlinear reconnection and spectra

We can take advantage of the strong energy conservation of RelSIM to explore the nonlinear evolution of the tearing instability and reconnection, and the subsequent development of non-thermal energy spectra, avoiding the numerical heating commonly found in explicit simulations. Here, rather than comparing with OSIRIS simulations, we compare with the results in23 and40.

First we will describe the results for our fiducial simulation. Figure 4. shows the electron density of the reconnecting current sheets after about 2 light crossing times. Magnetic islands are generated via tearing and merge to the size of the box. We examine the energy spectra in Fig. 5. The peak of the spectra rises from the initial thermal Lorentz factor Inline graphic to 100, and a power law is generated with spectral slope Inline graphic, between Inline graphic and 4000 (Inline graphic) for the electron distribution (see Fig. 5a). For the ions (see Fig. 5b, the peak of the spectra rises from the initial thermal velocity Inline graphic to 1.4, also with a power law Inline graphic, between Inline graphic and 40 (Inline graphic). The cutoff of the power-law slope is thus Inline graphic, which corresponds to the same energy for both electron and ion populations. This matches the observations in23.

Fig. 4.

Fig. 4

Map of normalized electron density Inline graphic at Inline graphic (a) and 2.22 (b), showing the development of magnetic islands via tearing that eventually (over long times) merge until reaching the system size, for the fiducial simulation with Inline graphic and Inline graphic.

Fig. 5.

Fig. 5

Spectra (top) and slope of the spectra (bottom) as a function of the proper speed u/c of the electron (left) and ion (right) distributions of the background population for several times Inline graphic for the fiducial case with Inline graphic and Inline graphic. The spectra fit a power-law slope Inline graphic between Inline graphic and 4000 (Inline graphic) for the electrons, and Inline graphic and 40 (Inline graphic) for the ions.

One should note that our simulations presented in Fig. 5. have been run to about Inline graphic, in comparison to23 who ran up to Inline graphic. Therefore, heating in the current sheets affected a large percentage of particles, explaining the increase of the peak Lorenz factor, particularly noticeable in our study. In realistic systems with open boundary conditions, this effect would be less pronounced as background particles are replenished and heated particles can escape.

We perform simulations for a total of 3 system sizes: Inline graphic, 100, and 200, including the fiducial case, which uses the same values used in23. Figure 6. shows that all cases are similar to the fiducial case; magnetic islands are generated via tearing and merge. Although not shown in the figure, they all eventually reach the size of the box. The thickness and length of the current sheets connecting the islands remain fixed to the kinetic scales.

Fig. 6.

Fig. 6

Maps of normalized electron density Inline graphic at Inline graphic, showing the development of magnetic islands via tearing that eventually (over long times) merge until reaching the system size, for Inline graphic, and 200 holding Inline graphic constant (like the fiducial case with Inline graphic).

If we look at the electron energy spectra for these systems in Fig. 7., we note that the power law persists with a constant Inline graphic, independent of the system size, matching the observations in23. Unlike the fiducial case, we only run until Inline graphic, such that the bulk heating is relatively insignificant. At any rate, in larger systems, more of the energy goes to the non-thermal power-law component. While the peak of the spectra remains close to Inline graphic, and the spectral slope is similar, the cutoff has a slight dependence on system size, occurring around Inline graphic, 0.6, and 0.7 for the increasing system sizes, and converging around Inline graphic. This leads to a wider spectral range that fits a power law for larger system sizes.

Fig. 7.

Fig. 7

Spectra (top) and slope of the spectra (bottom) as a function of the proper speed/normalized momentum u/c of the electron distribution of the background population for several times Inline graphic for the cases Inline graphic and 200 holding Inline graphic constant (like the fiducial case with Inline graphic). The spectra fit a power-law slope Inline graphic between Inline graphic and 6000 (Inline graphic), and Inline graphic and 7000 (Inline graphic) for the respective cases.

We also performed simulations for a total of 3 magnetizations, including the fiducial case: Inline graphic, 100, and 1000. Figure 8. shows the densities of the reconnecting current sheets for each simulation after about 2 light crossing times. As with the study of the system size, magnetic islands are generated via tearing and eventually merge, reaching the size of the box. The thickness and length of the current sheets depend on the magnetization. While we start with a current sheet with the same temperature as the background, the new current sheets that form have a temperature proportional to Inline graphic, and a thickness that appears to scale with Inline graphic. The length of the current sheets is likely determined by a critical aspect ratio, and thus proportional to the thickness.

Fig. 8.

Fig. 8

Maps of normalized electron density Inline graphic at Inline graphic, showing the development of magnetic islands via tearing that eventually (over long times) merge until reaching the system size, for Inline graphic and 1000 holding Inline graphic constant (like the fiducial case with Inline graphic).

If we look at the electron energy spectra for these systems in Figure 9., we note that the power law depends on the magnetization, with Inline graphic for Inline graphic, 100, and 1000 respectively. This again matches the observations in23. For more magnetized systems, there is a stronger bulk heating of the system. The peak Inline graphic of the distribution heats up to 30, 100, and 1000, which converges to Inline graphic. The cases simulated here have a relatively small system size (Inline graphic and 3.16). As we have shown for Inline graphic, a larger system size would likely reduce the start of the power law to Inline graphic. The power-law cutoff occurs close to Inline graphic, but the factor in front decreases with magnetization: Inline graphic and 0.1. This is likely because, for higher magnetizations, more energy goes to bulk heating.

Fig. 9.

Fig. 9

Spectra (top) and slope of the spectra (bottom) as a function of the proper speed u/c of the background population electron distribution for several times Inline graphic for the cases Inline graphic and 1000 holding Inline graphic constant (like the fiducial case with Inline graphic). The spectra fit a power-law slope Inline graphic between Inline graphic and 500 (Inline graphic), and Inline graphic and 10000 (Inline graphic) for the respective cases.

The widest spectral ranges, therefore, occur in sufficiently large systems with high magnetizations, where the required size is proportional to the magnetization (Inline graphic). This is consistent with the dependence of the power-law cutoff on Inline graphic explained in40. For high Inline graphic the cutoff depends on Inline graphic, while for low Inline graphic the cutoff depends on Inline graphic. Note that the same arguments are true for the ion spectral range; the transition length is the same Inline graphic, and the cutoff occurs close to Inline graphic.

We finally perform one 3D simulation with parameters equivalent to the fiducial case, but extended in the z direction with Inline graphic, using 8 and 216 ppc for the respective background and current sheet populations. Figure 10. shows the rendered electron density with magnetic fields at Inline graphic. This illustrates that the generation and merging of magnetic islands are reproduced in the 3D geometry. Furthermore, Fig. 11. shows that the non-thermal distributions found in 2D are also reproduced in 3D.

Fig. 10.

Fig. 10

Rendering of electron density and magnetic field lines at Inline graphic for a 3D simulation with Inline graphic and Inline graphic.

Fig. 11.

Fig. 11

Spectra (top) and slope of the spectra (bottom) as a function of the proper speed u/c of the electron (left) and ion (right) distributions of the background population for several times Inline graphic for the 3D case with Inline graphic and Inline graphic. The spectra fit a power-law slope Inline graphic between Inline graphic and 2000 (Inline graphic) for the electrons, and Inline graphic and 40 (Inline graphic) for the ions.

We have thus run a set of simulations with relatively low resolution (Inline graphic; Inline graphic) and with only 16 particles per cell in the background, for as long as 7.77 light crossing times with less than 1% error in the energy (See Table 2). The scaling of the spectral index as a function of the magnetization and system size index matches the results of both23 and40, even though the initial setup from23 is a force-free current sheet instead of a Harris sheet as we use here and in40. This demonstrates that it is therefore possible to use the computational advantages of the high energy-conservation semi-implicit RelSIM code to study the spectral indices of large magnetized systems.

Table 2.

Set of nonlinear reconnection simulations, for which Inline graphic, Inline graphic, and Inline graphic.

Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic Inline graphic
50 100 5 -1.35 0.4 7.77 0.4%
100 100 10 -1.35 0.6 7.77 0.3%
200 100 20 -1.35 0.7 3.81 0.2%
50 10 15.8 -1.50 0.5 7.77 0.06%
50 100 5 -1.35 0.4 7.77 0.4%
50 1000 1.58 -1.10 0.1 7.77 0.4%

Included is the distance between the current sheets Inline graphic, cold ion magnetization Inline graphic, the normalized system size Inline graphic, the cutoff on the electron momentum Inline graphic, and the total time of the simulation Inline graphic. In addition, we include the percentage error in energy conservation at Inline graphic. The system size varies in the first three simulations, while the magnetization varies in the second three. * Note that this is the same simulation as the first.

Conclusions and outlook

In this paper, we have demonstrated that using semi-implicit methods is a promising approach to model the tearing instability and magnetic reconnection in relativistic regimes of electron–proton plasmas, which are notoriously difficult to model due to the scale separation between macroscopic and kinetic scales. We have performed RelSIM43 simulations modeling the tearing instability starting from a Harris equilibrium, finding results that match both theory16,19 and explicit OSIRIS50 simulations. In further RelSIM simulations, we have also shown subsequent reconnection and acceleration of non-thermal particles that lead to power-law spectra that match previous work with standard explicit PIC models, e.g.23 and40. As semi-implicit simulations with RelSIM avoid instabilities and strong numerical heating present in explicit simulations, this is possible with reduced resolution in both space and time, while retaining a high conservation of total energy. We have shown that by taking into account the savings of these lower resolutions, we can run simulations with the same degree of energy conservation for a computational cost that is up to 256 times cheaper than an equivalent simulation using an explicit code like OSIRIS, and even more significant savings are expected in 3D. We have thus presented one example simulation showing that the same results are possible using fully 3D kinetic simulations. This computational benefit opens up the possibility to model and explore regimes that were previously not possible with explicit methods. Furthermore, recent efforts have enabled ECSIM to run efficiently on GPU systems54. This implementation should soon facilitate the integration of our new methods with the latest and fastest high-performance computing systems.

Using semi-implicit methods thus provides the opportunity to model reconnection with a new level of detail, modeling the acceleration phenomena in a variety of astrophysical sources such as pulsar wind nebulae, gamma-ray bursts, or active galactic nuclei (AGN). Most recently, the groundbreaking high-energy neutrino signal observed by the IceCube experiment5, which is commonly believed to originate from the AGN corona of NGC 1068 e.g.55, indicated that cosmic-ray protons need to be accelerated up to Inline graphic in such sources. However, it is currently not understood which process actually drives the protons in the center of an AGN up to those energies. Since general relativistic magnetohydrodynamic simulations56,57 show no evidence of the presence of shocks in the central region of an AGN, the most promising processes are currently relativistic reconnection e.g.58 or/and stochastic acceleration59. The application of the semi-implicit method can provide new insights into the relative contribution of these two acceleration mechanisms in the energization of cosmic-rays in a number of astrophysical systems.

Taking advantage of the separation of scales between classical ions and relativistic electrons at smaller magnetizations Inline graphic, one can explore parameter spaces to find spectra and spectral cutoffs relevant for AGN modeling. See56,60,61.

Furthermore, we are now well-positioned to look at bigger system sizes, where models of reconnection, similar to what was done in this paper, include the effects of turbulence and stochastic acceleration41.

The most promising regime to take advantage of the semi-implicit method is in large 3D systems, as one can benefit from the lower spatial resolution in each dimension. While we have shown that similar results to what we have shown in our 2D simulations can be obtained, a more careful study is still needed. Future studies would check the effects of the spatial extent in the z direction, variation of physical parameters, and the influence of instabilities with wavenumber along the z direction e.g. kinking instabilities.

Author contributions

KMS performed all simulations and produced the main manuscript. FB provided semi-implicit code RelSIM and contributions to the manuscript. KK provided expertise on numerical methods and contributed to the manuscript. BE provided expertise on observations and astrophysical context and contributed to the manuscript. MEI made major contributions to the manuscript and references.

Funding

Open Access funding enabled and organized by Projekt DEAL. This work is supported by the German Science Foundation DFG within the Collaborative Research Center SFB1491 and DFG project 544893192. The authors gratefully acknowledge the Gauss Centre for Supercomputing e.V. (https://www.gauss-centre.eu/) for funding this project by providing computing time on the GCS Supercomputer SUPERMUC-NG at Leibniz Supercomputing Centre (https://www.lrz.de/). Simulations were performed at SuperMUC (Germany). F.B. acknowledges support from the FED-tWIN programme (profile Prf-2020-004, project “ENERGY”) issued by BELSPO, and from the FWO Junior Research Project G020224N granted by the Research Foundation – Flanders (FWO).

Data availability

The main data and input files supporting the findings of this study are openly available in Zenodo at https://zenodo.org/records/16883720, reference number 16883720.

Declarations

Code availability

The version of OSIRIS used for simulations in this study is freely available as open source. RelSIM is available on request after signing a user agreement.

Competing interests

There are no competing interests.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Harrison, C. et al. Agn outflows and feedback twenty years on. Nat. Astron. Ser.2, 198 (2018). [Google Scholar]
  • 2.Ulrich, M.-H., Maraschi, L. & Urry, C. M. Variability of active galactic nuclei. Annu. Rev. Astron. Astrophys. Ser.35, 445 (1997). [Google Scholar]
  • 3.Fossati, G. A., Maraschi, L., Celotti, A., Comastri, A. & Ghisellini, G. A unifying view of the spectral energy distributions of blazars. Mon. Not. R. Astron. Soc.299, 433 (1998). [Google Scholar]
  • 4.Costamante, L. et al. Extreme synchrotron bl lac objects-stretching the blazar sequence. Astron. Astrophys. Ser.371, 512 (2001). [Google Scholar]
  • 5.IceCube Collaboration. Evidence for neutrino emission from the nearby active galaxy NGC 1068. Science378, 538. 10.1126/science.abg3395 (2022) [arXiv: 2211.09972]. [DOI] [PubMed] [Google Scholar]
  • 6.Inoue, Y., Khangulyan, D. & Doi, A. On the origin of high-energy neutrinos from ngc 1068: The role of nonthermal coronal activity. Astrophys. J. Lett. Ser.891, L33 (2020). [Google Scholar]
  • 7.Kheirandish, A., Murase, K. & Kimura, S. S. High-energy neutrinos from magnetized coronae of active galactic nuclei and prospects for identification of seyfert galaxies and quasars in neutrino telescopes. Astrophys. J. Lett. Ser.922, 45 (2021). [Google Scholar]
  • 8.Eichmann, B., Oikonomou, F., Salvatore, S., Dettmar, R.-J. & Tjus, J. B. Solving the multimessenger puzzle of the agn-starburst composite galaxy ngc 1068. Astrophys. J. Lett. Ser.939, 43 (2022). [Google Scholar]
  • 9.Biskamp, D. Magnetic reconnection in plasmas. Astrophys. Space Sci. Ser.242, 165 (1996). [Google Scholar]
  • 10.Zelenyi, L. M., Lominadze, J. G. & Taktakishvili, A. L. Generation of the energetic proton and electron bursts in planetary magnetotails. J. Geophys. Res.: Space Phys. Ser.95, 3883. 10.1029/JA095iA04p03883 (1990). [Google Scholar]
  • 11.Zweibel, E. G. & Yamada, M. Magnetic reconnection in astrophysical and laboratory plasmas. Annu. Rev. Astron. Astrophys. Ser.47, 291 (2009). [Google Scholar]
  • 12.Yamada, M., Kulsrud, R. & Ji, H. Magnetic reconnection. Rev. Mod. Phys. Ser.82, 603 (2010). [Google Scholar]
  • 13.Pucci, F. et al. Applications of fast magnetic reconnection models to the atmospheres of the sun and protoplanetary disks. Astrophys. J. Ser.970, 87 (2024). [Google Scholar]
  • 14.Burch, J. & Nakamura, R. Magnetic reconnection in space: An introduction. Space Sci. Rev. Ser.221, 19 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Furth, H. P., Killeen, J. & Rosenbluth, M. N. Finite-resistivity instabilities of a sheet pinch. Phys. Fluids6, 459. 10.1063/1.1706761 (1963). [Google Scholar]
  • 16.Zelenyi, L. M. & Krasnosel’skikh, V. V. Relativistic modes of tearing instability in a background plasma. Astron. Zh.56, 819 (1979). [Google Scholar]
  • 17.Ji, H. & Daughton, W. Phase diagram for magnetic reconnection in heliophysical, astrophysical, and laboratory plasmas. Phys. Plasmas18, 111207 (2011). [Google Scholar]
  • 18.Pucci, F. & Velli, M. Reconnection of quasi-singular current sheets: the “ideal’’ tearing mode. Astrophys. J. Lett. Ser.780, L19 (2013). [Google Scholar]
  • 19.Schoeffler, K., Eichmann, B., Pucci, F. & Innocenti, M. Particle-in-cell simulations of the tearing instability for relativistic pair plasmas. J. Plasma Phys.91, E42. 10.1017/S0022377825000030 (2025). [Google Scholar]
  • 20.Drake, J., Swisdak, M., Che, H. & Shay, M. Electron acceleration from contracting magnetic islands during reconnection. Nature443, 553. 10.1038/nature05116 (2006). [DOI] [PubMed] [Google Scholar]
  • 21.Sironi, L. & Spitkovsky, A. Relativistic reconnection: An efficient source of non-thermal particles. Astrophys. J. Lett.783, L21. 10.1088/2041-8205/783/1/L21 (2014). [Google Scholar]
  • 22.Guo, F., Liu, Y.-H., Daughton, W. & Li, H. Particle acceleration and plasma dynamics during magnetic reconnection in the magnetically dominated regime. Astrophys. J. Ser.806, 167 (2015). [Google Scholar]
  • 23.Guo, F. et al. Efficient production of high-energy nonthermal particles during magnetic reconnection in a magnetically dominated ion-electron plasma. Astrophys. J. Lett.818, L9. 10.3847/2041-8205/818/1/L9 (2016). [Google Scholar]
  • 24.Werner, G. R. & Uzdensky, D. A. Nonthermal particle acceleration in 3d relativistic magnetic reconnection in pair plasma. Astrophys. J. Lett.843, L27. 10.3847/2041-8213/aa7892 (2017). [Google Scholar]
  • 25.Werner, G. R., Uzdensky, D. A., Begelman, M. C., Cerutti, B. & Nalewajko, K. Non-thermal particle acceleration in collisionless relativistic electron-proton reconnection. Mon. Not. R. Astron. Soc.473, 4840. 10.1093/mnras/stx2530 (2017). [Google Scholar]
  • 26.Petropoulou, M. & Sironi, L. The steady growth of the high-energy spectral cut-off in relativistic magnetic reconnection. Mon. Not. R. Astron. Soc.481, 5687 (2018). [Google Scholar]
  • 27.Petropoulou, M., Giannios, D. & Sironi, L. Blazar flares powered by plasmoids in relativistic reconnection. Mon. Not. R. Astron. Soc.462, 3325 (2016). [Google Scholar]
  • 28.Bromberg, O., Singh, C. B., Davelaar, J. & Philippov, A. A. Kink instability: Evolution and energy dissipation in relativistic force-free nonrotating jets. Astrophys. J. Ser.884, 39 (2019). [Google Scholar]
  • 29.Medina-Torrejón, T. E. et al. Particle acceleration by relativistic magnetic reconnection driven by kink instability turbulence in poynting flux-dominated jets. Astrophys. J. Ser.908, 193 (2021). [Google Scholar]
  • 30.Sironi, L., Giannios, D. & Petropoulou, M. Plasmoids in relativistic reconnection, from birth to adulthood: First they grow, then they go. Mon. Not. R. Astron. Soc.462, 48. 10.1093/mnras/stw1620 (2016). [Google Scholar]
  • 31.Alves, E. P., Zrake, J. & Fiuza, F. Efficient nonthermal particle acceleration by the kink instability in relativistic jets. Phys. Rev. Lett. Ser.121, 245101 (2018). [DOI] [PubMed] [Google Scholar]
  • 32.Petropoulou, M., Sironi, L., Spitkovsky, A. & Giannios, D. Relativistic magnetic reconnection in electron-positron-proton plasmas: Implications for jets of active galactic nuclei. Astrophys. J. Ser.880, 37 (2019). [Google Scholar]
  • 33.Hoshino, M. Stabilization of magnetic reconnection in the relativistic current sheet. Astr. Phys. Jour.900, 66. 10.3847/1538-4357/aba59d (2020) [arXiv:2006.15501]. [Google Scholar]
  • 34.Wilbert, M. et al. “in prep.” (2025).
  • 35.Vu, H. & Brackbill, J. Celest1d: An implicit, fully kinetic model for low-frequency, electromagnetic plasma simulation. Comput. Phys. Commun. Ser.69, 253 (1992). [Google Scholar]
  • 36.Lapenta, G., Brackbill, J. & Ricci, P. Kinetic approach to microscopic-macroscopic coupling in space and laboratory plasmas. Phys. Plasmas13, 055904 (2006). [Google Scholar]
  • 37.Ricci, P., Brackbill, J., Daughton, W. & Lapenta, G. Collisionless magnetic reconnection in the presence of a guide field. Phys. Plasmas11, 4102 (2004). [Google Scholar]
  • 38.Innocenti, M., Goldman, M., Newman, D., Markidis, S. & Lapenta, G. Evidence of magnetic field switch-off in collisionless magnetic reconnection. Astrophys. J. Ser.810, L19 (2015). [Google Scholar]
  • 39.Lapenta, G., Markidis, S., Goldman, M. V. & Newman, D. L. Secondary reconnection sites in reconnection-generated flux ropes and reconnection fronts. Nat. Phys. Ser.11, 690 (2015). [Google Scholar]
  • 40.Werner, G. R., Uzdensky, D. A., Cerutti, B., Nalewajko, K. & Begelman, M. C. The extent of power-law energy spectra in collisionless relativistic magnetic reconnection in pair plasmas. Astrophys. J. Lett.816, L8. 10.3847/2041-8205/816/1/L8 (2015). [Google Scholar]
  • 41.Bacchini, F. et al. “in prep.” (2025).
  • 42.Werner, G. R. & Uzdensky, D. A. Electron and proton energization in 3d reconnecting current sheets in semirelativistic plasma with guide magnetic field. Astrophys. J. Lett.964, L21. 10.3847/2041-8213/ad2fa5 (2024). [Google Scholar]
  • 43.Bacchini, F. RelSIM: A relativistic semi-implicit method for particle-in-cell simulations. Astrophys. J. Suppl. Ser.268, 60. 10.3847/1538-4365/acefba (2023). [Google Scholar]
  • 44.Lapenta, G. Exactly energy conserving semi-implicit particle in cell formulation. J. Comput. Phys.334, 349. 10.1016/j.jcp.2017.01.002 (2017). [Google Scholar]
  • 45.Lapenta, G., Gonzalez-Herrero, D. & Boella, E. Multiple-scale kinetic simulations with the energy conserving semi-implicit particle in cell method. J. Plasma Phys. Ser.83, 705830205 (2017). [Google Scholar]
  • 46.Gonzalez-Herrero, D., Boella, E. & Lapenta, G. Performance analysis and implementation details of the energy conserving semi-implicit method code (ecsim). Comput. Phys. Commun.229, 162. 10.1016/j.cpc.2018.03.020 (2018). [Google Scholar]
  • 47.Gonzalez-Herrero, D., Micera, A., Boella, E., Park, J. & Lapenta, G. Ecsim-cyl: Energy conserving semi-implicit particle in cell simulation in axially symmetric cylindrical coordinates. Comput. Phys. Commun.236, 153. 10.1016/j.cpc.2018.10.026 (2019). [Google Scholar]
  • 48.Lapenta, G. Advances in the implementation of the exactly energy conserving semi-implicit (ecsim) particle-in-cell method. Phys. Ser.5, 1 (2023). [Google Scholar]
  • 49.Croonen, J., Pezzini, L., Bacchini, F. & Lapenta, G. An exactly energy-conserving electromagnetic particle-in-cell method in curvilinear coordinates. Astrophys. J. Suppl. Ser.271, 63. 10.3847/1538-4365/ad31a3 (2024). [Google Scholar]
  • 50.Fonseca, R. A. et al. Osiris: A three-dimensional, fully relativistic particle in cell code for modeling plasma based accelerators. In: Proceedings of the international conference on computational science-part III, ICCS ’02, 342–351 (Springer, 2002).
  • 51.Villasenor, J. & Buneman, O. Rigorous charge conservation for local electromagnetic field solvers. Comput. Phys. Commun.69, 306. 10.1016/0010-4655(92)90169-Y (1992). [Google Scholar]
  • 52.Kirk, J. G. & Skjæraasen, O. Dissipation in poynting-flux-dominated flows: The -problem of the crab pulsar wind. Astr. Phys. Jour.591, 366. 10.1086/375215 (2003). [Google Scholar]
  • 53.Zeleny, L. M. & Taktakishvili, A. L. A kinetic theory of the magnetic islands merging instability. Plasma Phys. Control. Fusion30, 663. 10.1088/0741-3335/30/6/003 (1988). [Google Scholar]
  • 54.Shukla, N. et al. Accelerating the particle-in-cell code ecsim with openacc. Tech. rep., Platform for Advanced Scientific Computing Conference, Windisch, Switzerland (2025).
  • 55.Eichmann, B., Oikonomou, F., Salvatore, S., Dettmar, R.-J. & Tjus, J. B. Solving the multimessenger puzzle of the AGN-starburst composite galaxy NGC 1068. Astrophys. J.939, 43. 10.3847/1538-4357/ac9588 (2022) [arXiv:2207.00102]. [Google Scholar]
  • 56.Fromm, C. et al. Impact of non-thermal particles on the spectral and structural properties of m87. Astron. Astrophys.10.1051/0004-6361/202142295 (2022). [Google Scholar]
  • 57.Olivares, H. R., Mościbrodzka, M. A. & Porth, O. General relativistic hydrodynamic simulations of perturbed transonic accretion. A&A678, A141. 10.1051/0004-6361/202346010 (2023). [Google Scholar]
  • 58.Fiorillo, D. F. G., Petropoulou, M., Comisso, L., Peretti, E. & Sironi, L. Tev neutrinos and hard x-rays from relativistic reconnection in the corona of ngc 1068. Astrophys. J. Lett.961, L14. 10.3847/2041-8213/ad192b (2024). [Google Scholar]
  • 59.Mbarek, R., Philippov, A., Chernoglazov, A., Levinson, A. & Mushotzky, R. Interplay between accelerated protons, x rays and neutrinos in the corona of ngc 1068: Constraints from kinetic plasma simulations. Phys. Rev. D109, L101306. 10.1103/PhysRevD.109.L101306 (2024). [Google Scholar]
  • 60.Ball, D., Sironi, L. & Özel, F. Electron and proton acceleration in trans-relativistic magnetic reconnection: Dependence on plasma beta and magnetization. Astrophys. J.862, 80. 10.3847/1538-4357/aac820 (2018). [Google Scholar]
  • 61.Meringolo, C., Cruz-Osorio, A., Rezzolla, L. & Servidio, S. Microphysical plasma relations from special-relativistic turbulence. Astrophys. J.944, 122. 10.3847/1538-4357/acaefe (2023). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The main data and input files supporting the findings of this study are openly available in Zenodo at https://zenodo.org/records/16883720, reference number 16883720.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES