Equilibrium And RMP Outputs
This page is generated from in-code XGC I/O metadata by utils/python/documentation/document_outputs.py.
Equilibrium, magnetic-field, and resonant magnetic perturbation outputs.
xgc.bfield.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
T |
Magnetic field vector |
|
|
Positive integer |
Number of grid vertices |
|
|
T m^2 |
Equilibrium magnetic-flux label evaluated at mesh vertices; axisymmetric runs use poloidal flux divided by 2*pi. |
xgc.bfieldm.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
Positive integer |
Number of midplane points (1000). |
|
|
T |
Absolute value of toroidal magnetic field. |
|
|
T m |
Nonnegative R*sqrt(B_R^2+B_Z^2) on Z=Z_axis, phi=0; for an axisymmetric equilibrium this is the magnitude of grad(poloidal flux/(2*pi)), not its signed R derivative. |
|
|
dimensionless |
Equilibrium flux label divided by eq_psi_norm, sampled on Z=Z_axis, phi=0; the denominator is the X-point flux for axisymmetric equilibria and the configured reference-point flux for stellarators. |
|
|
m |
Major radius. |
|
|
m |
Z(height) at the magnetic axis. |
xgc.equil.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
dimensionless |
Direction of poloidal field (1 or -1) |
|
|
dimensionless |
Direction of toroidal field (1 or -1) |
|
|
T |
Radial magnetic field component on rectangular grid points |
|
|
T |
Z magnetic field component on rectangular grid points |
|
|
T |
Toroidal magnetic field component on rectangular grid points |
|
|
T m |
Positive poloidal-current function magnitude as a function of the equilibrium flux label; the signed toroidal-field function is bt_sign*eq_I. |
|
|
rad |
PEST coordinate on rectangular grid points |
|
|
rad |
VMEC coordinate on rectangular grid points |
|
|
T |
Magnetic field at the magnetic axis |
|
|
m |
Major radius at the magnetic axis |
|
|
m |
Z (height) at the magnetic axis |
|
|
m |
Maximum major radius of interpolation boundary |
|
|
m |
Maximum height of interpolation boundary |
|
|
m |
Minimum major radius of interpolation boundary |
|
|
m |
Minimum height of interpolation boundary |
|
|
Positive integer |
Number of planes in input grid (stellarator only) |
|
|
Positive integer |
Number of psi (poloidal flux) grid points |
|
|
Positive integer |
Number of horizontal R grid points |
|
|
Positive integer |
Number of vertical Z grid points |
|
|
T m^2 (axisymmetric); dimensionless (stellarator) |
Equilibrium flux-grid coordinate: dimensional poloidal flux divided by 2*pi for axisymmetric equilibria, or the supplied stellarator flux label divided by eq_psi_norm. |
|
|
T m^2 |
Poloidal flux used for normalization |
|
|
dimensionless |
Normalized equilibrium flux label on the stellarator rectangular RZ grid, equal to the supplied flux label divided by eq_psi_norm. |
|
|
T m^2 |
Poloidal flux on the rectangular grid points |
|
|
T m^2 |
Poloidal flux at the first (lower) X-point |
|
|
m |
Major radius at the first (lower) X-point |
|
|
m |
Height at the first (lower) X-point |
|
|
Positive integer |
Number of toroidal mesh planes \(N_{\\mathrm{planes}}\) |
|
|
Positive integer |
Toroidal periodicity from VMEC or torus wedge number |
xgc.rmp_deltaa.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
T m |
RMP perturbation of the parallel vector potential. |
|
|
T m |
Sine coefficients of the vacuum vector potential on the RZ grid. |
|
|
T m |
Cosine coefficients of the vacuum vector potential on the RZ grid. |
|
|
Positive integer |
Number of vector components in R,Z,phi order. |
|
|
Positive integer |
Number of mesh nodes per plane. |
|
|
Positive integer |
Number of toroidal mesh planes \(N_{\\mathrm{planes}}\). |
|
|
Positive integer |
Number of radial input grid points. |
|
|
Positive integer |
Number of vertical input grid points. |
|
|
integer mode number |
Toroidal mode numbers for RMP simulations. |
|
|
Integer mode number |
Toroidal perturbation mode numbers. |
|
|
Positive integer |
Number of configured input toroidal harmonics in the static vacuum RMP field (ptb_3db_num_ntor). |
|
|
Positive integer |
Number of toroidal perturbation modes. |
xgc.rmp_residual.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
T m |
Parallel vector-potential Fourier amplitudes by toroidal mode, poloidal mode, and flux surface. |
|
|
T m |
Perturbed parallel vector-potential correction on mesh nodes and toroidal planes. |
|
|
T m |
Parallel vector-potential correction Fourier amplitudes by toroidal mode, poloidal mode, and flux surface. |
|
|
dimensionless |
Damping factor applied to each RMP Fourier mode. |
|
|
Non-negative integer |
XGC global simulation time step for this RMP residual output slice. |
|
|
Positive integer |
Runge-Kutta stage index for this RMP residual output slice. |
|
|
Integer mode number |
Poloidal mode numbers used in the RMP residual diagnostic. |
|
|
Positive integer |
Number of mesh nodes in the RMP residual diagnostic. |
|
|
Positive integer |
Number of radial flux-surface samples for the RMP residual diagnostic. |
|
|
Integer mode number |
Toroidal mode numbers used in the RMP residual diagnostic. |
|
|
Positive integer |
Number of poloidal mode numbers in the RMP residual diagnostic. |
|
|
Positive integer |
Number of toroidal mode numbers in the RMP residual diagnostic. |
|
|
T m^2 |
Unnormalized equilibrium flux labels on the selected psi_surf2 grid used by the RMP residual diagnostic; axisymmetric values are poloidal flux divided by 2*pi. |
|
|
dimensionless |
RMP ramp-up factor applied at this diagnostic time. |
|
|
dimensionless |
Relative RMP update residual for each toroidal DFT slot and poloidal mode: radial L2 norm of dApar_mn divided by max(tol0, radial L2 norm of Apar_mn). Ignored toroidal slots are zero. |
|
|
s |
Simulation time for the RMP damping-factor residual diagnostic. |
|
|
Positive integer |
Index of this RMP residual output time slice. Before ptb_3db_start_time this follows gstep; after ptb_3db_start_time it counts only electromagnetic steps in the RMP EM/ES cycle. Use ipc to distinguish Runge-Kutta stages written at the same tindex. |
xgc.rmp_deltab.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
T |
Sine coefficients of the vacuum magnetic perturbation. |
|
|
T |
Cosine coefficients of the vacuum magnetic perturbation. |
|
|
Positive integer |
Number of magnetic-field components in R,Z,phi order. |
|
|
Positive integer |
Number of mesh nodes per plane. |
|
|
Integer mode number |
Toroidal perturbation mode numbers. |
|
|
Positive integer |
Number of toroidal perturbation modes. |
xgc.rmp_nonres_deltab.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
T m |
Filtered parallel vacuum potential at each plane’s right mesh. |
|
|
T m |
Full parallel vacuum potential at each plane’s right mesh. |
|
|
T |
Sine coefficients of the full vacuum magnetic perturbation. |
|
|
T |
Cosine coefficients of the full vacuum magnetic perturbation. |
|
|
Positive integer |
Number of magnetic-field components in R,Z,phi order. |
|
|
Positive integer |
Number of mesh nodes per plane. |
|
|
T |
Sine coefficients of the non-resonant vacuum magnetic perturbation. |
|
|
T |
Cosine coefficients of the non-resonant vacuum magnetic perturbation. |
|
|
Integer mode number |
Toroidal perturbation mode numbers. |
|
|
Positive integer |
Number of toroidal perturbation modes. |
xgc.rmp_rampup_fac.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
Non-negative integer |
Global step of the vacuum RMP ramp-up factor. |
|
|
dimensionless |
Relative amplitude of the vacuum RMP field. |
|
|
s |
Simulation time of the vacuum RMP ramp-up factor. |
|
|
Non-negative integer |
Ramp-up output index, equal to the global simulation step. |