-
A GPU-Accelerated Modern Fortran Version of the ECHO Code for Relativistic Magnetohydrodynamics
Authors:
Luca Del Zanna,
Simone Landi,
Lorenzo Serafini,
Matteo Bugli,
Emanuele Papini
Abstract:
The numerical study of relativistic magnetohydrodynamics (MHD) plays a crucial role in high-energy astrophysics, but unfortunately is computationally demanding, given the complex physics involved (high Lorentz factor flows, extreme magnetization, curved spacetimes near compact objects) and the large variety of spatial scales needed to resolve turbulent motions. A great benefit comes from the porti…
▽ More
The numerical study of relativistic magnetohydrodynamics (MHD) plays a crucial role in high-energy astrophysics, but unfortunately is computationally demanding, given the complex physics involved (high Lorentz factor flows, extreme magnetization, curved spacetimes near compact objects) and the large variety of spatial scales needed to resolve turbulent motions. A great benefit comes from the porting of existing codes running on standard processors to GPU-based platforms. However, this usually requires a drastic rewriting of the original code, the use of specific languages like CUDA, and a complex analysis of data management and optimization of parallel processes. Here we describe the porting of the ECHO code for special and general relativistic MHD to accelerated devices, simply based on native Fortran language built-in constructs, especially 'do concurrent' loops, few OpenACC directives, and the straightforward data management provided by the Unified Memory option of NVIDIA compilers.Thanks to these very minor modifications to the original code, the new version of ECHO runs at least 16 times faster on GPU platforms compared to CPU-based ones. The chosen benchmark is the 3D propagation of a relativistic MHD Alfvén wave, for which strong and weak scaling tests performed on the LEONARDO pre-exascale supercomputer at CINECA are provided (using up to 256 nodes corresponding to 1024 GPUs, and over 14 billion cells). Finally, an example of high-resolution relativistic MHD Alfvénic turbulence simulation is shown, demonstrating the potential for astrophysical plasmas of the new GPU-based version of ECHO.
△ Less
Submitted 5 January, 2024;
originally announced January 2024.
-
The essential role of multi-point measurements in investigations of turbulence, three-dimensional structure, and dynamics: the solar wind beyond single scale and the Taylor Hypothesis
Authors:
W. H. Matthaeus,
S. Adhikari,
R. Bandyopadhyay,
M. R. Brown,
R. Bruno,
J. Borovsky,
V. Carbone,
D. Caprioli,
A. Chasapis,
R. Chhiber,
S. Dasso,
P. Dmitruk,
L. Del Zanna,
P. A. Dmitruk,
Luca Franci,
S. P. Gary,
M. L. Goldstein,
D. Gomez,
A. Greco,
T. S. Horbury,
Hantao Ji,
J. C. Kasper,
K. G. Klein,
S. Landi,
Hui Li
, et al. (27 additional authors not shown)
Abstract:
Space plasmas are three-dimensional dynamic entities. Except under very special circumstances, their structure in space and their behavior in time are not related in any simple way. Therefore, single spacecraft in situ measurements cannot unambiguously unravel the full space-time structure of the heliospheric plasmas of interest in the inner heliosphere, in the Geospace environment, or the outer h…
▽ More
Space plasmas are three-dimensional dynamic entities. Except under very special circumstances, their structure in space and their behavior in time are not related in any simple way. Therefore, single spacecraft in situ measurements cannot unambiguously unravel the full space-time structure of the heliospheric plasmas of interest in the inner heliosphere, in the Geospace environment, or the outer heliosphere. This shortcoming leaves numerous central questions incompletely answered. Deficiencies remain in at least two important subjects, Space Weather and fundamental plasma turbulence theory, due to a lack of a more complete understanding of the space-time structure of dynamic plasmas. Only with multispacecraft measurements over suitable spans of spatial separation and temporal duration can these ambiguities be resolved. We note that these characterizations apply to turbulence across a wide range of scales, and also equally well to shocks, flux ropes, magnetic clouds, current sheets, stream interactions, etc. In the following, we will describe the basic requirements for resolving space-time structure in general, using turbulence' as both an example and a principal target or study. Several types of missions are suggested to resolve space-time structure throughout the Heliosphere.
△ Less
Submitted 26 November, 2022; v1 submitted 22 November, 2022;
originally announced November 2022.
-
Systematic construction of upwind constrained transport schemes for MHD
Authors:
Andrea Mignone,
Luca Del Zanna
Abstract:
The constrained transport (CT) method reflects the state of the art numerical technique for preserving the divergence-free condition of magnetic field to machine accuracy in multi-dimensional MHD simulations performed with Godunov-type, or upwind, conservative codes. The evolution of the different magnetic field components, located at zone interfaces using a staggered representation, is achieved b…
▽ More
The constrained transport (CT) method reflects the state of the art numerical technique for preserving the divergence-free condition of magnetic field to machine accuracy in multi-dimensional MHD simulations performed with Godunov-type, or upwind, conservative codes. The evolution of the different magnetic field components, located at zone interfaces using a staggered representation, is achieved by calculating the electric field components at cell edges, in a way that has to be consistent with the Riemann solver used for the update of cell-centered fluid quantities at interfaces. Albeit several approaches have been undertaken, the purpose of this work is, on the one hand, to compare existing methods in terms of robustness and accuracy and, on the other, to extend the \emph{upwind contrained transport} (UCT) method by Londrillo \& Del Zanna (2004) and Del Zanna et al. (2007) for the systematic construction of new averaging schemes. In particular, we propose a general formula for the upwind fluxes of the induction equation which simply involves the information available from the base Riemann solver employed for the fluid part, provided it does not require full spectral decomposition, and 1D reconstructions of velocity and magnetic field components from nearby intercell faces to cell edges. Our results are presented here in the context of second-order schemes for classical MHD, but they can be easily generalized to higher than second order schemes, either based on finite volumes or finite differences, and to other physical systems retaining the same structure of the equations, such as that of relativistic or general relativistic MHD.
△ Less
Submitted 31 July, 2020; v1 submitted 21 April, 2020;
originally announced April 2020.
-
Fast Magnetic Reconnection: Secondary Tearing Instability and Role of the Hall Term
Authors:
Emanuele Papini,
Simone Landi,
Luca Del Zanna
Abstract:
Magnetic reconnection provides the primary source for explosive energy release, plasma heating and particle acceleration in many astrophysical environments. The last years witnessed a revival of interest in the MHD tearing instability as a driver for efficient reconnection. It has been established that, provided the current sheet aspect ratio becomes small enough ($a/L \sim S^{-1/3}$ for a given L…
▽ More
Magnetic reconnection provides the primary source for explosive energy release, plasma heating and particle acceleration in many astrophysical environments. The last years witnessed a revival of interest in the MHD tearing instability as a driver for efficient reconnection. It has been established that, provided the current sheet aspect ratio becomes small enough ($a/L \sim S^{-1/3}$ for a given Lundquist number $S\gg 1$), reconnection occurs on ideal Alfvén timescales and becomes independent on $S$. Here we investigate, by means of two-dimensional simulations, the \emph{ideal} tearing instability in the Hall-MHD regime, which is appropriate when the width of the resistive layer $δ$ becomes comparable to the ion inertial length $d_i$. Moreover, we study in detail the spontaneous development and reconnection of secondary current sheets, which for high $S$ naturally adjust to the ideal aspect ratio and hence their evolution proceeds very rapidly. For moderate low $S$, the aspect ratio tends to the Sweet-Parker scaling ($a/L \sim S^{-1/2}$), in order to fulfill the condition $δ\ll a$ necessary for the onset of a tearing instability. When the Hall term is included, the reconnection rate of this secondary nonlinear phase is enhanced and, depending on the ratio $d_i/δ$, can be twice with respect to the pure MHD case, and up to ten times larger than the linear phase. Therefore, the evolution of the tearing instability in thin current sheets in the Hall-MHD regime naturally leads to an explosive disruption of the reconnecting site and to energy release on super-Alfvénic timescales, as required to explain astrophysical observations.
△ Less
Submitted 7 November, 2019; v1 submitted 16 June, 2019;
originally announced June 2019.
-
A Constrained Transport Method for the Solution of the Resistive Relativistic MHD Equations
Authors:
A. Mignone,
G. Mattia,
G. Bodo,
L. Del Zanna
Abstract:
We describe a novel Godunov-type numerical method for solving the equations of resistive relativistic magnetohydrodynamics. In the proposed approach, the spatial components of both magnetic and electric fields are located at zone interfaces and are evolved using the constrained transport formalism. Direct application of Stokes' theorem to Faraday's and Ampere's laws ensures that the resulting disc…
▽ More
We describe a novel Godunov-type numerical method for solving the equations of resistive relativistic magnetohydrodynamics. In the proposed approach, the spatial components of both magnetic and electric fields are located at zone interfaces and are evolved using the constrained transport formalism. Direct application of Stokes' theorem to Faraday's and Ampere's laws ensures that the resulting discretization is divergence-free for the magnetic field and charge-conserving for the electric field. Hydrodynamic variables retain, instead, the usual zone-centred representation commonly adopted in finite-volume schemes. Temporal discretization is based on Runge-Kutta implicit-explicit (IMEX) schemes in order to resolve the temporal scale disparity introduced by the stiff source term in Ampere's law. The implicit step is accomplished by means of an improved and more efficient Newton-Broyden multidimensional root-finding algorithm. The explicit step relies on a multidimensional Riemann solver to compute the line-averaged electric and magnetic fields at zone edges and it employs a one-dimensional Riemann solver at zone interfaces to update zone-centred hydrodynamic quantities. For the latter, we introduce a five-wave solver based on the frozen limit of the relaxation system whereby the solution to the Riemann problem can be decomposed into an outer Maxwell solver and an inner hydrodynamic solver. A number of numerical benchmarks demonstrate that our method is superior in stability and robustness to the more popular charge-conserving divergence cleaning approach where both primary electric and magnetic fields are zone-centered. In addition, the employment of a less diffusive Riemann solver noticeably improves the accuracy of the computations.
△ Less
Submitted 2 April, 2019;
originally announced April 2019.
-
[Plasma 2020 Decadal] The essential role of multi-point measurements in turbulence investigations: the solar wind beyond single scale and beyond the Taylor Hypothesis
Authors:
W. H. Matthaeus,
R. Bandyopadhyay,
M. R. Brown,
J. Borovsky,
V. Carbone,
D. Caprioli,
A. Chasapis,
R. Chhiber,
S. Dasso,
P. Dmitruk,
L. Del Zanna,
P. A. Dmitruk,
Luca Franci,
S. P. Gary,
M. L. Goldstein,
D. Gomez,
A. Greco,
T. S. Horbury,
Hantao Ji,
J. C. Kasper,
K. G. Klein,
S. Landi,
Hui Li,
F. Malara,
B. A. Maruca
, et al. (24 additional authors not shown)
Abstract:
This paper briefly reviews a number of fundamental measurements that need to be made in order to characterize turbulence in space plasmas such as the solar wind. It has long been known that many of these quantities require simultaneous multipoint measurements to attain a proper characterization that would reveal the fundamental physics of plasma turbulence. The solar wind is an ideal plasma for su…
▽ More
This paper briefly reviews a number of fundamental measurements that need to be made in order to characterize turbulence in space plasmas such as the solar wind. It has long been known that many of these quantities require simultaneous multipoint measurements to attain a proper characterization that would reveal the fundamental physics of plasma turbulence. The solar wind is an ideal plasma for such an investigation, and it now appears to be technologically feasible to carry out such an investigation, following the pioneering Cluster and MMS missions. Quantities that need to be measured using multipoint measurements include the two-point, two-time second correlation function of velocity, magnetic field and density, and higher order statistical objects such as third and fourth order structure functions. Some details of these requirements are given here, with a eye towards achieving closure on fundamental questions regarding the cascade rate, spectral anisotropy, characteristic coherent structures, intermittency, and dissipation mechanisms that describe plasma turbuelence, as well as its variability with plasma parameters in the solar wind. The motivation for this discussion is the current planning for a proposed Helioswarm mission that would be designed to make these measurements,leading to breakthrough understanding of the physics of space and astrophysical turbulence.
△ Less
Submitted 16 March, 2019;
originally announced March 2019.
-
Fast magnetic reconnection: The "ideal" tearing instability in classic, Hall, and relativistic plasmas
Authors:
Emanuele Papini,
Simone Landi,
Luca Del Zanna
Abstract:
Magnetic reconnection is believed to be the driver of many explosive phenomena in Astrophysics, from solar to gamma-ray flares in magnetars and in the Crab nebula. However, reconnection rates from classic MHD models are far too slow to explain such observations. Recently, it was realized that when a current sheet gets sufficiently thin, the reconnection rate of the tearing instability becomes "ide…
▽ More
Magnetic reconnection is believed to be the driver of many explosive phenomena in Astrophysics, from solar to gamma-ray flares in magnetars and in the Crab nebula. However, reconnection rates from classic MHD models are far too slow to explain such observations. Recently, it was realized that when a current sheet gets sufficiently thin, the reconnection rate of the tearing instability becomes "ideal", in the sense that the current sheet destabilizes on the "macroscopic" Alfvénic timescales, regardless of the Lundquist number of the plasma. Here we present 2D compressible MHD simulations in the classical, Hall, and relativistic regimes. In particular, the onset of secondary tearing instabilities is investigated within Hall-MHD for the first time. In the frame of relativistic MHD, we summarize the main results from Del Zanna et al. [1]: the relativistic tearing instability is found to be extremely fast, with reconnection rates of the order of the inverse of the light crossing time, as required to explain the high-energy explosive phenomena.
△ Less
Submitted 29 January, 2018;
originally announced January 2018.
-
Activation of MHD reconnection on ideal timescales
Authors:
S. Landi,
E. Papini,
L. Del Zanna,
A. Tenerani,
F. Pucci
Abstract:
Magnetic reconnection in laboratory, space and astrophysical plasmas is often invoked to explain explosive energy release and particle acceleration. However, the timescales involved in classical models within the macroscopic MHD regime are far too slow to match the observations. Here we revisit the tearing instability by performing visco-resistive two-dimensional numerical simulations of the evolu…
▽ More
Magnetic reconnection in laboratory, space and astrophysical plasmas is often invoked to explain explosive energy release and particle acceleration. However, the timescales involved in classical models within the macroscopic MHD regime are far too slow to match the observations. Here we revisit the tearing instability by performing visco-resistive two-dimensional numerical simulations of the evolution of thin current sheets, for a variety of initial configurations and of values of the Lunquist number $S$, up to $10^7$. Results confirm that when the critical aspect ratio of $S^{1/3}$ is reached in the reconnecting current sheets, the instability proceeds on ideal (Alfvénic) macroscopic timescales, as required to explain observations. Moreover, the same scaling is seen to apply also to the local, secondary reconnection events triggered during the nonlinear phase of the tearing instability, thus accelerating the cascading process to increasingly smaller spatial and temporal scales. The process appears to be robust, as the predicted scaling is measured both in inviscid simulations and when using a Prandtl number $P=1$ in the viscous regime.
△ Less
Submitted 12 October, 2016;
originally announced October 2016.
-
Fast reconnection in relativistic plasmas: the magnetohydrodynamics tearing instability revisited
Authors:
L. Del Zanna,
E. Papini,
S. Landi,
M. Bugli,
N. Bucciantini
Abstract:
Fast reconnection operating in magnetically dominated plasmas is often invoked in models for magnetar giant flares, for magnetic dissipation in pulsar winds, or to explain the gamma-ray flares observed in the Crab nebula, hence its investigation is of paramount importance in high-energy astrophysics. Here we study, by means of two dimensional numerical simulations, the linear phase and the subsequ…
▽ More
Fast reconnection operating in magnetically dominated plasmas is often invoked in models for magnetar giant flares, for magnetic dissipation in pulsar winds, or to explain the gamma-ray flares observed in the Crab nebula, hence its investigation is of paramount importance in high-energy astrophysics. Here we study, by means of two dimensional numerical simulations, the linear phase and the subsequent nonlinear evolution of the tearing instability within the framework of relativistic resistive magnetohydrodynamics, as appropriate in situations where the Alfven velocity approaches the speed of light. It is found that the linear phase of the instability closely matches the analysis in classical MHD, where the growth rate scales with the Lundquist number S as S^-1/2, with the only exception of an enhanced inertial term due to the thermal and magnetic energy contributions. In addition, when thin current sheets of inverse aspect ratio scaling as S^-1/3 are considered, the so-called "ideal" tearing regime is retrieved, with modes growing independently on S and extremely fast, on only a few light crossing times of the sheet length. The overall growth of fluctuations is seen to solely depend on the value of the background Alfven velocity. In the fully nonlinear stage we observe an inverse cascade towards the fundamental mode, with Petschek-type supersonic jets propagating at the external Alfven speed from the X-point, and a fast reconnection rate at the predicted value R~(ln S)^-1.
△ Less
Submitted 20 May, 2016;
originally announced May 2016.
-
Parametric decay of parallel and oblique Alfven waves in the expanding solar wind
Authors:
L. Del Zanna,
L. Matteini,
S. Landi,
A. Verdini,
M. Velli
Abstract:
The long-term evolution of large-amplitude Alfven waves propagating in the solar wind is investigated by performing two-dimensional MHD simulations within the expanding box model. The linear and nonlinear phases of the parametric decay instability are studied for both circularly polarized waves in parallel propagation and for arc-polarized waves in oblique propagation. The non-monochromatic case i…
▽ More
The long-term evolution of large-amplitude Alfven waves propagating in the solar wind is investigated by performing two-dimensional MHD simulations within the expanding box model. The linear and nonlinear phases of the parametric decay instability are studied for both circularly polarized waves in parallel propagation and for arc-polarized waves in oblique propagation. The non-monochromatic case is also considered. In the oblique case, the direct excitation of daughter modes transverse to the local background field is found for the first time in an expanding environment, and this transverse cascade seems to be favored for monochromatic mother waves. The expansion effect reduces the instability growth rate, and it can even suppress its onset for the lowest frequency modes considered here, possibly explaining the persistence of these outgoing waves in the solar wind.
△ Less
Submitted 22 July, 2014;
originally announced July 2014.