CRPropa 3—a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles

Rafael Alves Batista, A. Dundovic, M. Erdmann, K.‐h. Kampert, D. Kuempel, Gero Müller, G. Sigl, A. van Vliet, D. Walz, T. WinchenJournal of Cosmology and Astroparticle Physics 2016 · DOI

TL;DR

This paper introduces CRPropa 3, a significantly upgraded open-source simulation framework for ultra-high energy cosmic rays (UHECRs). It offers a highly modular and flexible design, enabling researchers to efficiently build and test complex astrophysical scenarios, incorporating new physics features like advanced magnetic field modeling and time-dependent propagation.

What Problem Does This Paper Address?

Understanding the origin and propagation of UHECRs is a fundamental challenge in astrophysics. These particles, with energies exceeding $10^{18}$ eV, travel vast cosmic distances, interacting with magnetic fields and background radiation. Reconstructing their journey from source to Earth requires sophisticated simulations that can accurately model a multitude of physical processes, including particle interactions, magnetic deflections (both galactic and extragalactic), and cosmological effects. Previous simulation tools often lacked the flexibility to easily incorporate new physics or were computationally inefficient for complex scenarios. CRPropa 3 aims to address this by providing a robust, extensible, and performant framework for these simulations.

Methods

CRPropa 3 is built upon a completely reworked, modular architecture, moving away from the XML steering of its predecessor (CRPropa 2) towards a more modern, C++ based design interfaced with Python via SWIG. This modularity allows users to assemble simulation pipelines by selecting and sequencing independent "modules," each responsible for a specific physical process (e.g., magnetic field interaction, photodisintegration, pair production). This design facilitates extensibility, allowing users to easily add their own physics modules.

Key new features include:

  • Advanced Magnetic Field Modeling: Support for arbitrary magnetic field implementations, including new models for galactic fields (Jansson & Farrar, Pshirkov et al.) and enhanced capabilities for extragalactic fields derived from cosmological simulations.
  • Galactic Propagation via Lensing: An efficient "lensing technique" for backtracking particles through the galactic magnetic field, significantly speeding up simulations of extragalactic cosmic ray arrival directions.
  • Improved Photonuclear Interactions: Updated cross-section calculations for photodisintegration and pion production, incorporating the latest TALYS nuclear reaction code and a wider range of intergalactic photon background models.
  • 4D Propagation Mode: A novel feature that extends 3D simulations to include time-dependent effects by incorporating redshift, crucial for accurately modeling interactions with evolving background photon fields and source evolution.
  • Electromagnetic Cascade Simulation: Integration with specialized codes (DINT and EleCa) for simulating electromagnetic cascades, allowing for a more complete picture of secondary particle production.

Datasets

The paper does not explicitly mention the use of specific observational datasets for training. Instead, it focuses on the simulation framework itself and its ability to model various astrophysical scenarios. The "datasets" in this context are the simulated outputs of cosmic ray propagation under different physical assumptions. The paper references various models and databases for physical parameters, such as:

  • Intergalactic Photon Background (IRB) Models: Kneiske 2004, Stecker 2005, Franceschini 2008, Finke 2010, Dominguez 2011, and Gilmore 2012.
  • Galactic Magnetic Field Models: Jansson & Farrar 2012, Pshirkov et al.
  • Nuclear Reaction Data: TALYS (versions 1.0, 1.6, 1.8) and IAEA atlas for photodisintegration cross-sections.
  • Cosmological Models: Standard ACDM cosmology parameters.

Key Insights and Ideas

  • Modularity is Key: The shift to a highly modular, Python-interfaced C++ framework is a significant step towards making complex UHECR simulations more accessible and adaptable. This allows researchers to easily swap out physics components or add new ones without rewriting the entire simulation.
  • Galactic Lensing for Efficiency: The introduction of the "lensing technique" for galactic propagation is a clever computational optimization. Instead of simulating forward propagation through the galaxy, backtracking particles from the observer and mapping their trajectories dramatically reduces computational cost for studies of arrival directions.
  • 4D Propagation for Accuracy: Incorporating redshift into the simulation (4D mode) is essential for accurately modeling interactions with evolving background photon fields and for studying time-dependent source phenomena, which are critical at UHECR energies.
  • Unified Multi-Messenger Framework: CRPropa 3's ability to simulate not only primary UHECRs but also secondary messengers like neutrinos and photons within a single framework is crucial for a holistic understanding of high-energy astrophysical phenomena.

Key Results

The paper demonstrates the capabilities of CRPropa 3 through several example applications:

  • 1D Simulations: Showcases the production of secondary particles (electrons, photons, neutrinos) from proton and iron primaries, highlighting the differences in secondary particle yields and energy distributions.
  • 3D Simulations: Illustrates the impact of extragalactic and galactic magnetic field deflections on UHECR arrival directions. The results show a noticeable smoothing of sky maps when galactic magnetic fields are included, particularly for iron nuclei. The angular power spectra demonstrate the sensitivity of anisotropy measurements to the presence of magnetic fields.
  • 4D Simulations: Compares 1D, 3D, and 4D simulations for proton and iron injection, revealing that while spectral differences are generally small, the mass composition observed at Earth can show noticeable effects, especially in the transition region around $10^{19}$ eV, due to adiabatic energy losses and interactions in the 4D scenario.

Limitations and Future Work

  • Magnetic Field Evolution: While CRPropa 3 supports time-dependent magnetic fields, the explicit evolution of structured extragalactic magnetic fields from MHD simulations is not yet implemented, though the framework allows for its addition. The paper notes that the redshift evolution of the magnetic field was not considered in the presented examples, which could be important at lower energies.
  • Secondary Photon Interactions: Secondary photons from the photodisintegration/de-excitation of heavy nuclei are not considered in the current version [46].
  • Computational Cost: While improvements have been made, 3D simulations, especially those involving complex magnetic fields, can still be computationally intensive. The paper mentions that ideal linear scaling is achieved up to about 8 threads, with limitations in output modules and external libraries.
  • Future Work: The authors are developing a dedicated module for simulating electromagnetic cascades, aiming to integrate it seamlessly into the CRPropa 3 framework. They also highlight the potential for exploring more complex source evolution scenarios and the impact of magnetic field evolution with redshift. The code is publicly available, encouraging community contributions and further development.

Summary updated

Abstract

We present the simulation framework CRPropa version 3 designed for efficient development of astrophysical predictions for ultra-high energy particles. Users can assemble modules of the most relevant propagation effects in galactic and extragalactic space, include their own physics modules with new features, and receive on output primary and secondary cosmic messengers including nuclei, neutrinos and photons. In extension to the propagation physics contained in a previous CRPropa version, the new version facilitates high-performance computing and comprises new physical features such as an interface for galactic propagation using lensing techniques, an improved photonuclear interaction calculation, and propagation in time dependent environments to take into account cosmic evolution effects in anisotropy studies and variable sources. First applications using highlighted features are presented as well.
BibTeX
@article{batista2016crpropa,
  author = {Rafael Alves Batista and A. Dundovic and M. Erdmann and K.‐H. Kampert and D. Kuempel and Gero Müller and G. Sigl and A. van Vliet and D. Walz and T. Winchen},
  title = {{CRPropa 3—a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles}},
  journal = {Journal of Cosmology and Astroparticle Physics},
  year = {2016},
  doi = {10.1088/1475-7516/2016/05/038},
}
Figure