SearcharxivSearch

arXiv subjects

Andrea Mignone

Publications and source records attributed to Andrea Mignone.

At least 19 recordsLinked to original sources

Simulating megaparsec-scale jets of radio galaxies: Magneto-hydrodynamics of jets reaching 5 Mpc

Extragalactic jets have long prompted the question of how far relativistic outflows can extend, with some radio sources reaching 5 - 7 Mpc in length. These great extents motivate investigations into their ages, propagation dynamics, stability, and impact on the environment. We perform 3D high-resolution numerical simulations of two jet configurations involving continuous injection at different powers propagating in low-density regions of the cosmos (static and laminar), investigating the conditions for jet collimation versus disruption at extreme scales. We show that the combined effects of higher jet thrust (enhanced kinetic power), improved collimation (suppression of transverse distortions), and magnetic stabilization (strengthened poloidal field) can sustain a laterally confined flow, enabling such a jet to reach 5 Mpc in just 15 Myr (injecting a total energy of $2.3 \times 10^{61}$ erg into the environment). In contrast, a jet lacking these conditions dissipates more rapidly, forming lobe-like morphologies and reaching only $\sim 3$ Mpc over $\sim35$ Myr (injecting total energy of $8.1 \times 10^{60}$ erg). Pinch and kink MHD instabilities are identified as the primary drivers of transverse distortions; their suppression allows the persistence of a fast spine alongside a slower, dissipative head (location of maximum environmental interaction). We find that the jet-head propagation shows two regimes: one with speed $\sim0.5 c$; the other with speed from $\sim 0.2 c$ to $\sim 0.05 c$. We consider a proxy of synchrotron emission and find that radiation is concentrated in regions of enhanced compression and magnetic amplification, primarily near the first recollimation shock (producing a bright radio spot) and at the jet-head interaction zone (producing the radio termination lobe). Such jets facilitate the transport of substantial energy and magnetic flux into underdense cosmic regions.

astro-ph.GA

A fast spectral-multigrid Poisson solver in non-Cartesian geometries

Accurate and efficient computation of self-gravity is essential in astrophysical fluid dynamics, particularly in spherical and cylindrical geometries where large radial dynamic ranges and non-axisymmetric structures arise. Poisson solvers in such settings must simultaneously achieve high accuracy, scalability, and flexibility across a wide range of grid configurations and physical regimes. We present a robust and scalable Poisson solver for three-dimensional non-Cartesian geometries, supporting both spherical and cylindrical coordinates with either uniform or logarithmic radial discretizations. The method employs azimuthal Fourier decomposition to transform the 3D Poisson equation into a set of independent 2D Helmholtz equations. These are solved using a geometrically consistent multigrid algorithm that preserves second-order accuracy on both uniform and non-uniform grids. Vacuum boundary conditions are implemented through a screening-mass approach, enabling accurate solutions in domains with open boundaries, inner cavities, and strongly non-axisymmetric mass distributions. Owing to the differing convergence rates of Fourier modes -- where higher-order modes converge more rapidly -- the solver allows efficient mode-by-mode treatment. The combination of spectral decomposition and multigrid acceleration provides an efficient and flexible computational framework. The solver is implemented in the PLUTO code and validated against both analytical solutions and dynamical test problems in spherical and cylindrical geometries. Results demonstrate second-order convergence and excellent agreement with reference solutions. Weak-scaling tests up to 4096 cores show strong parallel performance, with the Poisson solve remaining subdominant to magnetohydrodynamic update cost. This makes the method well suited for large-scale simulations of star formation, accretion disks, and gravitational instabilities.

astro-ph.IM

On the Limits of Performance Portability in Directive-Based GPU Programming

