English

The Kratos Framework for Heterogeneous Astrophysical Simulations: Ray Tracing, Reacting Flow and Thermochemistry

Instrumentation and Methods for Astrophysics 2026-02-03 v3 Computational Physics

Abstract

Thermochemistry, ray-tracing radiation, and radiation-matter interactions are important processes which are computationally difficult to model in astrophysical simulations, addressed by introducing novel algorithms optimized for heterogeneous architectures in the Kratos framework. Key innovations include a stoichiometry-compatible reconstruction scheme for consistent chemical species advection, which ensures element conservation while avoiding matrix inversions, and a LU decomposition method specifically designed for multi-thread parallelization in order to solve stiff thermochemical ordinary differential equations with high efficiency. The framework also implements efficient ray-tracing techniques for radiation transport for radiation-matter interactions. Various verification tests, spanning from chemical advection, combustion, Str\"omgren spheres, and detonation dynamics, are conducted to demonstrate the accuracy and robustness of Kratos, with results closely matching semi-analytic solutions and benchmarks such as Cantera and the Shock and Detonation Toolbox. The modular design and performance optimizations position it as a versatile tool for studying coupled microphysical processes in the diverse environments of contemporary astrophysical studies.

Keywords

Cite

@article{arxiv.2504.04941,
  title  = {The Kratos Framework for Heterogeneous Astrophysical Simulations: Ray Tracing, Reacting Flow and Thermochemistry},
  author = {Lile Wang},
  journal= {arXiv preprint arXiv:2504.04941},
  year   = {2026}
}

Comments

16 pages, 8 figures, submitted to ApJS