Interpolation of turbulent magnetic fields and its consequences on diffusive cosmic ray propagation
arXiv:1907.09934 · doi:10.3847/1538-4357/ab643b
Abstract
Numerical simulations of the propagation of charged particles through magnetic fields solving the equation of motion often leads to the usage of an interpolation in case of discretely defined magnetic fields, typically given on a homogeneous grid structure. However, the interpolation method influences the magnetic field properties on the scales of the grid spacing and the choice of interpolation routine can therefore change the result. At the same time, it provides an impact, i.e.\ error, on the spatial particle distribution. We compare three different interpolation routines -- trilinear, tricubic and nearest neighbor interpolation -- in the case of turbulent magnetic fields and show that there is no benefit in using trilinear interpolation. We show that in comparison, the nearest neighbor interpolation provides the best performance, i.e.\ requires least CPU time and results in the smallest error. In addition, we optimize the performance of an algorithm that generates a continuous grid-less turbulent magnetic field by more than an order of magnitude. This continuous method becomes practicable for the simulation of large particle numbers and its accuracy is only limited by the used number of wave-modes. We show that by using more than 100 wave-modes the diffusive behavior of the spatial particle distribution in form of the diffusion coefficient is determined with an error less than a few percentage.
arXiv commentversion accepted for publication in ApJ
References in corpus (14)
- The NumPy array: a structure for efficient numerical computation
- Magnetic Fields in the Early Universe
- On the Origin of Cosmic Magnetic Fields
- CRPropa 3 - a Public Astrophysical Simulation Framework for Propagating Extraterrestrial Ultra-High Energy Particles
- The Cosmological Impact of Luminous TeV Blazars I: Implications of Plasma Instabilities for the Intergalactic Magnetic Field and Extragalactic Gamma-Ray Background
- New limits on extragalactic magnetic fields from rotation measures
- Simulations of ultra-high Energy Cosmic Rays in the local Universe and the origin of Cosmic Magnetic Fields
- Anisotropies of ultra-high energy cosmic rays diffusing from extragalactic sources
- New constraints on modelling the random magnetic field of the MW
- Charged particle diffusion in isotropic random magnetic fields
- Implications of Strong Intergalactic Magnetic Fields for Ultra-High-Energy Cosmic-Ray Astronomy
- On numerical turbulence generation for test-particle simulations
- Measuring the correlation length of intergalactic magnetic fields from observations of gamma-ray induced cascades
- Static Multiresolution Grids with Inline Hierarchy Information for Cosmic Ray Propagation
Cited by in corpus (13)
- CRPropa 3.2 -- an advanced framework for high-energy particle propagation in extragalactic and galactic spaces
- The Gamma-Ray Window to Intergalactic Magnetism
- Turbulence-Level Dependence of Cosmic-Ray Parallel Diffusion
- Regimes of cosmic-ray diffusion in Galactic turbulence
- Test particle simulations of cosmic rays
- Anisotropic cosmic-ray diffusion in isotropic Kolmogorov turbulence
- Efficient micromirror confinement of sub-TeV cosmic rays in galaxy clusters
- No longer ballistic, not yet diffusive--the formation of cosmic ray small-scale anisotropies
- Towards Synthetic Magnetic Turbulence with Coherent Structures
- Diffusion of relativistic charged particles and field lines in isotropic turbulence: II. Analytical models
- Efficient charged particle propagation methods
- Towards Modelling AR Sco: Generalised Particle Dynamics and Strong Radiation-Reaction Regimes
- Towards Modelling AR Sco: Calibration -- Reproducing High-Energy Pulsar Emission and Testing Convergence to Aristotelian Electrodynamics