Skip to content
Technology How it works Breeder — Hyperion Burner — Aegis Burner — MetroVolt AI-Native Architecture Magnets Fuel cycle Safety Roadmap
Solutions AI & Data Centers Defense & Government Grid & Baseload Neutron Detection Quantum
Learn Technical Library
Proof Publications Whitepapers Technical Library Open Science & Reproducibility The Honest Gates
Company About / Mission Leadership Environment Health & Safety Investors Careers Press Contact
3D Model
AI Architecture › Mathematical Foundations
Mathematical Foundations

Weak Form and Finite-Element Discretization of Grad-Shafranov

Casting Grad-Shafranov in its weak form yields the finite-element system that offline solvers use to generate the equilibrium libraries PINNs and surrogates are trained on.

STRATEGY / SLOW ▲ ▼ MICROSECOND REAL-TIMEL7Ecosystem & Strategytelemetry ▲ control ▼open ▸L6Experience & Visualizationtelemetry ▲ control ▼open ▸L5Applications & Copilotstelemetry ▲ control ▼open ▸L4Orchestrationtelemetry ▲ control ▼open ▸L3Twin Modeling & AItelemetry ▲ control ▼open ▸L2Data Fabrictelemetry ▲ control ▼open ▸L1Control Planetelemetry ▲ control ▼open ▸L0Foundationtelemetry ▲ control ▼open ▸PHYSICAL S.M.A.R.T. GENERATOR PLANTBREEDER · HYPERION1R0 1.2 m · A 2.5 · 16.84 T · δ −0.30BURNER · TANDEM MIRROR2317 T throat · 26.49 T plug · fₙ 5.44% · DEC1 center stack + plasma · 2 high-field plug · 3 expander → direct converterCOLOR GRAMMAR strategy AI-workflow infra/data models reactor/DECLINE SEMANTICStelemetry (µs)controlKRONOS FUSION ENERGYAI-NATIVE S.M.A.R.T. GENERATORMASTER BLUEPRINTSHEET 01REV. 2026-08L0-L7 · 2 MACHINES
The AI-Native S.M.A.R.T. Generator Master Blueprint — eight layers (L0→L7), one control stack, wired to both machines. Telemetry rises in microseconds; control descends the same path.

From strong to weak form

The Grad-Shafranov operator is elliptic and self-adjoint with respect to the weight 1/R. Multiplying by a test function v, integrating over the poloidal plane, and integrating by parts moves one derivative onto v. This weak form is the basis of the finite-element solvers whose high-fidelity equilibria seed the L0 training libraries.

text
Weak form: find psi in H^1 such that for all test v

  Integral_Omega  (1/R) grad(psi) . grad(v)  dR dZ
      =  Integral_Omega  [ mu0 R p'(psi) + F F'(psi)/R ] v  dR dZ
      +  boundary terms

Note the 1/R weight makes the operator symmetric:
  a(psi,v) = a(v,psi)  under this inner product.

Galerkin discretization

Expanding psi in finite-element basis functions phi_j and testing against the same basis (Galerkin) gives a nonlinear algebraic system, because the source depends on psi. It is solved by Picard or Newton iteration; Newton needs the derivative of the source with respect to the nodal unknowns.

text
Discrete system:  K(psi) . psi = b(psi)

  K_ij = Integral (1/R) grad(phi_i).grad(phi_j) dR dZ   (stiffness)
  b_i  = Integral [ mu0 R p'(psi_h) + F F'(psi_h)/R ] phi_i dR dZ

Newton step:  ( K - dS/dpsi ) delta_psi = -( K psi - b )
  where  dS/dpsi = Jacobian of the nonlinear source term

Why FEM here, PINN in the loop

FEM gives controlled, convergent, mesh-refinable equilibria with rigorous error estimates - ideal offline where accuracy and provenance matter. But a fresh FEM solve per real-time step is too slow for the 1-100 ms L3 regime. So the stack uses FEM offline to produce ground truth, then distills PINN and neural-operator surrogates that reproduce the FEM solution manifold at inference speed.

Every learned equilibrium tool is benchmarked against FEM before it is trusted; the PINN-vs-FEM error is a tracked fidelity metric for the twin.

Content reviewed August 2026 · design-and-simulation stage