SearcharxivSearch

arXiv subjects

Tirso Marin-Gilabert

Publications and source records attributed to Tirso Marin-Gilabert.

9 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

Constraining Effective Viscosity in the Intracluster Medium via the Thermal Sunyaev-Zeldovich Effect -- Predictions from the SLOW Constrained Coma Cluster Simulations

We study the effect of viscosity on the Sunyaev-Zeldovich signal in a simulated constrained Coma cluster analog. We aim to provide alternative constraints on the amount of viscosity in the ICM. We use the Coma cluster realization with different levels of viscosity from the LOWER DECKS zoom-ins of the SLOW constrained simulations. We generate mock thermal and kinetic Sunyaev-Zeldovich maps and and analyze their statistics. We compare them to Planck observations. Viscosity shows a consistent trend in thermal SZ (tSZ) profiles, increasing the signal in the center and suppressing it in the outskirts. Viscosity also has a strong effect on the tSZ power spectrum, elevating its amplitude on all scales. Comparisons with Planck observations suggest that the effective ICM viscosity is below $5\%$ of the Spitzer value. Unsharp masking reveals an effect on small scales, which are, however, not yet detectable with current observational data. The thermal Sunyaev-Zeldovich effect shows clear and consistent trends that allow us to probe the effective viscosity of the ICM. Our analysis suggests suppressed ICM viscosity below $5\%$ of the Spitzer value, consistent with previous X-ray analysis. Our results validate the strength of the SZ effect as an independent method to constrain ICM viscosity.

astro-ph.CO

Braginskii Viscosity in Cosmological Simulations of Galaxy Clusters: Implementation, Validation, and First Application

We present the implementation of an anisotropic viscosity solver within the magnetohydrodynamics (MHD) framework of the TreeSPH code OpenGadget3. The solver models anisotropic viscous transport along magnetic field lines following the Braginskii formulation and includes physically motivated limiters based on the mirror and firehose instability thresholds, which constrain the viscous stress in weakly collisional plasmas. To validate the implementation, we performed a suite of standard test problems -- including two variants of the sound wave test, circularly and linearly polarized Alfven waves, fast magnetosonic wave, and the Kelvin-Helmholtz instability -- both with and without the plasma-instability limiters. The results show excellent agreement with the AREPO implementation of a similar anisotropic viscosity model, confirming the accuracy and robustness of our method. Our formulation integrates seamlessly within the individual adaptive timestepping framework of OpenGadget3, avoiding the need for subcycling. This provides efficient and stable time integration while maintaining physical consistency. Finally, we applied the new solver to a cosmological zoom-in simulation of a galaxy cluster as a proof-of-concept application, demonstrating its capability to model anisotropic transport and plasma microphysics in realistic large-scale environments. Our implementation offers a versatile and computationally efficient tool for studying anisotropic viscosity in magnetized astrophysical systems.

astro-ph.IM

The (Limited) Effect of Viscosity in Multiphase Turbulent Mixing

Multiphase gas can be found in many astrophysical environments, such as galactic outflows, stellar wind bubbles, and the circumgalactic medium, where the interplay between turbulence, cooling, and viscosity can significantly influence gas dynamics and star formation processes. We investigate the role of viscosity in modulating turbulence and radiative cooling in turbulent radiative mixing layers (TRMLs). In particular, we aim to determine how different amounts of viscosity affect the Kelvin-Helmholtz instability (KHI), turbulence evolution, and the efficiency of gas mixing and cooling. Using idealized 2D numerical setups, we compute the critical viscosity required to suppress the KHI in shear flows characterized by different density contrasts and Mach numbers. These results are then used in a 3D shear layer setup to explore the impact of viscosity on cooling efficiency and turbulence across different cooling regimes. We find that the critical viscosity follows the expected dependence on overdensity and Mach number. Our viscous TRMLs simulations show different behaviors in the weak and strong cooling regimes. In the weak cooling regime, viscosity has a strong impact, resulting in laminar flows and breaking previously established inviscid relations between cooling and turbulence (albeit leaving the total luminosity unaffected). However, in the strong cooling regime, when cooling timescales are shorter than viscous timescales, key scaling relations in TRMLs remain largely intact. In this regime -- which must hold for gas to remain multiphase -- radiative losses dominate, and the system effectively behaves as non-viscous regardless of the actual level of viscosity. Our findings have direct implications for both the interpretation of observational diagnostics and the development of subgrid models in large-scale simulations.

