A Python Interface for Numerical Relativity Program AMSS-NCKU
Chen-Kai Qiao, Yi Zheng, Zhou-Jian Cao
TL;DR
AMSS-NCKU provides a powerful numerical relativity tool but its workflow remains relatively complex; this paper presents a Python interface that automates input generation, simulation execution, and visualization to simplify end-to-end runs. The approach adds a user-friendly Python script (AMSSNCKUInput.py) and an interactive terminal interface, enabling reproducible workflows with minimal manual reconfiguration. The authors validate the method on binary and triple black hole mergers, obtaining stable, physically consistent outputs such as orbital dynamics and gravitational-wave signals, with plots automatically produced from the simulation data. This work lowers entry barriers for new users and sets the stage for future extensions, including post-Newtonian dynamics and NSBH coalescences, by leveraging the Python ecosystem to broaden applicability in numerical relativity and gravitational-wave studies.
Abstract
Numerical relativity has produced profound and extensive impacts on modern astrophysics and gravitational-wave astronomy. In this work, we develop a Python interface for the numerical relativity program AMSS-NCKU. This interface enables the automation of initializing and executing the AMSS-NCKU simulations, as well as the automated visualization of the output data. To show the practical utility of this Python interface, we present two representative examples of numerical relativity simulations (the binary and triple black hole merger processes), obtaining well-behaved stable numerical results and the expected physical behaviors for black hole systems. The Python operational interface significantly reduces the operational complexity of the AMSS-NCKU simulation workflow, lowering the technical barriers for freshman users. Keywords: Numerical Relativity, Gravitational Waves, Black Hole Physics, Python