The transition of scientific applications to GPU-accelerated exascale systems is constrained by trade-offs between performance, portability, and productivity. This work evaluates the performance portability of directive-based GPU programming by porting gPLUTO, a production-grade magnetohydrodynamics code for astrophysical simulations, from OpenACC to OpenMP, and analyzing its performance on NVIDIA A100 (Leonardo Booster) and AMD MI250X (LUMI-G) devices. On NVIDIA platforms, OpenACC and OpenMP achieve comparable performance due to a shared compiler backend, providing a consistent baseline for assessing algorithmic efficiency. In contrast, the same OpenMP implementation is approximately three times slower at the application level on AMD MI250X with respect to the NVIDIA A100 OpenACC baseline, with kernel-level slowdowns reaching up to an order of magnitude, driven by sensitivity to strided memory-access patterns and compiler limitations. Kernel-level profiling shows that the dominant contributors to run-time are memory-latency-bound rather than limited by peak band-width. In low-parallelism kernels, C++ abstraction layers increase register pressure and spilling, leading to extreme slowdowns of up to 47x in specific cases. These results indicate that portable performance across GPU architectures requires not only application-level changes but also continued advances in compiler backends and architecture-aware optimization strategies

cs.DC

The PLUTO Code on GPUs: Offloading Lagrangian Particle Methods

The Lagrangian Particles (LP) module of the PLUTO code offers a powerful simulation tool to predict the non-thermal emission produced by shock accelerated particles in large-scale relativistic magnetized astrophysics flows. The LPs represent ensembles of relativistic particles with a given energy distribution which is updated by solving the relativistic cosmic ray transport equation. The approach consistently includes the effects of adiabatic expansion, synchrotron and inverse Compton emission. The large scale nature of such systems creates boundless computational demand which can only be satisfied by targeting modern computing hardware such as Graphic Processing Units (GPUs). In this work we presents the GPU-compatible C++ re-design of the LP module, that, by means of the programming model OpenACC and the Message Passing Interface library, is capable of targeting both single commercial GPUs as well as multi-node (pre-)exascale computing facilities. The code has been benchmarked up to 28672 parallel CPUs cores and 1024 parallel GPUs demonstrating $\sim(80-90)\%$ weak scaling parallel efficiency and good strong scaling capabilities. Our results demonstrated a speedup of $6$ times when solving that same benchmark test with 128 full GPU nodes (4GPUs per node) against the same amount of full high-end CPU nodes (112 cores per node). Furthermore, we conducted a code verification by comparing its prediction to corresponding analytical solutions for two test cases. We note that this work is part of broader project that aims at developing gPLUTO, the novel and revised GPU-ready implementation of its legacy.

astro-ph.HE

Performance assessment of the gPLUTO code for the numerical modeling of radio galaxy evolution

High-resolution tri-axial simulations are indispensable for realistically co-modeling the dynamical signatures and the radiative fingerprints of astrophysical jets, which are becoming increasingly important in modern computational studies of jet physics. However, such simulations impose extreme computational requirements that often exceed the capabilities of conventional CPU-based codes. GPU-accelerated simulations offer a transformative solution to mitigate these limitations. In this work, we present a detailed performance benchmarking of the recently developed GPU-enabled PLUTO code (gPLUTO), demonstrating runtime speed-ups ranging from an order of magnitude to (approximately) over 30 relative to CPU-only configurations. A direct comparison between computations of extragalactic jet propagation performed at different grid resolutions confirm the physical fidelity and production readiness of the gPLUTO code, while underscoring the importance of resolving the jet radius adequately to capture the jet dynamics accurately. Leveraging GPU-PLUTO's capabilities, we finally present an application by performing high-resolution simulations of giant radio galaxy jets (GRGs $\gtrsim 1$ Mpc), representing the first such well-resolved 3D study to our knowledge (resolving scales down to 500 pc). These simulations probe a range of environmental effects on GRG jets, clarifying their formation from central galaxies within host cosmic structures, rapid peripheral expansion, and the development of asymmetric cocoon morphologies.

astro-ph.GA

2D or not 2D? Exploring 3D relativistic magnetic reconnection dynamics with highly accurate numerical simulations

