Skip to main content
QUICK REVIEW

[Paper Review] GENGA II: GPU planetary N-body simulations with non-Newtonian forces and high number of particles

Simon L. Grimm, Joachim Stadel|arXiv (Cornell University)|Jan 25, 2022
Astro and Planetary SciencePhysics and Astronomy61 references28 citations
TL;DR

This paper presents GENGA II, a GPU-accelerated N-body simulation code that enables high-resolution planetary system simulations with up to 65,536 fully interactive particles by introducing a hierarchical close-encounter method with higher-level changeover functions and optimized GPU kernel performance. The code incorporates non-Newtonian forces such as general relativity, tidal effects, Yarkovsky and Poynting-Robertson drag, and advanced collision models, achieving up to 100x speedup over prior versions and enabling simulations of terrestrial planet formation over 1.5–3.5 billion years with realistic physics.

ABSTRACT

We present recent updates and improvements of the graphical processing unit (GPU) N-body code GENGA. Modern state-of-the-art simulations of planet formation require the use of a very high number of particles to accurately resolve planetary growth and to quantify the effect of dynamical friction. At present the practical upper limit is in the range of 30,000 - 60,000 fully interactive particles; possibly a little more on the latest GPU devices. While the original hybrid symplectic integration method has difficulties to scale up to these numbers, we have improved the integration method by i) introducing higher level changeover functions and ii) code improvements to better use the most recent GPU hardware efficiently for such large simulations. We added treatments of non-Newtonian forces such as general relativity, tidal interaction, rotational deformation, the Yarkovsky effect, and Poynting-Robertson drag, as well as a new model to treat virtual collisions of small bodies in the solar system. We added new tools to GENGA, such as semi-active test particles that feel more massive bodies but not each other, a more accurate collision handling and a real-time openGL visualization. We present example simulations, including a 1.5 billion year terrestrial planet formation simulation that initially started with 65,536 particles, a 3.5 billion year simulation without gas giants starting with 32,768 particles, the evolution of asteroid fragments in the solar system, and the planetesimal accretion of a growing Jupiter simulation. GENGA runs on modern NVIDIA and AMD GPUs.

Motivation & Objective

  • To overcome the scalability limitations of traditional hybrid symplectic integrators in large N-body simulations with tens of thousands of particles.
  • To enable long-term, high-fidelity simulations of planetary system evolution, including terrestrial planet formation and small-body dynamics, by integrating advanced non-Newtonian forces.
  • To improve computational efficiency on modern GPUs through optimized kernel design, memory access patterns, and a self-tuning mechanism for kernel parameters.
  • To extend GENGA’s capabilities with new tools such as semi-active test particles, real-time OpenGL visualization, and precise collision tracking for improved scientific analysis.

Proposed method

  • Introduced a hierarchical close-encounter method using higher-level changeover functions to better isolate and handle close-encounter pairs, improving parallelization efficiency at scale.
  • Optimized the Bulirsch-Stoer integration kernel for close-encounters with improved memory coalescing and reduced kernel launch overhead on modern GPUs.
  • Implemented a self-tuning mechanism to automatically select optimal kernel parameters based on GPU architecture, enhancing performance across diverse NVIDIA and AMD GPUs.
  • Integrated non-Newtonian forces including general relativity corrections, tidal forces, rotational deformation, Yarkovsky effect, and Poynting-Robertson drag using analytical and semi-analytical models.
  • Added a new collisional break-up model for meteoroid dynamics and a rotation-rate reset model for ejecta, enabling realistic modeling of small-body evolution.
  • Introduced semi-active test particles that interact with massive bodies but not with each other, and added tools for tracking collisions and close-encounters in real time.

Experimental results

Research questions

  • RQ1Can a hybrid symplectic integrator be scaled to simulations with 30,000–65,536 fully interactive planetesimals while maintaining energy conservation and computational efficiency?
  • RQ2How can non-Newtonian forces such as general relativity, tidal interactions, and Yarkovsky effects be accurately and efficiently modeled in large-scale N-body simulations on GPUs?
  • RQ3What performance gains can be achieved through kernel-level optimization and hardware-aware tuning in modern GPU architectures for planetary system simulations?
  • RQ4How do advanced collision models and semi-active test particles improve the realism and analysis of planet formation and small-body dynamics?
  • RQ5Can GENGA II simulate long-term terrestrial planet formation over 1.5–3.5 billion years with realistic physics and high particle counts?

Key findings

  • GENGA II successfully simulates terrestrial planet formation over 1.5 billion years with an initial particle count of 65,536, demonstrating long-term stability and accuracy.
  • The code achieves up to 100x speedup over the original GENGA implementation, depending on initial conditions and hardware, due to optimized GPU kernels and hierarchical integration.
  • Simulations with 32,768 particles ran for 3.5 billion years without gas giants, showing planet formation beyond the initial planetesimal disk distribution.
  • The inclusion of non-Newtonian forces—such as general relativity, tidal forces, and Yarkovsky effect—enables realistic modeling of compact exoplanetary systems and small-body dynamics.
  • The new semi-active test particle mode allows efficient tracking of material transport in planetary systems without the computational cost of full N-body interactions.
  • Performance benchmarks show that Tesla A100 and P100 GPUs are fastest for high-N simulations, while RTX 3090 outperforms others for low-N cases due to lower kernel overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.