astro-ph.GA

Merge and Strip II: Imprint of galaxy formation physics and viscosity on baryon-dominated dwarf galaxies

Motivated by the discovery of peculiar dwarf galaxies inside galaxy clusters such as blue candidates (BCs), dark galaxies and ultra-diffuse galaxies (UDGs), we present hydrodynamic simulations of galaxy mergers in cluster environments. We vary the viscosity and stellar feedback prescriptions, realistically modelling possible conditions for hydrodynamic drag and fluid instabilities, as well as internal destabilization through stellar feedback-driven heating and gas loss. We find that long-lived tidal dwarf galaxies (TDGs) can form throughout all viscosity values applicable to galaxy clusters if stellar feedback is moderate. Our results expand on studies of cloud crushing simulations, investigating the entrainment problem in intracluster medium ambience. The smallest clouds have gas masses on the order of $M_\text{gas} \sim 10^7 \text{ M}_\odot$ and reach relatively low final drift velocities of $\sim 100 \text{ km/s}$. The lowest possible Reynolds number acting on this class of clouds is $Re \sim 1$ for full Spitzer viscosity. Almost all TDGs display elevated star formation rates of $0.01-0.1 \text{ M}_\odot / \text{yr}$, which are stable across several Gyr. Based on their matching properties, we support that BCs observed in the Virgo cluster are likely stripped TDGs. Similar features are also found in comparison with dark galaxies and baryon-dominated UDGs, implying that a subsample of these objects are also long-lived TDGs. This work provides robust evidence that stripping from galaxy mergers is a viable channel for the formation of stable cold gas clouds and dark matter-deficient galaxies observed in galaxy clusters.

astro-ph.GA

Density Fluctuations in the Intracluster Medium: An Attempt to Constrain Viscosity with Cosmological Simulations

The impact of viscosity in the Intracluster Medium (ICM) is still an open question in astrophysics. To address this problem, we have run a set of cosmological simulations of three galaxy clusters with a mass larger than $M_{\mathrm{Vir}} > 10^{15} $M$_{\odot}$ at $z=0$ using the SPMHD-code OpenGadget3. We aim to quantify the influence of viscosity and constrain its value in the ICM. Our results show significant morphological differences at small scales, temperature variations, and density fluctuations induced by viscosity. We observe a suppression of instabilities at small scales, resulting in a more filamentary structure and a larger amount of small structures due to the lack of mixing with the medium. The conversion of kinetic to internal energy leads to an increase of the virial temperature of the cluster of $\sim$5% - 10%, while the denser regions remain cold. The amplitude of density and velocity fluctuations are found to increase with viscosity. However, comparison with observational data indicates that the simulations, regardless of the viscosity, match the observed slope of the amplitude of density fluctuations, challenging the direct constraint of viscosity solely through density fluctuations. Furthermore, the ratio of density to velocity fluctuations remains close to 1 regardless of the amount of viscosity, in agreement with the theoretical expectations. Our results show for the first time in a cosmological simulation of a galaxy cluster the effect of viscosity in the ICM, a study that is currently missing in the literature.

astro-ph.CO

Vortex-p: a Helmholtz-Hodge and Reynolds decomposition algorithm for particle-based simulations