Fast reconnection in magnetically dominated plasmas is widely invoked in models of dissipation in pulsar winds, gamma-ray flares in the Crab nebula, and to explain the radio nanoshots of pulsars. When current sheets evolve reaching a critical inverse aspect ratio, scaling as $S^{-1/3}$ with the plasma Lundquist number, the so-called \textit{ideal} tearing instability sets in, with modes growing, independently of $S$, extremely rapidly on timescales of only a few light-crossing times of the sheet length. We present the first set of fully 3D simulations of current-sheet disruption triggered by the ideal tearing instability within the resistive relativistic MHD approximation, as appropriate in situations where the Alfvén velocity approaches the speed of light. We compare 3D setups with different initial conditions with their 2D counterparts, and we assess the impact of dimensionality and of the magnetic field topology on the onset, evolution, and efficiency of reconnection. In force-free configurations, 3D runs develop ideal tearing, secondary instabilities, and a thick, turbulent current layer, sustaining dissipation of magnetic energy longer than in 2D. In pressure-balanced current sheets with a null guide field, 2D reference runs show the familiar reconnection dynamics, whereas in 3D tearing dynamics is quenched after the linear phase, as pressure-driven modes growing on forming plasmoids outcompete plasmoid coalescence and suppress fast dissipation of magnetic energy. Taken together, these results suggest that the evolution and efficiency of reconnection depend sensitively on the local plasma conditions and current-sheet configuration, and can be properly captured only in fully 3D simulations.

astro-ph.HE

EuroHPC SPACE CoE: Redesigning Scalable Parallel Astrophysical Codes for Exascale

High Performance Computing (HPC) based simulations are crucial in Astrophysics and Cosmology (A&C), helping scientists investigate and understand complex astrophysical phenomena. Taking advantage of exascale computing capabilities is essential for these efforts. However, the unprecedented architectural complexity of exascale systems impacts legacy codes. The SPACE Centre of Excellence (CoE) aims to re-engineer key astrophysical codes to tackle new computational challenges by adopting innovative programming paradigms and software (SW) solutions. SPACE brings together scientists, code developers, HPC experts, hardware (HW) manufacturers, and SW developers. This collaboration enhances exascale A&C applications, promoting the use of exascale and post-exascale computing capabilities. Additionally, SPACE addresses high-performance data analysis for the massive data outputs from exascale simulations and modern observations, using machine learning (ML) and visualisation tools. The project facilitates application deployment across platforms by focusing on code repositories and data sharing, integrating European astrophysical communities around exascale computing with standardised SW and data protocols.

astro-ph.IM

The PLUTO Code on GPUs: A First Look at Eulerian MHD Methods

We present preliminary performance results of gPLUTO, the new GPU-optimized implementation of the PLUTO code for computational plasma astrophysics. Like its predecessor, gPLUTO employs a finite-volume formulation to numerically solve the equations of magnetohydrodynamics (MHD) in multiple spatial dimensions. Still, this new implementation is a complete rewrite in C++ and leverages the OpenACC programming model to achieve acceleration on NVIDIA GPUs. While a more comprehensive description of the code and its several other modules will be presented in a future paper, here we focus on some preparatory results that demonstrate the code potential and performance on pre exa-scale parallel architectures.

physics.plasm-ph

Towards Exascale Computing for Astrophysical Simulation Leveraging the Leonardo EuroHPC System

Developing and redesigning astrophysical, cosmological, and space plasma numerical codes for existing and next-generation accelerators is critical for enabling large-scale simulations. To address these challenges, the SPACE Center of Excellence (SPACE-CoE) fosters collaboration between scientists, code developers, and high-performance computing experts to optimize applications for the exascale era. This paper presents our strategy and initial results on the Leonardo system at CINECA for three flagship codes, namely gPLUTO, OpenGadget3 and iPIC3D, using profiling tools to analyze performance on single and multiple nodes. Preliminary tests show all three codes scale efficiently, reaching 80% scalability up to 1,024 GPUs.

cs.DC

Binary black holes in magnetized AGN disks

