gkylzero: the Lightweight Library Underpinning the Gkeyll Simulation Framework

POSTER

Abstract

The Gkeyll simulation framework and the variety of plasma physics-relevant solvers contained in the framework, from multi-fluid multi-moment to full-f electromagnetic gyrokinetic, have been used to tackle problems in a wide variety of plasma systems, from global modeling of planetary magnetospheres to turbulence in the scrape-off layer of tokamaks. We present here an overview of the lowest level of the Gkeyll simulation framework, gkylzero, which constitutes a lightweight library underpinning the whole framework and which can be compiled and linked to independent of the rest of the simulation framework. This software design not only permits significant runtime flexibility in everything from choice of solver to choice of architecture, but also provides a means of utilizing Gkeyll's core solvers outside of the rest of Gkeyll's infrastructure should one desire. We focus on a number of improvements to the overall code structure this design permits, including the practical consequences for the diverse array of applications Gkeyll is used for, as well as how one can utilize gkylzero as a library, thus allowing other codes access to the high quality solvers for multi-fluid multi-moments, Vlasov-Maxwell, and gyrokinetics for applications such as code coupling.

*This work was supported by DOE Contract DE-AC02-09CH11466. The presenting author acknowledges support from a NSF Atmospheric and Geospace Science Postdoctoral Fellowship, Grant No. AGS-2019828.

Presenters

  • James L Juno

    • The University of Iowa
    • University of Iowa

Authors

  • James L Juno

    • The University of Iowa
    • University of Iowa
  • Ammar Hakim

    • Princeton Plasma Physics Laboratory
  • Manaure Francisquez

    • Princeton Plasma Physics Laboratory
  • Noah R Mandell

    • MIT Plasma Science and Fusion Center
    • MIT
    • Massachusetts Institute of Technology MI
    • Massachusetts Institute of Technology
  • Tess Bernard

    • Oak Ridge Assoc Univ
  • Petr Cagas

    • Virginia Tech
  • Kolter Bradshaw

    • Virginia Tech
  • Liang Wang

    • Princeton University
  • Rupak Mukherjee

    • Princeton Plasma Physics Laboratory
  • Jason M TenBarge

    • Princeton University
  • Gregory W Hammett

    • Princeton Plasma Physics Laboratory
    • Princeton University