-
Vortex-p: a Helmholtz-Hodge and Reynolds decomposition algorithm for particle-based simulations
Authors:
David Vallés-Pérez,
Susana Planelles,
Vicent Quilis,
Frederick Groth,
Tirso Marin-Gilabert,
Klaus Dolag
Abstract:
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 relativ…
▽ More
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.
△ Less
Submitted 2 July, 2024;
originally announced July 2024.
-
Density Fluctuations in the Intracluster Medium: An Attempt to Constrain Viscosity with Cosmological Simulations
Authors:
Tirso Marin-Gilabert,
Ulrich P. Steinwandel,
Milena Valentini,
David Vallés-Pérez,
Klaus Dolag
Abstract:
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 sh…
▽ More
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 from 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 fluctuations is found to increase with viscosity, as well as the velocity fluctuations. However, comparison with observational data indicates consistency with observed 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.
△ Less
Submitted 17 June, 2024;
originally announced June 2024.
-
Towards cosmological simulations of the magnetized intracluster medium with resolved Coulomb collision scale
Authors:
Ulrich P. Steinwandel,
Klaus Dolag,
Ludwig Böss,
Tirso Marin-Gilabert
Abstract:
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 amplif…
▽ More
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.
△ Less
Submitted 7 June, 2023;
originally announced June 2023.
-
The role of physical and numerical viscosity in hydrodynamical instabilities
Authors:
Tirso Marin-Gilabert,
Milena Valentini,
Ulrich P. Steinwandel,
Klaus Dolag
Abstract:
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. Am…
▽ More
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.
△ Less
Submitted 19 October, 2022; v1 submitted 18 May, 2022;
originally announced May 2022.