Stellar-mass binary black hole (BBH) mergers occurring within the disks of active galactic nuclei (AGN) are promising sources for gravitational waves detectable by the LIGO, Virgo, and KAGRA (LVK) interferometers. Some of these events have also been potentially associated with transient electromagnetic flares, indicating that BBH mergers in dense environments may be promising sources of multi-messenger signals. To investigate the prospects for electromagnetic emission from these systems, we study the dynamics of accretion flows onto BBHs embedded in AGN disks using numerical simulations. Although recent studies have explored this scenario, they often employ simplified disk models that neglect magnetic fields. In this work, we examine how strong magnetic fields influence and regulate the accretion onto such binary systems. In this context, we conduct three-dimensional magnetohydrodynamical local shearing-box simulations of a binary black hole system embedded within a magnetized disk of an AGN. We observe that the dynamically important magnetic fields can drive the formation of well-collimated outflows capable of penetrating the vertical extent of the AGN disk. However, outflow generation is not ubiquitous and strongly depends on the radial distance of the binary from the supermassive black hole (SMBH). In particular, binaries placed at a larger distance from the central SMBH show relatively more transient accretion and the formation of stronger spiral shocks. Furthermore, accretion behavior onto the binary system via individual circum-singular disks (CSDs) is also modulated by local AGN disk properties. Our simulations highlight the importance of shear velocity in the amplification of the toroidal magnetic field component, which plays a crucial role in governing the outflow strength.

astro-ph.HE

PyPLUTO: a data analysis Python package for the PLUTO code

In recent years, numerical simulations have become indispensable for addressing complex astrophysical problems. The MagnetoHydroDynamics (MHD) framework represents a key tool for investigating the dynamical evolution of astrophysical plasmas, which are described as a set of partial differential equations that enforce the conservation of mass, momentum, and energy, along with Maxwell's equations for the evolution of the electromagnetic fields. Due to the high nonlinearity of the MHD equations (regardless of their specifications, e.g., classical/relativistic or ideal/resistive), a general analytical solution is precluded, making the numerical approach crucial. Numerical simulations usually end up producing large sets of data files, and their scientific analysis leans on dedicated software designed for data visualization. However, in order to encompass all of the code output features, specialized tools focusing on the numerical code may represent a more versatile and built-in tool. Here, we present PyPLUTO, a Python package tailored for efficient loading, manipulation, and visualization of outputs produced with the PLUTO code (Mignone et al., 2007; Mignone et al., 2012). PyPLUTO uses memory mapping to optimize data loading and provides general routines for data manipulation and visualization. PyPLUTO also supports the particle modules of the PLUTO code, enabling users to load and visualize particles, such as cosmic rays (Mignone et al., 2018), Lagrangian (Vaidya et al., 2018), or dust (Mignone et al., 2019) particles, from hybrid simulations. A dedicated Graphical User Interface simplifies the generation of single-subplot figures, making PyPLUTO a powerful yet user-friendly toolkit for astrophysical data analysis.

astro-ph.IM

Dusty substructures induced by planets in ALMA disks: how dust growth and dynamics changes the picture

Protoplanetary disks exhibit a rich variety of substructure in millimeter continuum emission, often attributed to unseen planets. As these planets carve gaps in the gas, dust particles can accumulate in the resulting pressure bumps, forming bright features in the dust continuum. We investigate the role of dust dynamics in the gap-opening process with 2D radiation hydrodynamics simulations of planet--disk interaction and a two-population dust component modeled as a pressureless fluid. We consider the opacity feedback and backreaction due to drag forces as mm grains accumulate in pressure bumps at different stages of dust growth. We find that dust dynamics can significantly affect the resulting substructure driven by the quasi-thermal-mass planet with $M_p/M_\star=10^{-4}$. Opacity feedback causes nonaxisymmetric features to become more compact in azimuth, whereas the drag-induced backreaction tends to dissolve nonaxisymmetries. For our fiducial model, this results in multiple concentric rings of dust rather than the expected vortices and corotating dust clumps found in models without dust feedback. A higher coagulation fraction disproportionately enhances the effect of dust opacity feedback, favoring the formation of crescents rather than rings. Our results suggest that turbulent diffusion is not always necessary to explain the rarity of observed nonaxisymmetric features, and that incorporating dust dynamics is vital for interpreting the observed substructure in protoplanetary disks. We also describe and test the implementation of the publicly-available dust fluid module in the PLUTO code.

