15 January 2020 in Monthly Notices of the Royal Astronomical Society
We present the novel algorithmically regularized integration method mstar for high-accuracy (|ΔE/E| ≳ 10−14) integrations of N-body systems using minimum spanning tree coordinates. The twofold parallelization of the $\mathcal {O}(N_\mathrm{part}^2)$ force loops and the substep divisions of the extrapolation method allow for a parallel scaling up to NCPU = 0.2 × Npart. The efficient parallel scaling of mstar makes the accurate integration of much larger particle numbers possible compared to the traditional algorithmic regularization chain (ar-chain) methods, e.g. Npart = 5000 particles on 400 CPUs for 1 Gyr in a few weeks of wall-clock time. We present applications of mstar on few particle systems, studying the Kozai mechanism and N-body systems like star clusters with up to Npart = 104 particles. Combined with a tree or fast multipole-based integrator, the high performance of mstar removes a major computational bottleneck in simulations with regularized subsystems. It will enable the next-generation galactic-scale simulations with up to 109 stellar particles (e.g. $m_\star = 100 \, \mathrm{M}_\odot$ for an $M_\star = 10^{11} \, \mathrm{M}_\odot$ galaxy), including accurate collisional dynamics in the vicinity of nuclear supermassive black holes.
1 April 2022 in The Astrophysical Journal
We model here the merger histories of the supermassive black hole (SMBH) population in the late stages of a cosmological simulation of a ∼ 2 × 1013 M ⊙ galaxy group. The gravitational dynamics around the several tens of SMBHs (M • > 7.5 × 107 M ⊙) hosted by the galaxies in the group is computed at high accuracy using regularized integration with the KETJU code. The 11 SMBHs that form binaries and a hierarchical triplet eventually merge after hardening through dynamical friction, stellar scattering, and gravitational wave (GW) emission. The binaries form at eccentricities of e ∼ 0.3–0.9, with one system evolving to a very high eccentricity of e = 0.998, and merge on timescales of a few tens to several hundred megayears. During the simulation, the merger-induced GW recoil kicks eject one SMBH remnant from the central host galaxy. This temporarily drives the galaxy off the M •–σ ⋆ relation; however, the galaxy returns to the relation due to subsequent galaxy mergers, which bring in new SMBHs. This showcases a possible mechanism contributing to the observed scatter of the M •–σ ⋆ relation. Finally, we show that pulsar timing arrays and LISA would be able to detect parts of the GW signals from the SMBH mergers that occur during the ∼4 Gyr time span simulated with KETJU.
1 May 2021 in The Astrophysical Journal Letters
We present here a self-consistent cosmological zoom-in simulation of a triple supermassive black hole (SMBH) system forming in a complex multiple galaxy merger. The simulation is run with an updated version of our code KETJU, which is able to follow the motion of SMBHs down to separations of tens of Schwarzschild radii while simultaneously modeling the large-scale astrophysical processes in the surrounding galaxies, such as gas cooling, star formation, and stellar and AGN feedback. Our simulation produces initially an SMBH binary system for which the hardening process is interrupted by the late arrival of a third SMBH. The KETJU code is able to accurately model the complex behavior occurring in such a triple SMBH system, including the ejection of one SMBH to a kiloparsec-scale orbit in the galaxy due to strong three-body interactions as well as Lidov–Kozai oscillations suppressed by relativistic precession when the SMBHs are in a hierarchical configuration. One pair of SMBHs merges ∼3 Gyr after the initial galaxy merger, while the remaining binary is at a parsec-scale separation when the simulation ends at redshift z = 0. We also show that KETJU can capture the effects of the SMBH binaries and triplets on the surrounding stellar population, which can affect the binary merger timescales as the stellar density in the system evolves. Our results demonstrate the importance of dynamically resolving the complex behavior of multiple SMBHs in galactic mergers, as such systems cannot be readily modeled using simple orbit-averaged semianalytic models.
6 August 2018 in The Astrophysical Journal
Ray tracing is a central tool for constructing mock observations of compact object emission and for comparing physical emission models with observations. We presentArcmancer, a publicly available general ray-tracing and tensor algebra library, written in C++and providing a Python interface.Arcmancersupports Riemannian and semi-Riemannian spaces of any dimension and metric, and has novel features such as support for multiple simultaneous coordinate charts, embedded geometric shapes, local coordinate systems, and automatic parallel propagation. TheArcmancerinterface is extensively documented and user friendly. While these capabilities make the library well suited for a large variety of problems in numerical geometry, the main focus of this paper is in general relativistic polarized radiative transfer. The accuracy of the code is demonstrated in several code tests and in a comparison withgrtrans, an existing ray-tracing code. We then use the library in several scenarios as a way to showcase the wide applicability of the code. We study a thin variable-geometry accretion disk model and find that polarization carries information of the inner disk opening angle. Next, we study rotating neutron stars and determine that to obtain polarized light curves at better than a level of accuracy, the rotation needs to be taken into account both in the spacetime metric and in the shape of the star. Finally, we investigate the observational signatures of an accreting black hole lensed by an orbiting black hole. We find that these systems exhibit a characteristic asymmetric twin-peak profile both in flux and polarization properties.
18 July 2023 in Monthly Notices of the Royal Astronomical Society
We present the new public version of the ketju supermassive black hole (SMBH) dynamics module, as implemented into gadget-4. ketju adds a small region around each SMBH where the dynamics of the SMBHs and stellar particles are integrated using an algorithmically regularized integrator instead of the leapfrog integrator with gravitational softening used by gadget-4. This enables modelling SMBHs as point particles even during close interactions with stellar particles or other SMBHs, effectively removing the spatial resolution limitation caused by gravitational softening. ketju also includes post-Newtonian (PN) corrections, which allows following the dynamics of SMBH binaries to sub-parsec scales and down to tens of Schwarzschild radii. Systems with multiple SMBHs are also supported, with the code also including the leading non-linear cross terms that appear in the PN equations for such systems. We present tests of the code showing that it correctly captures, at sufficient mass resolution, the sinking driven by dynamical friction and binary hardening driven by stellar scattering. We also present an example application demonstrating how the code can be applied to study the dynamics of SMBHs in mergers of multiple galaxies and the effect they have on the properties of the surrounding galaxy. We expect that the presented ketju SMBH dynamics module can also be straightforwardly incorporated into other codes similar to gadget-4, which would allow coupling small-scale SMBH dynamics to the rich variety of galactic physics models that exist in the literature.
9 December 2019 in The Astrophysical Journal
We study the orbital evolution and gravitational wave (GW) emission of supermassive black hole (SMBH) binaries formed in gas-free mergers of massive early-type galaxies using the hybrid tree-regularized N-body code Ketju. The evolution of the SMBHs and the surrounding galaxies is followed self-consistently from the large-scale merger down to the final few orbits before the black holes coalesce. Post-Newtonian corrections are included up to PN3.5 level for the binary dynamics, and the GW calculations include the corresponding corrections up to PN1.0-level. We analyze the significance of the stellar environment on the evolution of the binary and the emitted GW signal during the final GW emission dominated phase of the binary hardening and inspiral. Our simulations are compared to semi-analytic models that have often been used for making predictions for the stochastic GW background emitted by SMBHs. We find that the commonly used semi-analytic parameter values produce large differences in merger timescales and eccentricity evolution, but result in only differences in the GW spectrum emitted by a single binary at frequencies , which are accessible by current pulsar timing arrays. These differences are in part caused by the strong effects of the SMBH binaries on the surrounding stellar population, which are not included in the semi-analytic models.