Normalizations and units
SFINCS v3 (and dkx) mixes physical quantities (\(n_s\),
\(T_s\), …) with dimensionless normalized quantities written with hats
(BHat \(=\hat B\), …). This page collects the normalization
conventions used throughout the code and the sfincsOutput.h5 fields. The
drift-kinetic equation that uses them is derived in Physics reference: the radially local drift-kinetic model.
Reference scales and hats
All hatted fields are normalized to reference scales: lengths to \(\bar R\), magnetic field to \(\bar B\), so that
and the Boozer flux functions are \(\hat G = \langle B_\zeta\rangle/\bar B\bar R\),
\(\hat I = \langle B_\theta\rangle/\bar B\bar R\) (GHat, IHat).
The drift-kinetic ordering parameters
Three scalars set the physical regime and are supplied through the namelist as
Delta, alpha, nu_n:
\(\Delta\) (
Delta) — drift/gyroradius ordering parameter; multiplies every drift term and every radial flux.\(\alpha\) (
alpha) — potential-to-energy normalization; appears in the \(E\times B\) drive, the \(\Phi_1\) Boltzmann factor, and quasineutrality.\(\nu_n\) (
nu_n) — collision-frequency normalization multiplying the collision operator.
All three are written verbatim into sfincsOutput.h5 (Outputs (HDF5, NetCDF4, and NPZ)).
Velocity-space coordinates
The drift-kinetic equation is solved on the 4D phase space \((\theta,\zeta,x,\xi)\):
\(\theta,\zeta\) — Boozer angles (or the appropriate substitutes for the geometry scheme; see Geometry models and loading);
\(x_s = v/\sqrt{2T_s/m_s}\) — normalized speed, discretized on the Landreman–Ernst grid over a finite interval \(0\le x\le x_{\max}\);
\(\xi = v_\parallel/v\) — pitch-angle cosine, expanded in Legendre modes.
The species Maxwellian is \(f_M = n_s\,(m_s/2\pi T_s)^{3/2}\,e^{-x_s^2}\) and the distribution is split \(f_s=f_{s0}+f_{s1}\) (see Physics reference: the radially local drift-kinetic model).
Flux-surface averages
Constraints and diagnostics use the Jacobian-weighted flux-surface average
evaluated with the quadrature weights thetaWeights / zetaWeights and the
geometry factor DHat. Two derived scalars appear throughout:
\(\hat V' = \sum_{ij} w^\theta_i w^\zeta_j/\hat D_{ij}\) (VPrimeHat) and
\(\langle\hat B^2\rangle\) (FSABHat2).
Radial coordinates
dkx supports four radial labels, selected by inputRadialCoordinate
for the flux surface and inputRadialCoordinateForGradients for the profile
gradients:
Each per-species flux is emitted in all four coordinate variants
(*_psiHat, *_psiN, *_rHat, *_rN); the conversion multiplies the
native \(\nabla\hat\psi\) flux by \(d(\text{coord})/d\hat\psi\)
(Outputs (HDF5, NetCDF4, and NPZ)).
Radial electric field
The equilibrium radial electric field is \(E_r=-d\Phi_0/dr\). The operator
coefficients are written in terms of \(d\hat\Phi/d\hat\psi\) (the Er,
dPhiHatdpsiHat, dPhiHatdrHat, … inputs are inter-converted through the
radial-coordinate factors). The ambipolar solve drives Er directly
(inputRadialCoordinate = 4); see Physics reference: the radially local drift-kinetic model and
dkx.er.
Monoenergetic collisionality and electric field
For monoenergetic (RHSMode = 3) runs the physical collisionality and
electric field are supplied as nuPrime and EStar instead of nu_n and
dPhiHatdpsiHat:
with \(\hat B_0\) the \((0,0)\) Fourier mode of \(\hat B\). In this
mode the speed grid collapses to a single node at \(x=1\), and nuPrime /
EStar are written to sfincsOutput.h5 alongside the \(2\times2\)
transportMatrix. For the full upstream unit derivations see the SFINCS technical
notes cited from Upstream SFINCS sources and primary literature.