Vignesh Gopakumar
  • Home
  • Research
  • Talks
  • Blog
  • Tokamak Toolkit

JOREK fine-grid checks, Tier A coupling, and L1 closeout

measured
decision
Published

November 28, 2026

measurement decision Entry 109 · milestone JOREK (alongside M5)

We ran a bounded JOREK coupling campaign under OQ-53 to test whether doubled-resolution ITER pedestal scans converge within budget, promote the J5 workflow into a reusable Tier A module, and decide whether to train an online stability surrogate. The Primer explains why magnetohydrodynamic (MHD) stability stays outside the compiled transport loop.

Fine-grid checks

To avoid repeating thousands of round-off steps on the doubled mesh, we built a cubic Bezier eigenmode transfer tool (scripts/jorek/j5_seed_fine_grid.py) that maps coarse-grid modes across the non-dyadic radial subdivision using two-dimensional Newton-Raphson inversion and the exact Jacobian derivative transform (1.97 × 10−6 m coordinate RMS residual with bit-for-bit n = 0 preservation across the 79 to 159 radial subdivisionC-329). We then executed two doubled-grid checks alongside an independent verification audit:

check outcome Decision 7 verdict
Case (a), n = 12 and 16 (Option 0B) clean linear phases; localization flips from edge to axis not converged
Case (b), n = 20, Bezier-seeded (Option 0A) 2,100 healthy steps; growth rate drops by three-fifths not converged
MAST-U double-null feasibility smoothed boundary passes check_grid and 50 axisymmetric steps health-gate sign mismatch
ITER EPEDNN pedestal audit stopped at axisymmetric health gate before linear scans needs FF′ reconciliation

In Option 0B, both case (a) modes reached clean linear phases but failed the unchanged Decision 7 criterion (n = 12 shifts −25.4% (82.9 to 61.8 kHz, rms 0.0037) and n = 16 shifts −1.7% (70.6 to 69.4 kHz, rms 0.0017), with both flipping localization from edge to axis (psi_N = 0.01) in 3.34 node-hC-330). In Option 0A, the Bezier-seeded case (b) mode ran cleanly on its first solver execution and settled well below the coarse-grid rate (2,160 s−1 over 2,100 healthy steps (t = 22 to 2071, 1.08 decades growth, R2 = 0.9988 on [1600, 2071], 3.75 node-h), −60.2% below 80 x 128 (5,419 s−1) and still slowly settlingC-331). Both measurements show that the coarse grid is not yet spatially converged for ITER high-n pedestal modes.

Tier A coupling and scenarios

We promoted the J5 scripts into tkit.physics.jorek_stability (TIER = "A", host-side outside jax.jit and lax.scan), adding automated current-profile reconciliation, radial safety-factor diagnostics, IMAS Data Dictionary 4.1.1 mhd_linear and mhd export in tkit.adapters.jorek, and the tkit jorek-check command. Unit and independent regression tests verify dry-run freezes and fake-executable lifecycles in both standard and Tier-A-only modes (75 of 75 JOREK unit tests and 4 of 4 independent regression tests pass in standard and TKIT_TIER_A_ONLY=1 modesC-332).

Eleven checksum-bound dry-run cases were prepared across ITER EPEDNN, MAST-U FreeGSNKE, and an n = 1 internal-kink check. For MAST-U, the raw double-null separatrix inverted the mesh Jacobian at the X-point corners; contracting and Fourier-smoothing the boundary resolved the inversion and completed axisymmetric time-stepping before stopping on an IMAS-versus-JOREK poloidal-flux sign mismatch in the health check (0.95× contraction and m <= 8 Fourier smoothing remove X-point Jacobian inversion (Z = ±1.05 m), pass check_grid, and complete 50 axisymmetric steps (t = 21.11) with positive density and temperatureC-333). The ITER EPEDNN case was caught by the axisymmetric health gate before spending linear-scan compute because its lower-poloidal-beta equilibrium needs FF′ reconciliation first.

L1 closeout decision

The campaign finished well inside its compute cap, with doubled-grid cost exceeding the pre-registered surrogate threshold (11.04 of 20.0 node-h spent (2,827 core-h across 8 jobs; 8.96 node-h unused), with 160 x 256 runs costing roughly 850–960 core-h for 1–2 modes against the 500 core-h/state surrogate gateC-334). Under Owner Gate C (OQ-53), JOREK coupling closes at L1 offline stability auditing (tkit.physics.jorek_stability and tkit jorek-check), and an L3 JOREK-trained surrogate inside lax.scan is not pursued. This entry remains a draft pending owner publication review.

Technical details → JOREK. Decision → OQ-53.


JOREK acknowledgement. JOREK is developed by the JOREK team and is open source under the GNU LGPL v3. Results here use JOREK at commit 01a52be3. Citations: M. Hoelzl et al., Nuclear Fusion 61, 065001 (2021); M. Hoelzl et al., Nuclear Fusion 66, 116006 (2026). For a list of JOREK team members, refer to the author list of M. Hoelzl, G.T.A. Huijsmans, F.J. Artola, E. Nardon, M. Becoulet, N. Schwarz, A. Cathey, S.J.P. Pamela et al., Nuclear Fusion 64, 112016 (2024).

Technical details → JOREK › l1 coupling and closeout
Decisions → OQ-37 · OQ-43 · OQ-53

© Copyright 2026 Vignesh Gopakumar

 
 
Code and first draft by Claude (Anthropic) and Codex, working to a brief by Vignesh Gopakumar, who reviewed and approved this page. How this is built · Tokamak Toolkit home