Source Diagnostics
This page is generated from in-code XGC I/O metadata by utils/python/documentation/document_outputs.py.
Distribution-function source diagnostics and neutral-particle source outputs.
xgc.fsourcediag.*.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
[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. |
|
|
[dimensionless, dimensionless, dimensionless, J, kg m/s] |
Per-node particle source diagnostic [species]_[channel]_total2. density_change, energy_change and momentum_change are the net deposited particle changes across the current source call, divided by the corresponding [species]_density_total mesh weight sum. The volume and density total2 channels are not accumulated and remain zero. Multiply change channels by [species]_density_total to obtain changes per physical volume; divide by the applicable source-update duration for rates. |
|
|
Non-negative integer |
XGC global simulation time step for this f-source diagnostic output slice. |
|
|
dimensionless |
Normalized poloidal magnetic flux at each mesh node: grid.psi/magnetic_field.psi_norm(). |
|
|
Wb/rad |
Poloidal magnetic flux \(\\psi/(2\\pi)\) in MKS units. |
|
|
Positive integer |
Output size (number of mesh vertices). |
|
|
s |
Simulation time of step in seconds. |
|
|
Positive integer |
Index of this f-source diagnostic output time slice. Values: 1, 2, …, # outputs. |
xgc.neutrals.*.bp
Variable |
Units |
Description |
Context |
|---|---|---|---|
|
m^-3 |
Neutrals density. |
|
|
Non-negative integer |
XGC global simulation time step for this neutral output slice. |
|
|
Positive integer |
Number of mesh nodes per plane. |
|
|
dimensionless |
Relative statistical uncertainty of the neutral background density on mesh nodes. |
|
|
eV |
Neutrals temperature. |
|
|
s |
Simulation time of this neutral output slice. |
|
|
Positive integer |
Index of this neutral diagnostic output time slice. Values: 1, 2, …, # outputs. |