astro-ph.EP

UV-processing of icy pebbles in the outer parts of VSI-turbulent disks

Icy dust particles emerge in star-forming clouds and are subsequently incorporated in protoplanetary disks, where they coagulate into larger pebbles up to mm in size. In the disk midplane, ices are shielded from UV radiation, but moderate levels of disk turbulence can lift small particles to the disk surface, where they can be altered, or destroyed. Nevertheless, studies of comets and meteorites generally find that ices at least partly retained their interstellar medium (ISM) composition before being accreted onto these minor bodies. Here we model this process through hydrodynamical simulations with VSI-driven turbulence in the outer protoplanetary disk. We use the PLUTO code in a 2.5 D global accretion setup and include Lagrangian dust particles of 0.1 and 1 mm sizes. In a post-processing step, we use the RADMC3D code to generate the local UV radiation field to assess the level of ice processing of pebbles. We find that a small fraction ($\sim$17$\%$) of 100 $μ$m size particles are frequently lifted up to $Z/R=0.2$ which can result in the loss of their pristine composition as their residence time in this layer allows for effective CO and water photodissociation. The larger 1 mm size particles remain UV-shielded in the disk midplane throughout the dynamical evolution of the disk. Our results indicate that the assembly of icy bodies via the accretion of drifting mm-size icy pebbles can explain the presence of pristine ice from the ISM, even in VSI-turbulent disks. Nevertheless, particles $\leq$ 100 $μ$m experience efficient UV processing and may mix with unaltered icy pebbles, resulting in a less ISM-like composition in the midplane.

astro-ph.EP

A Fourth-Order Finite Volume Scheme for Resistive Relativistic Magnetohydrodynamics

We present a finite-volume, genuinely 4th-order accurate numerical method for solving the equations of resistive relativistic magnetohydrodynamics (Res-RMHD) in Cartesian coordinates. In our formulation, the magnetic field is evolved in time in terms of face-average values via the constrained-transport method while the remaining variables (density, momentum, energy and electric fields) are advanced as cell volume-averages. Spatial accuracy employs 5th-order accurate WENO-Z reconstruction from point values (as described in a companion paper) to obtain left and right states at zone interfaces. Explicit flux evaluation is carried out by solving a Riemann problem at cell interfaces, using the Maxwell-Harten-Lax-van Leer with contact wave resolution (MHLLC). Time stepping is based on the implicit-explicit (IMEX) Runge-Kutta (RK) methods, of which we consider both the 3rd-order strong stability preserving SSP3(4,3,3) and a recent 4th-order additive RK scheme, to cope with the stiffness introduced by the source term in Ampere's law. Numerical benchmarks are presented in order to assess the accuracy and robustness of our implementation.

astro-ph.HE

Probing the role of self-gravity in clouds impacted by AGN-driven winds

The impact of winds and jet-inflated bubbles driven by active galactic nuclei (AGN) are believed to significantly affect the host galaxy's interstellar medium (ISM) and regulate star formation. To explore this scenario, we perform a suite of hydrodynamic simulations to model the interaction between turbulent star-forming clouds and highly pressurised AGN-driven outflows, focusing on the effects of self-gravity. Our results demonstrate that the cloudlets fragmented by the wind can become gravitationally bound, significantly increasing their survival time. While external pressurisation leads to a global collapse of the clouds in cases of weaker winds ($10^{42}-10^{43}~{\rm erg~s^{-1}}$), higher-power winds ($10^{44}-10^{45}~{\rm erg~s^{-1}}$) disperse the gas and cause localised collapse of the cloudlets. We also demonstrate that a kinetic energy-dominated wind is more efficient in accelerating and dispersing the gas than a thermal wind with the same power. The interaction can give rise to multi-phase outflows with velocities ranging from a few 100 to several 1000~${\rm km\,s^{-1}}$. The mass outflow rates are tightly correlated with the wind power, which we explain by an ablation-based mass-loss model. Moreover, the velocity dispersion and the virial parameter of the cloud material can increase by up to one order of magnitude through the effect of the wind. Even though the wind can suppress or quench star formation for about 1 Myr during the initial interaction, a substantial number of gravitationally bound dense cloudlets manage to shield themselves from the wind's influence and subsequently undergo rapid gravitational collapse, leading to an enhanced star formation rate (SFR).

