Theory¶
NEO_JAX evaluates the effective ripple measure \(\epsilon_{\mathrm{eff}}^{3/2}\) used in stellarator neoclassical transport theory in the \(1/\nu\) regime. The governing model follows the analytic treatment of trapped-particle transport in Boozer coordinates. [1]
Boozer-coordinate representation¶
The solver assumes that each flux surface is provided in Boozer coordinates \((\psi,\theta_B,\phi_B)\) with magnetic field magnitude represented as a Fourier series:
The magnetic field can be written in the usual covariant/contravariant Boozer forms, which is the representation produced by Boozer transforms of VMEC equilibria:
Here \(\iota\) is the rotational transform, while \(I\) and \(G\)
are the Boozer current functions supplied by the geometry input. In NEO_JAX
they appear as curr_pol and curr_tor.
Continuous state integrated along a field line¶
The line-following part of the algorithm advances a state vector \(y(\phi_B)\) containing a geometric angle plus several accumulated integrals:
The first four components satisfy
where \(K_G\) is the geodesic-curvature term used in the Nemov effective ripple formula.
Pitch-parameter sampling¶
Trapped-particle contributions are sampled on a pitch grid \(\eta_j \in [B_{\min}/B_0,\, B_{\max}/B_0]\), where \(B_0 = B_{\max}\) on the surface in the default scaling. For each pitch sample, NEO_JAX evaluates masked line integrals of the form
The mask \(\chi_j\) identifies the trapped region for that pitch sample. The code tracks sign changes in the parallel derivative of \(B\) to assign samples to trapped-particle classes.
Effective ripple assembly¶
The trapped-particle accumulation produces a class-dependent quantity
BigInt(m) in the code. The reported effective-ripple contribution for class
\(m\) is
with the quadrature prefactor
where \(R_0\) is the reference major radius and \(\Delta\eta\) is the uniform pitch-grid spacing.
The total reported quantity is
Additional reported diagnostics¶
In addition to \(\epsilon_{\mathrm{eff}}^{3/2}\), NEO_JAX reports:
epspar: class-wise contributions to effective ripplectrone: fraction of singly trapped particlesctrtot: fraction of all trapped particles encountered in the sampled populationbarephandbarept: ripple-amplitude proxies derived from the trapped fractionsyps: the accumulated \(Y_4\)-related transport diagnostic
Reference scaling¶
The final reported values are scaled by the selected reference field and radius:
This is controlled by ref_swi and is described in Configuration and Runtime Controls.