arXiv Science⌕ Search

arXiv · 2611.29772

py4radiation: a framework for generating heating/cooling functions and ion fractions from custom radiation fields for astrophysical simulations

Abstract

Modelling multiphase gas in and around galaxies is key to understanding the baryon cycle in galaxy evolution. Modern simulation codes rely on heating/cooling functions and ion fractions to capture the thermodynamics and chemistry of such gases, but coupling all physical factors remains challenging. We present a new Python-based, parallelised package that acts as an integration framework, connecting well-established astrophysical codes and models to produce self-consistent heating/cooling functions and ion fractions from custom ionising UV/X-ray backgrounds. The package returns multi-dimensional tables that can be readily coupled to hydrodynamic and post-processing codes to study radiative processes and extract observables, as we demonstrate with static cloud simulations. Our simulation suite studies the thermodynamic history of a static circumgalactic cloud with smoothed edges subjected to meta-galactic and starburst heating. We find that the clouds experience damped pulsations regulated by strong cooling-driven inflows and heating-driven outflows that constantly overshoot pressure equilibrium. Meta-galactic heating is weak and produces a confined and dense cloud, while starburst heating is strong and sustains large clouds only a little smaller than those obtained with the standard $10^4\,\rm K$ cooling floor. Starburst radiative heating acts as a damping agent, thereby reducing mixing. py4radiation comes with extensive documentation and a sample catalogue of heating/cooling functions and ion tables for a selected set of input meta-galactic and starburst spectral energy distributions. The code is publicly available and can be easily expanded.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Daniel Villarruel-Yánez, Wladimir E. Banda-Barragán, Benedetta Casavecchia. 2026-11-22. py4radiation: a framework for generating heating/cooling functions and ion fractions from custom radiation fields for astrophysical simulations. https://arxiv.science/abs/2611.29772

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Barycenter kinematics in Local Group analogues

We investigate a new way to identify systems similar to our Local Group (LG) of galaxies in cosmological simulations. We use as an additional constraint the velocity of the LG barycenter, which is measured accurately from cosmic microwave background data. Using different cosmological simulations we compare pairs selected with this constraint to pairs selected with traditional methods. Our method selects simulated galaxy pairs where M31's radial approach speed to the Milky Way is 2% to 7% lower depending on the cosmology, while we find no robust change in the tangential velocity. The difference in the radial component is statistically significant in 86 of the 93 cosmological models we test, but the shift is small (a few kms$^{-1}$) compared to the typical velocity dispersion of LG analogues (tens of kms$^{-1}$). Matching the observed barycenter velocity therefore has a measurable but modest effect on LG analogue kinematics, and is best treated as an optional refinement, rather than a necessary selection criterion.

astro-ph.GA↗

A Long Stellar Stream in M83: Possible Connection Between XUV Disks and Minor Mergers?

We present the confirmation and characterization of a long stream (S-stream) in the southern part of M83. This feature is revealed using deep wide-field photometric data obtained by the Hyper Suprime-Cam (HSC) mounted on the Subaru Telescope. Using individual red giant branch (RGB) stars, we successfully trace the stream over a large length of $\sim 81$~kpc and a considerable width of $\sim 9$ kpc. With a mean surface brightness of ${\langle μ_{\it V} \rangle} \sim 31.8_{-1.9}^{+1.3}$ mag arcsec$^{-2}$, it is one of the most diffuse extragalactic streams currently known. The mean photometric metallicity of the stream is $\langle[{\rm M/H}]\rangle = -1.23\pm0.02$ dex with a standard deviation of $0.28\pm0.01$ dex, and we estimate the stellar mass to be $(8.5_{-2.8}^{+4.2}) \times 10^6~{\rm M_\odot}$ from the luminosity of RGB stars. Compared to its well-known northern counterpart, the S-stream is slightly more metal-poor, but our large-area RGB map shows compelling evidence that these two features are related, originating from a single low-mass merger event. The projected RGB distribution shows apparent density variations along the S-stream, although their significance and physical origin remain uncertain. Similarities between the morphology of the S-stream and some features in the \HI distribution suggest that a minor merger event may have disturbed and redistributed M83's outer \HI gas, leading to triggered star formation and the formation of the XUV disk.

astro-ph.GA↗

Halo-driven Origin and Evolution of Overmassive Black Holes and Little Red Dots

We present a theoretical model in which the recently detected overmassive black holes (OBHs), and potentially Little Red Dots (LRDs), arise during a halo-driven transient phase preceding the established coevolution of supermassive black holes (SMBHs) and their host galaxies. In this model, halo gravity drives an early phase of rapid black hole growth, leading to systems in high-redshift haloes that lie above the local scaling relations. As the halo evolves, a transition in halo thermodynamics leads to the onset of a hot, pressure-supported medium that suppresses accretion, reducing the black hole growth rate and driving the system toward the local black hole mass$-$stellar mass relation. LRDs may represent an observational manifestation of the rapid, halo-driven growth phase, while OBHs trace its direct mass signature. Our model thus provides a unified framework in which these systems form and evolve toward the regulated coevolution observed in the local Universe.

astro-ph.GA↗