Skip to main content
QUICK REVIEW

[Paper Review] Verification of Gyrokinetic codes: theoretical background and applications

N. Tronko, A. Bottino|arXiv (Cornell University)|Mar 22, 2017
Magnetic confinement fusion researchPhysics and Astronomy28 references20 citations
TL;DR

This paper presents a unified theoretical and numerical framework for verifying gyrokinetic codes by combining Lagrangian variational formulations with cross-code benchmarks. It establishes that the ORB5 (PIC) and GENE (Eulerian) codes implement equivalent linear models when full FLR corrections are included, and demonstrates excellent agreement in electromagnetic β-scan and mode structure benchmarks, validating their numerical fidelity and highlighting the importance of accurate Poisson solvers for fine-scale structures.

ABSTRACT

In fusion plasmas the strong magnetic field allows the fast gyro-motion to be systematically removed from the description of the dynamics, resulting in a considerable model simplification and gain of computational time. Nowadays, the gyrokinetic (GK) codes play a major role in the understanding of the development and the saturation of turbulence and in the prediction of the subsequent transport. Naturally, these codes require thorough verification and validation. Here we present a new and generic theoretical framework and specific numerical applications to test the faithfulness of the implemented models to theory and to verify the domain of applicability of existing GK codes. For a sound verification process, the underlying theoretical GK model and the numerical scheme must be considered at the same time, which has rarely been done and therefore makes this approach pioneering. At the analytical level, the main novelty consists in using advanced mathematical tools such as variational formulation of dynamics for systematization of basic GK code's equations to access the limits of their applicability. The verification of numerical scheme is proposed via the benchmark effort. In this work, specific examples of code verification are presented for two GK codes: the multi-species electromagnetic ORB5 (PIC) and the radially global version of GENE (Eulerian). The proposed methodology can be applied to any existing GK code. We establish a hierarchy of reduced GK Vlasov-Maxwell equations implemented in the ORB5 and GENE codes using the Lagrangian variational formulation. At the computational level, detailed verifications of global electromagnetic test cases developed from the CYCLONE Base Case are considered, including a parametric $\beta$-scan covering the transition from ITG to KBM and the spectral properties at the nominal $\beta$ value.

Motivation & Objective

  • To establish a rigorous two-fold verification framework for gyrokinetic codes that unifies theoretical model verification with numerical scheme validation.
  • To resolve discrepancies between theoretical gyrokinetic models and code implementations by clarifying orderings and approximations used in different codes.
  • To validate the numerical fidelity of ORB5 (PIC) and GENE (Eulerian) codes through detailed inter-code benchmarks on electromagnetic test cases.
  • To identify the impact of numerical approximations—especially the long-wavelength Poisson solver in ORB5—on the resolution of fine-scale radial structures in electrostatic potentials.
  • To demonstrate the necessity of radially global models for accurate simulation of microinstability transitions, particularly in the presence of finite β and ρ∗ effects.

Proposed method

  • Derives the gyrokinetic Vlasov-Maxwell equations using a Lagrangian variational formulation to systematically identify the underlying theoretical model and its limits of applicability.
  • Compares the reduced particle dynamics and Maxwell-Vlasov models of ORB5 (PIC) and GENE (Eulerian) codes at the analytical level using the same variational framework.
  • Performs inter-code benchmarks on two test cases: a global electromagnetic β-scan at fixed toroidal mode number n = 19 and a detailed comparison of radial and poloidal mode structures at fixed β.
  • Uses linear growth rates and real frequencies as observables in the β-scan, and full poloidal and radial profiles of electrostatic and parallel magnetic potentials in the mode structure comparison.
  • Applies the same low-β ordering in both codes to ensure consistency, and contrasts the full FLR solver in GENE with the long-wavelength approximation in ORB5.
  • Quantifies finite-size (ρ∗) effects by comparing global and local (flux-tube) GENE results, showing that mode transition thresholds differ due to radial structure effects.

Experimental results

Research questions

  • RQ1To what extent do the theoretical gyrokinetic models implemented in ORB5 and GENE codes agree when derived from a common variational framework?
  • RQ2How do numerical approximations—particularly the Poisson solver—impact the resolution of fine-scale radial structures in electrostatic potentials?
  • RQ3What is the effect of finite radial size (ρ∗) on the transition between ion temperature gradient (ITG) and kinetic ballooning modes (KBMs) in global electromagnetic simulations?
  • RQ4How well do the linear growth rates and frequencies from ORB5 and GENE agree across a range of β values in a global electromagnetic β-scan?
  • RQ5To what extent do the mode structures of electrostatic and parallel magnetic potentials differ between the two codes, and what causes these discrepancies?

Key findings

  • The theoretical models of ORB5 and GENE are found to be identical at the linear level when derived via the same Lagrangian variational formulation, confirming consistency in the underlying physics.
  • Excellent agreement is observed between ORB5 and GENE in the global electromagnetic β-scan at n = 19, with both codes showing similar linear growth rates and real frequencies across the β range.
  • The transition from ITG to KBM modes occurs at a different β value in global versus local (flux-tube) simulations, indicating that finite-size (ρ∗ ≈ 1/182) effects are non-negligible and code-dependent.
  • The ORB5 code, using a long-wavelength Poisson solver, fails to resolve fine-scale radial structures in the electrostatic potential that are captured by GENE’s full FLR solver, particularly near rational surfaces.
  • These missing structures in ORB5 do not significantly alter growth rates and frequencies at low n, but deviations become intolerable at higher toroidal mode numbers (n ≳ 40), highlighting the need for full FLR solvers.
  • The benchmark results confirm that the numerical implementation of the gyrokinetic model is faithful to the theory when consistent approximations are used, and that cross-code validation is essential for reliable predictions in fusion plasma simulations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.