# Runko: Modern multiphysics toolbox for plasma simulations

**Authors:** J. N\"attil\"a

arXiv: 1906.06306 · 2022-08-10

## TL;DR

Runko is an open-source, modular plasma simulation framework in C++ and Python, enabling flexible, high-performance astrophysical plasma modeling across various computing platforms.

## Contribution

It introduces a versatile, extendable multiphysics toolkit for plasma simulations with a hybrid design combining C++ efficiency and Python usability.

## Key findings

- Successfully simulated relativistic Weibel instability in 1D
- Modeled relativistic kinetic turbulence in 2D
- Performed 3D simulations of collisionless shocks

## 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++ taking advantage of polymorphic classes, multiple inheritance, and template metaprogramming. High-level functionality is operated with Python scripts. The hybrid program design ensures good code performance together with ease of use. The framework has a modular object-oriented design that allows 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 supports heterogeneous multiphysics simulations in which different physical solvers can be combined and run simultaneously. Here we showcase the framework's relativistic particle-in-cell (PIC) module by presenting (i) 1D simulations of relativistic Weibel instability, (ii) 2D simulations of relativistic kinetic turbulence in a suddenly stirred magnetically-dominated pair plasma, and (iii) 3D simulations of collisionless shocks in an unmagnetized medium.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1906.06306/full.md

## Figures

13 figures with captions in the complete paper: https://tomesphere.com/paper/1906.06306/full.md

## References

64 references — full list in the complete paper: https://tomesphere.com/paper/1906.06306/full.md

---
Source: https://tomesphere.com/paper/1906.06306