Searcharxiv⌕ Search

arXiv subjects

Giovanni Tedeschi-Prades

Publications and source records attributed to Giovanni Tedeschi-Prades.

4 recordsLinked to original sources

The OpenGadget3 Code for Cosmological Simulations

We present the public release of OpenGadget3 (OG3), a substantially extended and re-organised version of the widely used Gadget-2/3 family of cosmological simulation codes. Since G2 was made publicly available, the absence of continued official development led to the creation of numerous, mutually incompatible developer versions of G3 across the community. This made it effectively impossible to track bug fixes, reproduce published results, or consistently credit the many individual contributors. OG3 addresses this by consolidating these disparate developments into a single, documented, and continuously maintained code base, released under the GNU GPLv3 through a GitLab repository (with an accompanying wiki), regularly synchronised with the active developer branch, and supported by a dedicated continuous-integration (CI) pipeline. OG3 retains the core algorithmic backbone of its predecessors, a Barnes\&Hut oct-tree combined with a Particle-Mesh method for gravity, and a choice of Smoothed Particle Hydrodynamics or Meshless-Finite-Mass solvers for gas dynamics, within a hybrid MPI/OpenMP parallelisation framework, extended with GPU offloading via OpenACC and OpenMP. The code integrates an extensive suite of sub-resolution and physical modules, including primordial chemistry, radiative cooling, star formation, stellar feedback and chemical enrichment, dust formation and evolution, black hole growth and AGN feedback, MHD, thermal conduction, physical viscosity, SIDM, and massive neutrinos. OG3 introduces new features improving robustness, reproducibility, and usability: a flexible mixed-precision framework spanning 16- to 128-bit representations; expert-level tagged parameters with restart-time change log; extensive consistency checks against invalid configurations; and FAIR-compliant reporting of all settings, parameters, and specific publications. (shortened and abridged)

astro-ph.IM↗

Full one-fluid dusty gas with multiple grain species in SPH

We present a Smoothed Particle Hydrodynamics (SPH) implementation of the full one-fluid dusty gas algorithm for multiple dust species, generalising our previous terminal velocity approach to handle arbitrary drag regimes. By construction, mass, momentum, angular momentum, and energy are all conserved. We benchmark our method against a suite of tests -- DUSTYBOX, DUSTYWAVE, DUSTYSHOCK, DUSTYSETTLE, and DUSTYDISC -- each probing different aspects of the algorithm. Compared to the terminal velocity approximation, the full one-fluid approach incurs a computational cost increase of a factor of five to ten due to the added overhead of evolving the differential velocities and solving the drag terms implicitly. However, it accurately recovers analytic behaviour in regimes where the terminal velocity approximation fails. In such cases, errors from the terminal velocity approximation accumulate and propagate to other dust phases. We show that the stopping-time limiter commonly used in the terminal velocity approximation for numerical stability can substantially affect simulations containing large grains (Stokes numbers $\gtrsim 1$). While disabling the limiter leads to different outcomes, the discrepancy with the full one-fluid solution remains comparable, underscoring the importance of using a more general formulation for large grains. The full one-fluid formalism may be useful when including processes such as coagulation and fragmentation, where accurate treatment of large grains becomes essential. While the inability to model orbit-crossing dust trajectories remains a key limitation of the one-fluid formalism, this may eventually be addressed through the introduction of an effective dust pressure, mirroring how fluid models encapsulate microscopic velocity dispersion in gases.

astro-ph.EP↗

General Implicit Runge-Kutta Integrators for Multifluid Gas-Dust Aerodynamic Drag

The integration of aerodynamic drag is a fundamental step in simulating dust dynamics in hydrodynamical simulations. We propose a novel integration scheme, designed to be compatible with Strang splitting techniques, which allows for the straightforward integration of external forces and hydrodynamic fluxes in general-purpose hydrodynamic simulation codes. Moreover, this solver leverages an analytical solution to the problem of drag acceleration, ensuring linear complexity even in cases with multiple dust grain sizes, as opposed to the cubic scaling of methods that require a matrix inversion step. This new General Implicit Runge-Kutta integrator (GIRK) is evaluated using standard benchmarks for dust dynamics such as DUSTYBOX, DUSTYWAVE, and DUSTYSHOCK. The results demonstrate not only the accuracy of the method but also the expected scalings in terms of accuracy, convergence to equilibrium, and execution time. GIRK can be easily implemented in hydrodynamical simulations alongside hydrodynamical steps and external forces, and is especially useful in simulations with a large number of dust grain sizes.

astro-ph.IM↗

Modeling dust dynamics in OpenGadget3 -- I. SPH implementation of the One-Fluid model

Dust dynamics plays a critical role in astrophysical processes and has been modeled in hydrodynamical simulations using various approaches. Among particle-based methods like Smoothed Particle Hydrodynamics (SPH), the One-Fluid model has proven to be highly effective for simulating gas-dust mixtures. This study presents the implementation of the One-Fluid model in OpenGadget3, introducing improvements to the original formulation. These enhancements include time-dependent artificial viscosity and conductivity, as well as a novel treatment of dust diffusion using a pressure-like term. The improved model is tested using a suite of dust dynamics benchmark problems: DUSTYBOX, DUSTYWAVE, and DUSTYSHOCK, with the latter extended to multidimensional scenarios, as well as a dusty Sedov-Taylor blast wave. Additional tests include simulations of Cold Keplerian Disks, dusty protoplanetary disks, and Kelvin-Helmholtz instabilities to evaluate the model's robustness in more complex flows. The implementation successfully passes all standard benchmark tests. It demonstrates stability and accuracy in both simple and complex simulations. The new diffusion term improves the handling of flows with large dust-to-gas ratios and low drag coefficients, although limitations of the One-Fluid model in these regimes remain. The enhanced One-Fluid model is a reliable and robust tool for simulating dust dynamics in OpenGadget3. While it retains some limitations inherent to the original formulation, the introduced improvements expand its applicability and address some challenges in gas-dust dynamics.

astro-ph.IM↗