A Machine Learning Approach to Coupling Photoionization & Multi-Frequency Radiation Hydrodynamics
A Machine Learning Approach to Coupling Photoionization & Multi-Frequency Radiation Hydrodynamics
Sergei Dyda, Randall C. Dannen
AbstractWe use machine learning (ML) to couple photoionization microphysics to radiation hydrodynamic simulations of line-driven winds. ML models are trained on outputs from the photoionization code XSTAR to predict the line-driving force multiplier as a function of gas ionization, optical depth, and the blackbody temperature of the irradiating spectral energy distribution (SED). We implement the trained models within Athena++, enabling rapid runtime evaluation of the radiative acceleration without directly solving the photoionization problem during the hydrodynamic evolution. We find that random forest models provide the highest accuracy and reproduce the force multipliers over a three-dimensional parameter space more accurately, and with less training data, than traditional precomputed tables using trilinear interpolation. Because the framework treats the force multiplier as a function of the evolving local SED, it can be generalized to more complex radiation fields and arbitrary spectral shapes. More broadly, this work demonstrates how ML can serve as a computational framework for embedding expensive microphysical calculations within large-scale dynamical simulations.