arXiv Science⌕ Search

arXiv · 2611.40181

Scalable Solvers for Implicit Eulerian Models of Magnetized Plasmas

Abstract

Implicit Eulerian models of magnetized plasmas need GPU solvers for their stiff terms: the advection along the magnetic field, the field equation and the collisions. This paper describes such solvers in a discontinuous Galerkin code for gyrokinetic ions and drift-kinetic electrons in tokamaks, written in Kokkos. Its mesh extrudes flux-aligned triangles into field-aligned wedges, joined by a mortar that conserves mass exactly; energy is conserved to the time integrator's O(dt^4) per step. GMRES solves each implicit stage of the advection, preconditioned by an upwind sweep, block Gauss-Seidel in the drift's upwind order. With kinetic electrons at the physical mass ratio, Newton's method solves each stage together with the potential. Its linear solves are preconditioned by the sweep, by a fluid-electron block whose toroidal modes are independent plane problems for a geometric multigrid, and by an approximate transport step that we propose, the inflow transfer: inexpensive passes, each reusing the sweep's block inverses, that carry the fast electrons' inflow across the toroidal subdomains of the parallel decomposition. The solvers are PETSc objects and a custom batched GPU solver for the Landau collisions, published as verified examples, with porting prompts, for an LLM code assistant to implement in a user's code. The Cyclone base case's linear ion-temperature-gradient growth rate with gyrokinetic ions at rho* = 1/100 is 2 to 10% above GYSELA's, and on a shaped plane the geodesic acoustic mode's frequency is within 2% of the shaped-plasma relation, which is itself accurate to a few percent. Weak scaling to 256 NVIDIA A100 and AMD MI250X devices and strong scaling to 192 measure the four-dimensional decomposition of the five-dimensional phase space.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Mark F. Adams. 2026-11-30. Scalable Solvers for Implicit Eulerian Models of Magnetized Plasmas. https://arxiv.science/abs/2611.40181

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Dependence of Momentum Transport on the Dominant Turbulence Regime in the DIII-D Tokamak

Accurate prediction of toroidal plasma rotation is essential for optimizing confinement and stability in future fusion devices. This work investigates turbulent core momentum transport in the DIII-D tokamak across a transition from ion-temperature-gradient (ITG)- to trapped-electron-mode (TEM)-dominated turbulence. A momentum transport framework previously developed for ASDEX Upgrade is applied to modulated neutral beam injection experiments, separating diffusive, convective, and residual-stress contributions via Fourier analysis of the rotation response. The dataset spans low-rotation conditions, dominant electron heating, and background ExB shearing rates below turbulence growth rates, accessing more reactor-relevant conditions. Gyrokinetic CGYRO and gyrofluid TGLF calculations confirm the scan covers an ITG-to-TEM transition. The analysis yields Prandtl numbers near unity. The pinch number shows no explicit dependence on the transition, instead ordering roughly with the logarithmic density gradient. The normalized residual stress, in contrast, exhibits a non-monotonic, V-shaped dependence across the transition: co-current in deep ITG and deep TEM regimes, near-zero or counter-current in the intermediate mixed-mode regime. This trend collapses onto an approximately linear dependence against electron kinetic profile gradients, suggesting residual stress generation by profile-shearing effects. Weaker background ExB shearing further shifts residual stress toward counter-current values. Linear CGYRO simulations for representative ITG and TEM discharges yield Prandtl and pinch numbers in good agreement with experiment, supporting gyrokinetic momentum-transport predictions in TEM-dominated regimes. These results indicate residual stress plays an important role in core rotation prediction for low-torque plasmas and should be included in predictive models of future reactor scenarios.

physics.plasm-ph↗

Reusing formal Vlasov-Maxwell proofs to audit plasma simulations

Three-dimensional relativistic plasma equations rarely admit exact nonlinear solutions. Code verification therefore relies on global energy and mass conservation. Here we turn machine-checked lemmas from a Lean 4 Vlasov-Maxwell library into initial-data oracles that audit production plasma codes. Outside a compact plasma, finite propagation speed fixes exterior fields and box-energy flux, and a discrete Yee-grid identity forbids spurious axial magnetic fields from divergence-free initial data. In WarpX and Smilei, these checks caught domain-truncation and grid-initialization errors missed by energy conservation and uncovered an upstream bug. Inside a collisionless plasma, Liouville's theorem bounds phase-space mass concentration, flagging unphysical clumping from energy-conserving particle merging and compressive remapping. Arbitrary-precision enclosures evaluate these references in strongly absorbing pulse-driven and pulse-free plasma regimes. Together, AI coding agents and Lean 4 turn classical theorems into practical verification tools, letting physicists audit minimal statements and assumptions rather than full proofs.

physics.plasm-ph↗

Exact collision-invariant reduction and semi-analytical propagation of the full linearized Fokker-Planck operator

An exact collision-invariant reduction of the full linearized Fokker--Planck operator is developed for collision dynamics in magnetically confined plasmas. In a Legendre--Laguerre spectral representation, the independently conserved particle numbers, total parallel momentum, and total energy are separated analytically from the relative flows, relative temperature perturbations, and higher-order velocity-space structures that undergo collisional relaxation. The resulting two-species formulation preserves these invariants by construction while retaining the full test- and field-particle coupling. For fixed reference Maxwellians, the reduced collision dynamics can be propagated semi-analytically through a matrix exponential, including the affine contributions arising from unequal reference temperatures. This propagator is exact in time for the spectrally discretized collision system and eliminates the collision-frequency-based stability restriction of explicit integration. Electron--ion relaxation tests confirm that the method accurately reproduces momentum and energy exchange across widely separated collisional time scales, without requiring the collision step to resolve the fastest relaxation modes. A Spitzer--Harm benchmark shows close quantitative agreement with reference parallel transport coefficients and preserves Onsager symmetry to machine precision. The formulation provides a conservative and accurate treatment of collisional relaxation, offering a promising approach for kinetic simulations of fusion plasmas.

physics.plasm-ph↗