1D Diagnostics

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

Flux-surface and volume-integrated one-dimensional diagnostic outputs.

xgc.oneddiag.bp

Variable

Units

Description

Context

[species]_gc_density_1d or _df_1d

m^-3

Gyro-center density. Note: gyro-center density is close to the actual plasma density for electrons; for ions add polarization density to get actual ion density.

context

[species]_gc_poloidal_flow_1d or _df_1d

m/s

Flux averaged poloidal flow of gyro-center. Differs from the poloidal flow by the diamagnetic flow.

context

[species]_gc_toroidal_flow_1d or _df_1d

m/s

Flux averaged toroidal flow of gyro-center. Differs from the toroidal flow by the diamagnetic flow.

context

[species]_grad_psi_sqr_1d or _df_1d

(T m)^2

Particle average of \({\\mathrm{\|\\nabla \\psi\|^2}}\) for each flux surface. Roughly flux average of \({\\mathrm{\|\\nabla \\psi\|^2}}\) This is usually used for converting \({\\mathrm{{\\partial \\psi}}\) to \({\\mathrm{\\partial r}}\)

context

[species]_marker_density_1d or _df_1d

m^-3

Marker count per bin volume for _1d; the corresponding _df_1d channel is the sum of marker w1 weights per bin volume and can be signed. Neither marker-density channel is normalized by the gyrocenter-density sum.

context

[species]_parallel_flow_1d or _df_1d

m/s

Parallel flow velocity.

context

[species]_parallel_mean_en_1d or _df_1d

eV

Parallel kinetic energy: <0.5 m v^2>. For parallel temperature, subtract mean flow energy.

context

[species]_perp_temperature_1d or _df_1d

eV

Perpendicular temperature \(<\\mu B>\)

context

[species]_poloidal_ExB_flow_1d or _df_1d

m/s

Particle average of poloidal flow by ExB drift.

context

[species]_radial_en_flux_1d or _df_1d

J T m^2 s^-1

Particle averaged radial energy flux in \(\\psi\) space. \(<E V \\cdot \\nabla \\psi>\) Averaged \(\\nabla \\psi\) is required to get radial flux in real space (J m/s)

context

[species]_radial_en_flux_3db_1d or _df_1d

J T m^2 s^-1

Particle averaged radial energy flux by dB in psi space.

context

[species]_radial_en_flux_ExB_1d or _df_1d

J T m^2 s^-1

Particle averaged radial energy flux by ExB in psi space.

context

[species]_radial_flux_1d or _df_1d

T m^2 s^-1

Particle averaged radial drift in \(\\psi\) space. \(<V \\cdot \\nabla \\psi>\) Averaged \(\\nabla \\psi\) is required to get radial flux in real space (m/s)

context

[species]_radial_flux_3db_1d or _df_1d

T m^2 s^-1

Particle averaged radial drift by dB in psi space.

context

[species]_radial_flux_ExB_1d or _df_1d

T m^2 s^-1

Particle averaged radial drift by ExB in psi space.

context

[species]_radial_mom_flux_1d or _df_1d

T m^3 s^-2

Particle-weighted mean of (v_parallel B_phi/|B|) (v_gc dot grad(psi)), without species mass or a major-radius moment arm. Dividing by a surface gradient scale gives per-particle linear-momentum transport divided by mass, in m^2 s^-2; multiply by density and species mass for linear-momentum flux density.

context

[species]_radial_mom_flux_ExB_1d or _df_1d

T m^3 s^-2

Particle-weighted mean of (v_parallel B_phi/|B|) (v_ExB dot grad(psi)), without species mass or a major-radius moment arm. Dividing by a surface gradient scale gives per-particle linear-momentum transport divided by mass, in m^2 s^-2; multiply by density and species mass for linear-momentum flux density.

context

[species]_tor_angular_momentum_1d or _df_1d

m^2 s^-1

Toroidal angular momentum (without mass): <V_tor R>.

context

[species]_vpar_x_B_1d or _df_1d

T m s^-1

Particle-weighted average of the scalar product v_parallel |B|, used in bootstrap-current analysis.

context

cden00_1d

m^-3

Flux-surface average of the processed axisymmetric Poisson right-hand-side density on psi00, in elementary-charge-normalized units. It includes the enabled boundary masks, offsets, analytic-background perturbations and charge corrections.

context

eden00_1d

m^-3

Flux-surface averaged electron field-solve number-density channel.

context

gsamples

Positive integer

Number of samples (for evenly spaced psi00)

context

gstep

Non-negative integer

XGC global simulation time step for this 1D diagnostic output slice.

context

iden00_1d

m^-3

Flux-surface average of the ion field-solve density contribution, summed over ion species with charge-number weighting.

context

pot00_1d

V

Flux averaged electrostatic potential

context

psi

dimensionless

Normalized poloidal magnetic flux at each output on each flux surface

context

psi00

T m^2

Unnormalized poloidal magnetic flux at each output on each flux surface

context

psi_mks

T m^2

Unnormalized poloidal magnetic flux at each output on each flux surface

context

samples

Positive integer

Number of samples (i.e. number of flux surfaces)

context

time

s

Simulation time at each output in seconds

context

tindex

Positive integer

Index of diagnostic output (gstep/diagnostic period). Values: 1, 2, …, # outputs

context

xgc.volumes.bp

Variable

Units

Description

Context

diag_1d_npsi

Positive integer

Number of psi surfaces

context

diag_1d_vol

m^3

Volume associated with each flux surface

context

vol00

m^3

Volume associated with each psi00 (evenly spaced in psi) surface

context