Astrophysical turbulent flows display an intrinsically multi-scale nature, making their numerical simulation and the subsequent analyses of simulated data a complex problem. In particular, two fundamental steps in the study of turbulent velocity fields are the Helmholtz-Hodge decomposition (compressive+solenoidal; HHD) and the Reynolds decomposition (bulk+turbulent; RD). These problems are relatively simple to perform numerically for uniformly-sampled data, such as the one emerging from Eulerian, fix-grid simulations; but their computation is remarkably more complex in the case of non-uniformly sampled data, such as the one stemming from particle-based or meshless simulations. In this paper, we describe, implement and test vortex-p, a publicly available tool evolved from the vortex code, to perform both these decompositions upon the velocity fields of particle-based simulations, either from smoothed particle hydrodynamics (SPH), moving-mesh or meshless codes. The algorithm relies on the creation of an ad-hoc adaptive mesh refinement (AMR) set of grids, on which the input velocity field is represented. HHD is then addressed by means of elliptic solvers, while for the RD we adapt an iterative, multi-scale filter. We perform a series of idealised tests to assess the accuracy, convergence and scaling of the code. Finally, we present some applications of the code to various SPH and meshless finite-mass (MFM) simulations of galaxy clusters performed with OpenGadget3, with different resolutions and physics, to showcase the capabilities of the code.

astro-ph.IM

Towards cosmological simulations of the magnetized intracluster medium with resolved Coulomb collision scale

We present the first results of one extremely high resolution, non-radiative magnetohydrodynamical cosmological zoom-in simulation of a massive cluster with a virial mass M$_\mathrm{vir} = 2.0 \times 10^{15}$ solar masses. We adopt a mass resolution of $4 \times 10^5$ M$_{\odot}$ with a maximum spatial resolution of around 250 pc in the central regions of the cluster. We follow the detailed amplification process in a resolved small-scale turbulent dynamo in the Intracluster medium (ICM) with strong exponential growth until redshift 4, after which the field grows weakly in the adiabatic compression limit until redshift 2. The energy in the field is slightly reduced as the system approaches redshift zero in agreement with adiabatic decompression. The field structure is highly turbulent in the center and shows field reversals on a length scale of a few 10 kpc and an anti-correlation between the radial and angular field components in the central region that is ordered by small-scale turbulent dynamo action. The large-scale field on Mpc scales is almost isotropic, indicating that the structure formation process in massive galaxy cluster formation is suppressing memory of both the initial field configuration and the amplified morphology via the turbulent dynamo in the central regions. We demonstrate that extremely high-resolution simulations of the magnetized ICM are in reach that can resolve the small-scale magnetic field structure which is of major importance for the injection of and transport of cosmic rays in the ICM. This work is a major cornerstone for follow-up studies with an on-the-fly treatment of cosmic rays to model in detail electron-synchrotron and gamma-ray emissions.

astro-ph.CO

The role of physical and numerical viscosity in hydrodynamical instabilities

The evolution of the Kelvin-Helmholtz Instability (KHI) is widely used to assess the performance of numerical methods. We employ this instability to test both the smoothed particle hydrodynamics (SPH) and the meshless finite mass (MFM) implementation in OpenGadget3. We quantify the accuracy of SPH and MFM in reproducing the linear growth of the KHI with different numerical and physical set-ups. Among them, we consider: $i)$ numerical induced viscosity, and $ii)$ physically motivated, Braginskii viscosity, and compare their effect on the growth of the KHI. We find that the changes of the inferred numerical viscosity when varying nuisance parameters such as the set-up or the number of neighbours in our SPH code are comparable to the differences obtained when using different hydrodynamical solvers, i.e. MFM. SPH reproduces the expected reduction of the growth rate in the presence of physical viscosity and recovers well the threshold level of physical viscosity needed to fully suppress the instability. In the case of galaxy clusters with a virial temperature of $3\times10^7$ K, this level corresponds to a suppression factor of $\approx10^{-3}$ of the classical Braginskii value. The intrinsic, numerical viscosity of our SPH implementation in such an environment is inferred to be at least an order of magnitude smaller (i.e. $\approx10^ {-4}$), re-ensuring that modern SPH methods are suitable to study the effect of physical viscosity in galaxy clusters.

astro-ph.CO