Virial-based extraction of structures in numerical simulations: The vibes tool - Simon Chevalier; Fabien Louvet; Yann Bernard; Frédérique Motte; Daniel J. Price; Noé Brucy; Maxime Valeille-Manet; Marta González-Garcia; Estelle Moraux; Isabelle Joncour; Benjamin Thomasson; Pierre Didelon (2026)
The processes that determine the stellar initial mass function (IMF) and its connection to the core mass function (CMF) are among the major open questions in star formation. The definition of a core remains unclear, yet the way they are extracted from simulations and observations critically shapes the CMF. Nowadays, cores are mostly detected through their density or intensity only. We aim to explore a new way to define cores in 3D numerical simulations based on a direct application of the virial theorem, and break free from some limitations induced by density-based methods. We intend to improve the accuracy and the physical meaning of the extracted cores. We developed vibes, an innovative method that makes full use of the virial theorem to extract overdensities in simulation snapshots. It works by building structures iteratively around density peaks, and applying the virial theorem to the structure at each iteration. Then, the structure boundary is set from the evolution of the its energy as it spatially grows. We used STARFORGE simulations to test the sensitivity of the extraction process to the main working parameters (constraints on the structure shape, iteration step, and peak selection criteria). This sensitivity is observed to be low. We compared our extraction with two density-based extraction algorithms, hop and dendrogram, that are observed to be very sensitive to their input density threshold parameter. Vibes returns structures that are coherent to each other and physically motivated, and it appears much more stable than existing 3D extraction tools. By defining the boundary of the cores on a physical criterion rather than on a user-defined set of density parameters, we expect such extracted cores to be closer to their forsaken definition: gas reservoirs that will form a single star or a close multiple system.
Keywords: astro-ph.SR; astro-ph.GA