GANDALF: A hardware-agnostic spectral solver for kinetic reduced MHD turbulence
Anjor Kanekar

TL;DR
GANDALF is a versatile, hardware-agnostic spectral solver for Kinetic Reduced MHD turbulence that simplifies access to plasma turbulence research by running efficiently on common hardware and ensuring high accuracy.
Contribution
It introduces GANDALF, a JAX-based spectral solver that runs on various hardware without modification, lowering infrastructure barriers and enabling broader participation in plasma turbulence studies.
Findings
Achieves machine precision accuracy for linear Alfvén waves
Conserves energy to 10^{-6} over two Alfvén times in vortex simulations
Reproduces expected turbulence spectra with a -5/3 slope
Abstract
We present GANDALF, a JAX-based spectral solver for Kinetic Reduced MHD (KRMHD) turbulence designed to lower infrastructure barriers to plasma turbulence research. Existing production codes require specialized HPC infrastructure and compilation expertise, limiting participation to well-resourced institutions. GANDALF addresses this barrier by leveraging JAX's hardware abstraction to run transparently on laptops, desktop GPUs, and Apple Silicon without modification, enabling single-command installation via pip. We employ Fourier spectral methods for spatial discretization and Hermite spectral basis for velocity space, combined with an exponential integrating factor method that exactly propagates linear Alfv\'en waves, eliminating associated numerical stiffness. Verification demonstrates research-grade accuracy: linear Alfv\'en waves achieve machine precision (~10^{-15} relative error),…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMagnetic confinement fusion research · Solar and Space Plasma Dynamics · Plasma and Flow Control in Aerodynamics
