We present yancc, a new GPU-accelerated solver for the drift kinetic equation (DKE) that computes neoclassical transport fluxes, flows, and currents in tokamaks and stellarators. The DKE 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 DKE are required for high fidelity optimization, profile prediction, and analysis of experiments with uncertainty quantification. yancc solves both the full four-dimensional DKE (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.
本稿では、トカマクおよびステラレータにおける新古典輸送フラックス、流れ、電流を計算する、ドリフト運動論方程式(DKE)用の新しいGPU加速ソルバーであるyanccを提示する。DKEは、強い移流支配、再循環流、内部境界層、深刻な異方性、および高次元性のために、数値的に解くことが困難である。高忠実度の最適化、プロファイル予測、および不確実性定量化を伴う実験の解析には、DKEの高速かつ高精度な解が必要である。yanccは、完全な4次元DKE(速度依存衝突、エネルギー散乱、および完全な種間結合を保持)と、縮小された単一エネルギー形式の両方を解く。離散化は、速度におけるマックスウェル多項式コロケーショングリッドと、ピッチ角およびフラックス面座標における有限差分を組み合わせ、多重格子効率のための対角優位性を改善するように設計された修正上流スキームを使用する。結果として得られる線形システムは、多重格子前処理付きクリロフ法で解かれる。JAXで構築されたyanccは完全に微分可能であり、勾配ベースの最適化と随伴感度解析を可能にする。MONKESおよびSFINCSに対するベンチマークでは、さまざまな衝突頻度、幾何形状、および多種構成にわたって1%以内の一致を示す。yanccは、スキャンごとにSFINCSよりも約1桁高速でありながら、メモリ使用量は1桁少なく、実行時間は衝突頻度の全範囲にわたってほぼ一定である。