| Issue |
A&A
Volume 709, May 2026
|
|
|---|---|---|
| Article Number | A30 | |
| Number of page(s) | 11 | |
| Section | Numerical methods and codes | |
| DOI | https://doi.org/10.1051/0004-6361/202558060 | |
| Published online | 29 April 2026 | |
Nemesis: A multi-scale, multi-physics algorithm for astrophysics
Leiden Observatory, University of Leiden,
Niels Bohrweg 2,
2333
CA
Leiden,
The Netherlands
★ Corresponding author: This email address is being protected from spambots. You need JavaScript enabled to view it.
Received:
11
November
2025
Accepted:
10
March
2026
Abstract
Context. Astronomical environments are governed by a complex interplay of physical processes, including gravitational dynamics, radiative transfer, stellar evolution, chemistry, and hydrodynamics. These processes span a vast range of spatial scales, from short-range interactions where intra-particle distances are vital, to cosmological scales. Both of these characteristics make astrophysics a multi-scale, multi-physics discipline. This complexity introduces complications to numerical methods where round-off errors and a wide range of temporal timescales on which processes act can influence the reliability of results and the efficiency of algorithms.
Aims. In this work, we present an updated version of the multi-scale, multi-physics algorithm, Nemesis, which makes use of the Astrophysical Multipurpose Software Environment (AMUSE). We formally introduce and validate the algorithm.
Methods. We ran a suite of simulations to assess its performance in simulating star clusters containing planetary systems, its ability to capture the von Zeipel–Lidov–Kozai effect, and its computational scalability.
Results. The Nemesis code yields indistinguishable results on both the global and local scales when compared with the direct N-body code Ph4. We find the same result when analysing its ability to capture the von Zeipel–Lidov–Kozai effect. When we analyse its computational performance, the wall-clock time scales roughly as tsim ∝ 1/ δtnem, where δtnem represents the time synchronisation between the global and local scales. When we vary the number of planetary systems, the wall-clock time remains unchanged as long as the number of available cores exceeds the number of systems. Beyond this, we find that, at worst, the computational time increases linearly with the number of excess systems.
Conclusions. The method introduced here can be used in numerous domains of astronomy, thanks to its flexibility and modularity, from simulating protoplanetary discs in star clusters to binary black holes in the galactic centre.
Key words: methods: numerical / planets and satellites: dynamical evolution and stability / planet-disk interactions / planet-star interactions / planetary systems
© The Authors 2026
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This article is published in open access under the Subscribe to Open model. This email address is being protected from spambots. You need JavaScript enabled to view it. to support open access publication.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.