astro-ph.GA

Mixing is easy: New insights for cosmochemical evolution from pre-stellar core collapse

Signposts of early planet formation are ubiquitous in substructured young discs. Dense, hot and high-pressure regions formed during gravitational collapse process, integral to star formation, facilitate dynamical mixing of dust within the protostellar disc. This provides an incentive to constrain the role of gas-dust interaction and resolve zones of dust concentration during star-disc formation. We explore if thermal and dynamical conditions developed during disc formation can generate gas flows that efficiently mix and transport well-coupled gas and dust components. We simulated the collapse of dusty molecular cloud cores with the hydrodynamics code PLUTO augmented with radiation transport and self-gravity. We used a 2D axisymmetric geometry and follow the azimuthal component of velocity. Dust was treated as Lagrangian particles that are subject to drag from the gas, whose motion is computed on a Eulerian grid. We considered 1, 10 and 100 micron-sized neutral spherical dust. Importantly, the equation of state accurately includes molecular hydrogen dissociation. We focus on molecular cloud core masses of 1 and 3 Msun and explore effects of initial rotation rates and cloud core sizes. Our study underlines mechanisms for early transport of dust from inner hot disc regions via the occurrence of meridional flows and outflow. The vortical flow fosters dynamical mixing and retention of dust while thermal pressure driven outflow replenishes dust in the outer disc. Young dynamical precursors to planet-forming discs exhibit regions with complex hydrodynamical gas features and high-temperature structures. These can play a crucial role in concentrating dust for subsequent growth into protoplanets. Dust transport, especially, from sub-au scales surrounding the protostar to outer relatively cooler parts, offers an efficient pathway for thermal reprocessing during pre-stellar core collapse. [Abridged]

astro-ph.SR

A $4^{\rm th}$-order accurate finite volume method for ideal classical and special relativistic MHD based on pointwise reconstructions

We present a novel implementation of a genuinely $4^{\rm th}$-order accurate finite volume scheme for multidimensional classical and special relativistic magnetohydrodynamics (MHD) based on the constrained transport (CT) formalism. The scheme introduces several novel aspects when compared to its predecessors yielding a more efficient computational tool. Among the most relevant ones, our scheme exploits pointwise to pointwise reconstructions (rather than one-dimensional finite volume ones), employs the generic upwind constrained transport averaging and sophisticated limiting strategies that include both a discontinuity detector and an order reduction procedure. Selected numerical benchmarks demonstrate the accuracy and robustness of the method.

astro-ph.HE

A self-gravity module for the PLUTO code

We present a novel implementation of an iterative solver for the solution of the Poisson equation in the PLUTO code for astrophysical fluid dynamics. Our solver relies on a relaxation method in which convergence is sought as the steady-state solution of a parabolic equation, whose time-discretization is governed by the \textit{Runge-Kutta-Legendre} (RKL) method. Our findings indicate that the RKL-based Poisson solver, which is both fully parallel and rapidly convergent, has the potential to serve as a practical alternative to conventional iterative solvers such as the \textit{Gauss-Seidel} (GS) and \textit{successive over-relaxation} (SOR) methods. Additionally, it can mitigate some of the drawbacks of these traditional techniques. We incorporate our algorithm into a multigrid solver to provide a simple and efficient gravity solver that can be used to obtain the gravitational potentials in self-gravitational hydrodynamics. We test our implementation against a broad range of standard self-gravitating astrophysical problems designed to examine different aspects of the code. We demonstrate that the results match excellently with the analytical predictions (when available), and the findings of similar previous studies.

astro-ph.IM