[Paper Review] CRPropa 3.0 - a Public Framework for Propagating UHE Cosmic Rays through Galactic and Extragalactic Space
CRPropa 3.0 is a redesigned, publicly available cosmic ray propagation framework that enables high-performance, modular simulations of ultra-high-energy cosmic rays (UHECRs) through 3D galactic and extragalactic environments, incorporating cosmological redshift evolution and galactic magnetic field (GMF) deflections. It achieves significant performance gains via Python and XML steering, with benchmark results showing up to 7.5x speedup in optimized configurations, enabling detailed studies of UHECR spectra, composition, and anisotropy in realistic astrophysical scenarios.
The interpretation of experimental data of ultra-high energy cosmic rays (UHECRs) above 10^17 eV is still under controversial debate. The development and improvement of numerical tools to propagate UHECRs in galactic and extragalactic space is a crucial ingredient to interpret data and to draw conclusions on astrophysical parameters. In this contribution the next major release of the publicly available code CRPropa (3.0) is presented. It reflects a complete redesign of the code structure to facilitate high performance computing and comprises new physical features such as an interface for galactic propagation using lensing techniques and inclusion of cosmological effects in a three-dimensional environment. The performance is benchmarked and first applications are presented.
Motivation & Objective
- To develop a high-performance, modular framework for simulating UHECR propagation through complex 3D astrophysical environments.
- To enable accurate modeling of cosmological redshift effects and extragalactic magnetic field (EGMF) deflections in 3D simulations.
- To support detailed studies of UHECR spectra, composition, and anisotropy by incorporating realistic source distributions and magnetic field models.
- To improve computational efficiency and scalability for large-scale simulations using parallelization and optimized steering via Python and XML.
- To provide a publicly accessible, extensible tool for testing astrophysical scenarios of UHECR origin and propagation.
Proposed method
- The code uses a modular architecture where cosmic ray candidates are processed by independent modules that modify particle states, track secondaries, and handle interactions such as photo-disintegration, pion production, and pair production.
- Cosmic ray candidates store all propagation state information, including energy, charge, position, direction, and module-specific data, enabling concurrent processing for high-performance computing.
- Cosmological effects such as redshift evolution of photon backgrounds and adiabatic expansion are implemented via a posteriori corrections in 3D simulations where path length is unknown a priori.
- Galactic magnetic field (GMF) deflections are modeled using a 3D field map (e.g., JF12 model) applied after extragalactic propagation, with deflection angles computed based on particle rigidity and field strength.
- The framework supports both XML steering for backward compatibility with CRPropa 2.0 and full programmatic control via Python bindings, enabling interactive simulation setup and custom module development.
- Performance benchmarks are conducted using 1D and 3D test cases, comparing runtime per particle/trajectory against CRPropa 2.0 under identical conditions.
Experimental results
Research questions
- RQ1How can cosmological redshift evolution be accurately incorporated into 3D UHECR propagation simulations where path length is not known in advance?
- RQ2To what extent do galactic magnetic fields (GMF) isotropize UHECR arrival directions, and how does this depend on particle composition and injection energy?
- RQ3What is the impact of large-scale structure magnetic fields on UHECR spectra and composition, particularly for iron nuclei?
- RQ4How does the modular, high-performance design of CRPropa 3.0 improve computational efficiency and scalability compared to CRPropa 2.0?
- RQ5Can CRPropa 3.0 achieve significant speedup in 3D simulations through optimized Python-based steering and parallelization?
Key findings
- CRPropa 3.0 achieves a runtime of 4.5 ms per particle in 1D simulations, representing a 48% improvement over CRPropa 2.0’s 8.7 ms.
- In 3D simulations with turbulent magnetic fields, CRPropa 3.0 runs in 7.5 ms per trajectory using the 2.0-compatible XML mode, though optimized Python steering reduces this to 1.0 ms per trajectory.
- The code scales efficiently with parallelization, achieving near-linear speedup up to 8 CPU threads, enabling efficient use of cluster resources with 16 GB RAM per simulation.
- Simulations show that extragalactic magnetic fields cause strong deflections, with mean deflection angles approaching 90° for protons and iron, indicating near-complete loss of directional memory.
- For iron nuclei, the spectrum deviates significantly from the universal spectrum due to strong magnetic field confinement in large-scale structures, as seen in the Miniati et al. simulation.
- Galactic magnetic fields do not fully isotropize proton arrival directions, as evidenced by residual anisotropy in sky maps, while iron nuclei show stronger deflection and spectral distortion due to higher charge-to-mass ratio.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.