Skip to main content
QUICK REVIEW

[Paper Review] Runko: Modern multi-physics toolbox for simulating plasma

Joonas Nättilä|arXiv (Cornell University)|Jun 14, 2019
Magnetic confinement fusion researchPhysics and Astronomy1 references7 citations
TL;DR

Runko is an open-source, hybrid C++/Python framework for simulating astrophysical plasmas with support for multi-physics and multi-scale modeling. It enables fast, extensible simulations using modern C++14 for performance and Python for high-level control, demonstrating through its relativistic PIC module that decaying relativistic turbulence in magnetically-dominated pair plasmas produces a thermal turbulent cascade and a separate non-thermal particle population acting as an energy sink.

ABSTRACT

Runko is a new open-source plasma simulation framework implemented in C++ and Python. It is designed to function as an easy-to-extend general toolbox for simulating astrophysical plasmas with different theoretical and numerical models. Computationally intensive low-level kernels are written in modern C++14 taking advantage of polymorphic classes, multiple inheritance, and template metaprogramming. High-level functionality is operated with Python3 scripts. This hybrid program design ensures fast code and ease of use. The framework has a modular object-oriented design that allow the user to easily add new numerical algorithms to the system. The code can be run on various computing platforms ranging from laptops (shared-memory systems) to massively parallel supercomputer architectures (distributed-memory systems). The framework also supports heterogeneous multi-physics simulations in which different physical solvers can be combined and run simultaneously. Here we report on the first results from the framework's relativistic particle-in-cell (PIC) module. Using the PIC module, we simulate decaying relativistic kinetic turbulence in suddenly stirred magnetically-dominated pair plasma. We show that the resulting particle distribution can be separated into a thermal part that forms the turbulent cascade and into a separate decoupled non-thermal particle population that acts as an energy sink for the system.

Motivation & Objective

  • To develop a flexible, extensible, and high-performance simulation framework for modeling complex astrophysical plasma systems.
  • To address the challenge of simulating multi-physics plasma phenomena by enabling coexistence and coupling of diverse physical solvers within a single computational environment.
  • To support both shared-memory and distributed-memory architectures, ensuring portability and scalability from laptops to supercomputers.
  • To enable the study of relativistic kinetic turbulence in magnetically-dominated pair plasmas, particularly the emergence of non-thermal particle populations.

Proposed method

  • The framework uses a hybrid architecture: low-level computational kernels are implemented in modern C++14 with polymorphic classes, multiple inheritance, and template metaprogramming for performance and extensibility.
  • High-level control and workflow management are handled via Python3 scripts, enabling ease of use and rapid prototyping.
  • The modular, object-oriented design allows users to easily integrate new numerical algorithms and physical models into the simulation pipeline.
  • The framework supports heterogeneous multi-physics simulations by allowing different solvers—such as the relativistic PIC module—to be combined and executed in parallel.
  • The relativistic PIC module employs particle-in-cell methods to simulate the dynamics of relativistic electrons and positrons in magnetized plasmas.
  • The system is deployed on diverse computing platforms, from laptops to supercomputers, leveraging both shared-memory and distributed-memory parallelism.

Experimental results

Research questions

  • RQ1How does relativistic kinetic turbulence evolve in a suddenly stirred, magnetically-dominated pair plasma?
  • RQ2What are the distinct particle population components that emerge in such turbulent systems?
  • RQ3How is energy partitioned between thermal and non-thermal particle populations during the turbulent cascade?
  • RQ4Can a non-thermal particle population act as a stable energy sink in a relativistic plasma system?
  • RQ5To what extent can the Runko framework support scalable, multi-physics simulations of complex plasma phenomena?

Key findings

  • The simulation reveals a clear separation between a thermal particle population that participates in the turbulent energy cascade and a distinct non-thermal population.
  • The non-thermal particle population forms independently and acts as a dominant energy sink, siphoning energy from the turbulent cascade.
  • The thermal component exhibits characteristics consistent with a Kolmogorov-like energy spectrum, indicating a developed turbulent cascade.
  • The non-thermal population is spatially and kinematically decoupled from the thermal component, suggesting a separate energization mechanism.
  • The framework successfully scales across diverse hardware platforms, from laptops to supercomputers, maintaining performance and usability.

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.