KRIOS: A new basis-expansion $N$-body code for collisional stellar dynamics
Kerwann Tep, Brian T. Cook, Carl L. Rodriguez, Jiya Jolly, Eddie Sawin, Michael S. Petersen, Christoph Gaffud
TL;DR
KRIOS presents a hybrid N-body code that blends 3D self-consistent field (SCF) relaxation with Henon-style two-body scattering to model collisional stellar dynamics without assuming spherical symmetry. The method uses Zhao1996 basis functions parameterized by $(\alpha,b)$ to flexibly fit evolving cluster potentials, and updates the 3D mean field while applying energy-conserving two-body encounters to capture diffusion and relaxation. The authors validate the approach by reproducing the radial orbit instability, core collapse in Plummer spheres (isotropic, anisotropic, and rotating), and by benchmarking timing against direct N-body codes, demonstrating effective scaling and accuracy with controlled energy and angular momentum conservation. They also demonstrate the practical advantages of 3D modeling in capturing non-spherical features, anisotropy, and rotation, with clear prospects for incorporating external tidal fields and binary dynamics in future work. The work offers a scalable, accurate framework for exploring complex globular cluster dynamics beyond spherical, orbit-averaged approximations.
Abstract
The gravitational $N$-body problem is a nearly universal problem in astrophysics which, despite its deceptive simplicity, still presents a significant computational challenge. For collisional systems such as dense star clusters, the need to resolve individual encounters between $N$ stars makes the direct summation of forces - with quadratic complexity - almost infeasible for systems with $N\gtrsim 10^6$ particles over many relaxation times. At the same time, the most common Monte Carlo $N$-body algorithm - that of Hénon - assumes the cluster to be spherically symmetric. This greatly limits the study of many important features of star clusters, including triaxiality, rotation, and the production of tidal debris. In this paper, we present a new hybrid code, KRIOS, that combines 3D collisionless relaxation using an adaptive self-consistent field method with collisional dynamics handled via Hénon's method. We demonstrate that KRIOS can accurately model the long-term evolution of clusters and provide its complete phase-space information over many relaxation times. As a test of our new code, we present detailed comparisons to well-known results from stellar dynamics: (i) the collisional evolution of a family of Plummer spheres with varying anisotropy and rotation to core collapse, and (ii) the emergence of the radial-orbit instability in radially anisotropic star clusters, including its non-spherical effects.
