English

Mercury-Ar$\chi$es: a high-performance n-body code for planet formation studies

Earth and Planetary Astrophysics 2026-02-05 v1 Instrumentation and Methods for Astrophysics Computational Physics

Abstract

Forming planetary systems are populated by large numbers of gravitationally interacting planetary bodies, spanning from massive giant planets to small planetesimals akin to present-day asteroids and comets. All these planetary bodies are embedded in the gaseous embrace of their native protoplanetary disks, and their interactions with the disk gas play a central role in shaping their dynamical evolution and the outcomes of planet formation. These factors make realistic planet formation simulations extremely computationally demanding, which in turn means that accurately modeling the formation of planetary systems requires the use of high-performance methods. The planet formation code Mercury-Arχ\chies was developed to address these challenges and, since its first implementation, has been used in multiple exoplanetary and Solar System studies. Mercury-Arχ\chies is a parallel n-body code that builds on the widely used Mercury code and is capable of modeling the growth and migration of forming planets, the interactions between planetary bodies and the disk gas, as well as the evolving impact flux of planetesimals on forming planets across the different stages of their formation process. In this work we provide the up-to-date overview of its physical modeling capabilities and the first detailed description of its high-performance implementation based on the OpenMP directive-based parallelism for shared memory environments, to harness the multi-thread and vectorization features of modern processor architectures.

Keywords

Cite

@article{arxiv.2601.16791,
  title  = {Mercury-Ar$\chi$es: a high-performance n-body code for planet formation studies},
  author = {Diego Turrini and Sergio Fonte and Romolo Politi and Danae Polychroni and Scigé J. Liu and Paolo Matteo Simonetti and Simona Pirani},
  journal= {arXiv preprint arXiv:2601.16791},
  year   = {2026}
}

Comments

16 pages, 4 figures, version accepted for publication on Astronomy & Computing

R2 v1 2026-07-01T09:17:27.662Z