Source Diagnostics

This page is generated from in-code XGC I/O metadata by utils/python/document_outputs.py.

Distribution-function source diagnostics and neutral-particle source outputs.

xgc.fsourcediag.*.bp

Variable

Units

Description

fullname

[m^3, 1/m^3, dimensionless, J, kg m/s]

Per-node f0_df diagnostic [species]_[channel]_[source]; channel is volume, density, density_change, energy_change, or momentum_change for the named source. Change channels are normalized by the source density/weight sum, so the actual density, momentum, and energy changes are obtained by multiplying by the corresponding density variable. The source [total] is a special case whose meaning depends on f0_df0g_transfer_algorithm. For PersistentRetainedDf0g, [total] is the conservation error from dropping distribution-function components that could not be interpolated to particles. For LegacyAddToF0gH, [total] is the remainder of the mesh-to-particle transfer and is added to the background distribution function; in that case, the sum of [total] and [total2] should equal the sum of the other sources.

fullname

[m^3, 1/m^3, dimensionless, J, kg m/s]

Per-node particle-based f0_df diagnostic [species]_[channel]_total2; change channels give net particle density, energy, and parallel-momentum changes normalized by the total source density/weight sum. This output represents the density/momentum/energy changes in the particle population due to sources after mesh-to-particle interpolation.

psi

T m^2

Poloidal magnetic flux \(\psi/(2\pi)\).

psi_mks

Wb/rad

Poloidal magnetic flux \(\psi/(2\pi)\) in MKS units.

samples

Positive integer

Output size (number of mesh vertices).

step

Positive integer

Simulation time step index.

time

s

Simulation time of step in seconds.

tindex

Positive integer

Index of the output time slice (simulation time step/output frequency)

xgc.neutrals.*.bp

Variable

Units

Description

den_neut

m^-3

Neutrals density.

n_n

Positive integer

Number of mesh nodes per plane.

rel_std

dimensionless

Relative statistical uncertainty of the neutral background density on mesh nodes.

temp_neut

eV

Neutrals temperature.