Sheath And Wall Diagnostics

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

Sheath, wall-loss, heat-flux, and Gyraze surrogate sheath diagnostic outputs.

xgc.heatdiag*.bp

Variable

Units

Description

Context

ds

m^2

Surface area of each wall-curve segment swept over one heat-diagnostic toroidal bin of width wedge_angle/nphi.

context

gstep

Non-negative integer

XGC global simulation time step for this heat diagnostic output slice.

context

nphi

Positive integer

Number of toroidal heat-diagnostic bins within the simulated toroidal wedge, configured by diag_heat_nphi independently of the field mesh-plane count.

context

nseg

Positive integer

Number of wall segments on which the heat load is sampled.

context

nseg1

Positive integer

Number of heat wall-segment entries plus the reserved leading bin (nseg+1). Current deposition places matched and nearest-segment fallback crossings in bins 1..nseg, leaving bin 0 unused.

context

psamples

Positive integer

Number of sampling points in physical poloidal flux divided by 2*pi (psi), in each rectangular heat-diagnostic section.

context

psi

T m^2

Poloidal magnetic flux \(\\psi/(2\\pi)\) at the heat load sampling points.

context

psi

T m^2

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

context

r

m

Radial coordinates of the sampling points.

context

rsamples

Positive integer

Number of sampling points in R-direction.

context

section

Positive integer

Number of sections in which the divertor heat load is sampled.

context

sp_name + "_distance"

m

Accumulated sum of each escaping marker RZ displacement sqrt((R_old-R_new)^2+(Z_old-Z_new)^2) times its deposited plasma-particle weight over the heat diagnostic interval. Divide by the same-species _number in nonempty bins for the weighted mean displacement.

context

sp_name + "_distance_psi"

m

Accumulated sum of each escaping marker RZ displacement sqrt((R_old-R_new)^2+(Z_old-Z_new)^2) times its deposited plasma-particle weight over the heat diagnostic interval. Divide by the same-species _number_psi in nonempty bins for the weighted mean displacement.

context

sp_name + "_number"

particle count

Number of plasma particles (not markers) hitting each sampling point (in RZ-coordinates). Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_number"

particle count

Number of plasma particles (not markers) hitting each wall segment; nseg1 includes a reserved leading bin 0; current deposition assigns unmatched crossings to the nearest segment. Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_number_psi"

particle count

Number of plasma particles (not markers) hitting each sampling point (in psi). Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_para_energy"

J

Parallel kinetic energy hitting each sampling point (in RZ-coordinates). Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_para_energy"

J

Parallel kinetic energy hitting each wall segment; nseg1 includes a reserved leading bin 0; current deposition assigns unmatched crossings to the nearest segment. Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_para_energy_psi"

J

Parallel kinetic energy hitting each sampling point (in psi). Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_perp_energy"

J

Perpendicular kinetic energy hitting each sampling point (in RZ-coordinates). Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_perp_energy"

J

Perpendicular kinetic energy hitting each wall segment; nseg1 includes a reserved leading bin 0; current deposition assigns unmatched crossings to the nearest segment. Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_perp_energy_psi"

J

Perpendicular kinetic energy hitting each sampling point (in psi). Data is accumulated over all time steps between two subsequent heat diagnostic outputs.

context

sp_name + "_potential"

V

Accumulated sum of sheath-potential samples times deposited plasma-particle weight over the heat diagnostic interval. Divide by the same species _number in each nonempty bin to obtain the deposited-particle-weighted mean sheath potential.

context

sp_name + "_potential"

V

Accumulated sum of sheath-potential samples times deposited plasma-particle weight over the heat diagnostic interval. Divide by the same species _number in each nonempty bin to obtain the deposited-particle-weighted mean sheath potential. Current segment deposition leaves reserved bin 0 unused and assigns unmatched trajectories to the nearest wall segment.

context

sp_name + "_potential_psi"

V

Accumulated sum of sheath-potential samples times deposited plasma-particle weight over the heat diagnostic interval. Divide by the same species _number_psi in each nonempty bin to obtain the deposited-particle-weighted mean sheath potential.

context

strike_angle

rad

Angle of the magnetic field relative to the wall surface normal.

context

time

s

Simulation time of step in seconds.

context

tindex

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.

context

z

m

Z-coordinates of the sampling points.

context

zsamples

Positive integer

Number of sampling points in Z-direction.

context

xgc.sheathdiag.bp

Variable

Units

Description

Context

gstep

Non-negative integer

XGC global simulation time step for this sheath output slice.

context

gyraze_converged_count

Non-negative integer

Number of Gyraze surrogate calls classified as converged at each wall node

context

gyraze_cutoff_factor_avg

dimensionless

Average Gyraze sheath cutoff scaling factor at each wall node over this diagnostic interval

context

gyraze_cutoff_factor_count

Non-negative integer

Number of electron sheath hits included in gyraze_cutoff_factor_avg at each wall node

context

gyraze_fallback_count

Non-negative integer

Number of Gyraze surrogate calls that fell back to the original cutoff factor at each wall node

context

gyraze_potential_avg

V

Average local sheath potential passed to Gyraze at each wall node over this diagnostic interval

context

gyraze_unconverged_count

Non-negative integer

Number of Gyraze surrogate calls classified as unconverged and evaluated with the full MPE model at each wall node

context

nwall

Positive integer

Number of vertices in the wall polygon.

context

sheath_ilost

C

Lost ion charge at each toroidal plane and wall node for the accumulator interval consumed by this sheath adjustment. Modes 1/3 write before the current ipc=2 push, while mode 2 writes after current-step sheath-hit processing; this is not a sum over the full diagnostic cadence.

context

sheath_lost

C

Lost signed net charge at each toroidal plane and wall node for the accumulator interval consumed by this sheath adjustment. Modes 1/3 write before the current ipc=2 push, while mode 2 writes after current-step sheath-hit processing; this is not a sum over the full diagnostic cadence.

context

sheath_nphi

Positive integer

Number of toroidal mesh planes resolved by the sheath calculation; toroidal angle spacing depends on nphi and wedge_n in xgc.mesh.bp: \(\\Delta\\phi = 2\\pi/(N_{\\phi} N_{\\mathrm{wedge}})\).

context

sheath_pot

V

Sheath potential drop (from magnetic pre-sheath to the grounded wall) evaluated by the logical sheath module.

context

time

s

Simulation time of this sheath output slice.

context

tindex

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.

context

xgc.gyraze.bp

Variable

Units

Description

Context

bfield_impact_angle

rad

Magnetic grazing angle relative to the local wall surface at wall nodes in xgc.mesh.bp grid_wall_nodes ordering

context

grid_nwall

Positive integer

Number of wall nodes in xgc.gyraze.bp, matching grid_wall_nodes ordering in xgc.mesh.bp.

context