Source And Transport Profile Outputs
This page is generated from in-code XGC I/O metadata by utils/python/documentation/document_outputs.py.
Source, current-drive, collision-convergence, loop-voltage, and transport-profile diagnostic outputs.
xgc.col_conv_status.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
integer flag |
Collision solver convergence status at each toroidal plane and mesh node. Status codes are -5: NaN or Inf found, -4: maximum Picard iterations reached, -3: too many negative distribution-function values after the solve, -2: positivity correction failed, -1: conservation check failed before the first Picard solve, 0: not attempted, 1: converged successfully, 2: still in progress/internal transient state. |
|
|
Non-negative integer |
XGC global simulation time step for this collision convergence output slice. |
|
|
Non-negative integer |
Configured collision subcycle count at each toroidal plane and mesh node after convergence-based adjustment for the next collision application. On a failed node this may exceed the count used in the just-completed solve. |
|
|
s |
Simulation time of this collision convergence output slice. |
|
|
Positive integer |
Index of this collision convergence output slice. Values: 1, 2, …, # outputs. |
xgc.current_drive.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
A m^-2 |
Equilibrium parallel current density \(j_{\\parallel}=\\hat{b}\\cdot(\\nabla\\times B)/\\mu_0\) on mesh nodes. |
|
|
A m^-2 |
Flux-surface-averaged equilibrium parallel current density on mesh nodes. |
|
|
Positive integer |
Number of mesh nodes per plane. |
xgc.diffusion_profiles.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
m^-3 |
Flux-surface-averaged density profiles on [species, sample, flux surface]. |
|
|
m s^-1 |
Flux-surface-averaged parallel-flow profiles on [species, sample, flux surface]. |
|
|
Non-negative integer |
XGC global simulation time step for this diffusion-profile diagnostic output. |
|
|
Positive integer |
Number of buffered time samples in each diffusion-profile diagnostic output. |
|
|
Positive integer |
Number of non-adiabatic species in the diffusion-profile diagnostic. |
|
|
Positive integer |
Number of flux-surface grid points in the diffusion-profile diagnostic. |
|
|
T m^2 |
Poloidal magnetic flux \(\\psi/(2\\pi)\). |
|
|
Non-negative integer |
Simulation time steps corresponding to buffered diffusion-profile samples. |
|
|
eV |
Flux-surface-averaged temperature profiles on [species, sample, flux surface]. |
|
|
s |
Physical time in seconds for each buffered sample, not one scalar time per ADIOS step. |
|
|
Non-negative integer |
Index of the buffered diffusion-profile output; individual sample steps are in steps and sample times in time. |
xgc.diffusion_solver_moments.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
s |
Physical time interval advanced by this diffusion solve. |
|
|
[m^-3, m s^-1, eV, eV, m s^-1, eV, eV] |
Packed transport moments immediately after diffusion_solve; dimensions are [moment_block, node]. |
|
|
[m^-3, m s^-1, eV, eV, m s^-1, eV, eV] |
Packed transport moments immediately before diffusion_solve; dimensions are [moment_block, node]. |
|
|
Positive integer |
Number of packed anomalous-transport moment fields. |
|
|
Positive integer |
Number of nodes in each 2D unstructured-mesh moment field. |
xgc.loop_vol.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
Non-negative integer |
XGC global simulation time step for this loop-voltage diagnostic output slice. |
|
|
A m^-2 |
Current controller error bt_sign*(j_parallel,equilibrium-j_parallel,plasma), with bt_sign the equilibrium toroidal-field sign. |
|
|
A m^-2 |
Cumulative controller sum of bt_sign*(j_parallel,equilibrium-j_parallel,plasma) over current-drive applications; no physical timestep factor is included. |
|
|
A m^-2 |
Exponentially smoothed controller error bt_sign*(j_parallel,equilibrium-j_parallel,plasma), updated as previous=0.8*previous+0.2*current on each current-drive application. |
|
|
V |
Loop voltage. The corresponding toroidal electric field is \(E_{\\phi}=V_{\\mathrm{loop}}/(2\\pi R)\), so positive loop voltage implies an electric field in the positive toroidal direction. |
|
|
s |
Simulation time of step in seconds. |
|
|
Positive integer |
Diagnostic cadence index computed as integer gstep divided by the configured diagnostic period. This index is not the zero-based ADIOS step and need not start at 1 in a restarted or selected product. |