Plasma Physics and Controlled Fusion

yancc: A GPU-accelerated, differentiable solver for neoclassical transport in tokamaks and stellarators

Rory Conlin, M Landreman

Computational

Key points

From the paper's conclusion
  • We present yancc, a new GPU-accelerated solver for the drift kinetic
equation that computes neoclassical transport fluxes, flows, and currents in
tokamaks and stellarators.

Abstract

We present yancc, a new GPU-accelerated solver for the drift kinetic equation that computes neoclassical transport fluxes, flows, and currents in tokamaks and stellarators. The drift kinetic equation is challenging to solve numerically due to strong advection-dominance, recirculating flows, internal boundary layers, severe anisotropy, and high dimensionality. Fast and accurate solutions to the drift kinetic equation are required for high fidelity optimization, profile prediction, and analysis of experiments with uncertainty quantification. yancc solves both the full four-dimensional drift kinetic equation (retaining speed-dependent collisions, energy scattering, and full interspecies coupling), and the reduced monoenergetic form. The discretization combines a Maxwell polynomial collocation grid in speed with finite differences in pitch angle and the flux surface coordinates, using a modified upwind stencil designed to improve diagonal dominance for multigrid efficiency. The resulting linear system is solved with a multigrid-preconditioned Krylov method. Built in JAX, yancc is fully differentiable, enabling gradient-based optimization and adjoint sensitivity analysis. Benchmarks against MONKES and SFINCS show agreement within 1\% across a range of collisionalities, geometries, and multi-species configurations. yancc achieves roughly an order of magnitude speedup over SFINCS on a per-scan basis while using an order of magnitude less memory, with runtime remaining nearly flat across the full range of collisionality.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

yancc: A GPU-accelerated, differentiable solver for neoclassical transport in tokamaks and stellarators — Science Skim