AMPERe: an exactly divergence-free quadrature-by-expansion evaluator for near-surface Biot--Savart and virtual-casing fields in fusion geometries
Abstract
Accurate magnetic-field evaluation on and near current-carrying surfaces is a recurring computational bottleneck in magnetic-confinement fusion. As targets approach the source surface, Biot--Savart and virtual-casing kernels become singular, causing standard Gauss--Legendre and upsampled trapezoidal quadratures to lose accuracy. We introduce AMPERe, a quadrature-by-expansion (QBX) evaluator for vector magnetostatic kernels on general three-dimensional, non-axisymmetric tokamak and stellarator geometries. The method develops a spherical-harmonic QBX formulation for the vector Biot--Savart and virtual-casing (Stratton--Chu) fields and expresses the resulting magnetic field as the analytic curl of a regular-solid-harmonic vector potential. This construction yields a divergence-free discrete field at every expansion order, provides analytic derivatives, and enables an a priori separation of truncation, quadrature, and geometric errors. On the rotating-ellipse benchmark of Malhotra et al. [1], QBX maintains a relative error of 2--5 x 10-6 throughout the near-surface regime at distance-independent cost, whereas upsampled trapezoidal quadrature exhibits O(1) errors and requires node counts scaling as (h/d)2. AMPERe is implemented as a header-only, performance-portable Kokkos library supporting CPU and GPU backends, with target-specific and local-correction accelerations validated against the baseline. The method is further demonstrated on realistic Wendelstein 7-X configurations, including sheet-current and virtual-casing field evaluations.
Create a lesson
Related papers
Managing complexity for integrated fusion reactor design using a differentiable graph-based MDAO framework: PROCESS as a case study
Shared title terminology · Timo J. Bogaarts, Willem Rutten, Felix Warmer
Machine Learning Electronic Hamiltonian with Long-Range Effects and External Fields
Shared title terminology · Xueheng Kuang, Ruoyu Wang, Kwangrae Kim et al.
A branch-free three-dimensional ghost-cell immersed boundary method with direction-averaged extrapolation kernels
Shared title terminology · Itsuki Takarabe, Ryuto Saeki, Koji Fukagata
Scalable Non-Parametric Bayesian Inference of Free Energy Landscapes and Emission Functions from Observations
Shared title terminology · Eliane Briand, Helmut Grubmüller
The state of nuclear data for fusion activation simulations
Shared title terminology · Jonathan Shimwell
An Analytic Two-Dimensional Benchmark for Integrated Autocorrelation Times in Branching Monte Carlo Part II: Operator Estimation from Functional Expansion Tallies
Shared title terminology · Jilang Miao, Guillaume L. Giudicelli, William Reed Kendrick