arXiv Science⌕ Search

arXiv · 2610.04655

Xenia: A Table-Driven Code for Astrophysical Multi-Fluid Hydrodynamics

Abstract

Models of escaping planetary atmospheres require neutral and ion species with distinct velocities and thermal pressures, coupled by photoionization, recombination, radiation, and collisions. Implementing and extending such coupled models is often hindered when species definitions and stiff interactions are embedded in solver-specific kernels. We present Xenia, a table-driven code for astrophysical multi-fluid hydrodynamics designed to lower this barrier. Species, coupling channels, chemistry, heating and cooling, and radiation channels are declared in Python, compiled to symbolic tapes, and passed through a versioned interface to shared C/Kokkos kernels; changing a problem therefore changes data rather than kernel code. For ionized configurations, electrons provide a pressure-only quasi-neutral closure: electron density follows from ion populations, electron mass and momentum are not advanced, and only electron pressure is transported. Stiff coupling is treated by operator splitting into a radial radiation scan, hyperbolic transport, and a cell-local implicit source solve. The same symbolic tapes yield an analytic finite-difference-free Jacobian for a direct dense LU solve. The public v0.1 release is validated with acoustic convergence, dustybox drag relaxation, conservation and closure contracts, two-fluid cloud-shock coupling, curvilinear geometry bookkeeping, three escape chains, and 394 passing tests. Conservation and positivity are not claimed to match mature production codes; radiation uses a radial Beer-Lambert prefix product rather than a general solver; escape chains are reproducibility checks rather than new science predictions; and backend evidence is limited to functional deployment and equivalence fingerprints. Xenia is released under GPLv2 at https://github.com/YFG-tec/xenia.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Lei Xing. 2026-10-03. Xenia: A Table-Driven Code for Astrophysical Multi-Fluid Hydrodynamics. https://arxiv.org/abs/2610.04655

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Geometrical and Optical Design of the GUEST Laser-Ranged Test Masses for the Detection of Gravitational Waves in the $μ$Hz range

The GUEST (Gravitational Universe Exploration with Satellite Tracking) mission aims at detecting gravitational waves in the yet almost unexplored $μ$Hz frequency range through high-precision orbital tracking. The unprecedented scientific objectives of this experiment demand equally advanced optical solutions: the highly eccentric orbit imposes dual measurement regimes; a low-velocity, long-range scenario at apogee and a high-velocity, short-range scenario at perigee. The substantial disparity between these conditions is addressed through a novel optical architecture incorporating two distinct types of Corner-Cube Retroreflectors (CCRs) with 1" and 2" apertures (CCR1 and CCR2, respectively). The proposed layout has been designed to ensure isotropy and homogeneity of the optical response while maintaining efficient packing over the spherical surface of the spacecraft. The resulting Optical Cross-Section (OCS) has been evaluated using a custom reduced-order model, which captures the behavior of individual CCRs under varying illumination conditions. This model has been calibrated by reconstructing the optical response of the LARES-2 satellite and has enabled a detailed assessment of the contributions of each CCR type along the GUEST orbit. Finally, sensitivity analyses have been conducted to investigate the impact of key design parameters, including the ratio between CCR types, laser wavelength, spacecraft diameter, Dihedral Angle Offsets (DAOs), and mechanical configurations.

astro-ph.IM↗

COSMIO: A Benchmark for Cross-Survey Modality Imputation

Large-scale astronomical surveys define a heterogeneous, partially observed multi-survey learning setting: each object is observed by only a subset of surveys, while survey observations differ in resolutions, wavelength coverage, noise characteristics, and footprints. This setting gives rise to a natural machine learning problem: given observations of an object in some surveys, how to infer its appearance in other surveys. We formalize this as the problem of cross-survey modality imputation and introduce COSMIO, a multi-survey benchmark of aligned observations obtained by forward-rendered shared astrophysical scenes across LSST, Euclid, and Roman under survey-specific instrument characteristics. The benchmark enables systematic evaluation of imputation across source-target survey combinations and missing-survey patterns. We evaluate a broad range of machine learning methods for imputation, which reveal a clear domain gap: methods developed for existing imputation settings transfer poorly to the survey setting. We identify rare-event imputation as a central challenge. This regime arises in the early stages of new surveys, when rare but scientifically valuable phenomena may be available only from prior surveys. We use strong gravitational lensing, where light from a background galaxy is gravitationally deflected by a foreground galaxy, as a representative rare-event setting. We evaluate model performance on zero-shot imputation of gravitational lenses and on downstream scientific tasks using the imputed lens observations. On our constructed evaluation set of galaxy-galaxy strong lenses, performance degrades under rare-event distribution shift, and this degradation further propagates to the downstream lens-detection task. Code: https://github.com/fw-ic/COSMIO.

astro-ph.IM↗

Photometric calibration of the 4m ILMT data

The International Liquid Mirror Telescope (ILMT) is a 4-meter survey telescope continuously observing towards the zenith in the SDSS g', r', and i' bands. This survey telescope is designed to detect various astrophysical transients (for example, supernovae) and very faint objects like multiply-imaged quasars and low surface brightness galaxies. Ensuring accurate and stable calibration of supernova (SN) and quasar measurements is essential for studying their intrinsic variability and long-term brightness evolution. In this work, we present a dedicated calibration approach tailored for ILMT point-like object observations obtained in Time Delayed Integration (TDI) mode. Using ZTF reference sources cross-matched with the Pan-STARRS1 catalog, we derive robust photometric zero-points along the ILMT scan. This calibration procedure enables the production of consistent, high-precision SN and quasar light curves, suitable for variability studies, structure-function analysis, and future reverberation-mapping applications.

astro-ph.IM↗