Issue |
A&A
Volume 664, August 2022
|
|
---|---|---|
Article Number | A68 | |
Number of page(s) | 18 | |
Section | Numerical methods and codes | |
DOI | https://doi.org/10.1051/0004-6361/201937402 | |
Published online | 09 August 2022 |
Runko: Modern multiphysics toolbox for plasma simulations
1
Nordita, KTH Royal Institute of Technology and Stockholm University,
Hannes Alfvéns väg 12,
10691
Stockholm, Sweden
2
Physics Department and Columbia Astrophysics Laboratory, Columbia University,
538 West 120th Street,
New York,
NY 10027
USA
3
Center for Computational Astrophysics, Flatiron Institute,
162 Fifth Avenue,
New York,
NY 10010
USA
e-mail: jnattila@flatironinstitute.org
Received:
23
December
2019
Accepted:
10
April
2022
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.
Key words: plasmas / turbulence / methods: numerical
© J. Nättilä 2022
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. Subscribe to A&A 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.