# 3D diagnostics (XGC1)¶

XGC1 3D output files xgc.3d.#####.bp and xgc.f3d.#####.bp where ##### is the time step.

xgc.3d.#####.bp
Printed when: diag_3d_on=.true..   Output frequency: diag_3d_period.

Output

Dimension

Units

Description

aparh

$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

Units

Perturbed

apars

$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

Units

Perturbed

dpot

$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

$$\mathrm{V}$$

Perturbed potential in volt.

e_marker_den
i_marker_den

# 3D mesh nodes

$$\mathrm{\#~marker~particles}$$

Electron/Ion marker density at each mesh node interpolated from surrounding marker particles.

e_mean_weight
i_mean_weight

# 3D mesh nodes

$$\frac{\mathrm{\#~real~particles}}{\mathrm{\#~marker~particles}}$$

Electron/Ion mean weight $$\overline{w} = \frac{1}{N_p} {\sum}_{k = 1}^{N_p} w_{1,k} \, w_{0,k}$$ at each mesh node interpolated from surrounding marker particles.

e_weight_variance
i_weight_variance

# 3D mesh nodes

$$\frac{(\mathrm{\#~real~particles})^2}{\mathrm{\#~marker~particles}}$$

Electron/Ion weight variance $$\sigma^2 = \frac{1}{N_p} {\sum}_{k = 1}^{N_p} (w_{1,k} \, w_{0,k} - \overline{w})^2$$ at each mesh node interpolated from surrounding marker particles.

eden
iden
$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

$${\mathrm{m}}^{-3}$$

Electron/Ion density at each mesh node interpolated from surrounding marker particles.

ejpar
ijpar
$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

Units

Description

epara
ipara
$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

:math”mathrm{V/m}

Parallel (to the magnetic field) electric field in Volt per meter

epara2
ipara2
$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

$$\mathrm{V/m}$$

Parallel electric field for evaluating $$\partial A_s/\partial t = -\mathbf{b}\cdot\nabla\phi$$

epsi

$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

:math”mathrm{V/m}

Radial electric field in Volt per meter

etheta

$$N_{\mathrm{planes}} \times$$
# 3D mesh nodes

:math”mathrm{V/m}

Poloidal electric field in Volt per meter

dBpsi

$$N_{mathrm{planes}} \times$$
# 3D mesh nodes

$$\mathrm{T}$$

Radial magnetic field perturbation in Tesla

dBtheta

$$N_{mathrm{planes}} \times$$
# 3D mesh nodes

$$\mathrm{T}$$

Poloidal magnetic field perturbation in Tesla

dBphi

$$N_{mathrm{planes}} \times$$
# 3D mesh nodes

$$\mathrm{T}$$

Toroidal magnetic field perturbation in Tesla

iphi

Scalar

Units

Description

nnode

Scalar

Positive integer

Number of 3D mesh nodes.

nphi

Scalar

Positive integer

Number of poloidal planes $$N_{\mathrm{planes}}$$.

pot0

# 3D mesh nodes

$$\mathrm{V}$$

Description

potm0

# 3D mesh nodes

$$\mathrm{V}$$

Description

time

Scalar

$$\mathrm{s}$$

Simulation time of step in seconds.

xgc.f3d.#####.bp
Printed when: ?   Output frequency: diag_f3d_period.

Output

Dimension

Units

Description

dpot

# 3D mesh nodes
$$\times N_{\mathrm{planes}}$$

$$\mathrm{V}$$

Perturbed potential in volt.

e_ExB_enflux_en
i_ExB_enflux_en

Dimension

Units

Description

e_ExB_flux_en
i_ExB_flux_en

Dimension

Units

Description

e_T_para
i_T_para

Dimension

Units

Description

e_T_perp
i_T_perp

Dimension

Units

Description

e_den
i_den

Dimension

Units

Description

e_den_en
i_den_en

Dimension

Units

Description

e_energy_en
i_energy_en

Dimension

Units

Description

e_parallel_flow_n0_df
i_parallel_flow_n0_df

# 3D mesh nodes

Units

Description

e_parallel_flow_n0_f0
i_parallel_flow_n0_f0

# 3D mesh nodes

Units

Description

e_parallel_flow_turb_df
i_parallel_flow_turb_df

# 3D mesh nodes

Units

Description

e_parallel_flow_turb_f0
i_parallel_flow_turb_f0

# 3D mesh nodes

Units

Description

e_poloidal_flow_n0_df
i_poloidal_flow_n0_df

# 3D mesh nodes

Units

Description

e_poloidal_flow_n0_f0
i_poloidal_flow_n0_f0

# 3D mesh nodes

Units

Description

e_poloidal_flow_turb_df
i_poloidal_flow_turb_df

# 3D mesh nodes

Units

Description

e_poloidal_flow_turb_f0
i_poloidal_flow_turb_f0

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

# 3D mesh nodes

Units

Description

e_tor_ang_mom_n0_df
i_tor_ang_mom_n0_df

# 3D mesh nodes

Units

Description

e_tor_ang_mom_n0_f0
i_tor_ang_mom_n0_f0

# 3D mesh nodes

Units

Description

e_tor_ang_mom_turb_df
i_tor_ang_mom_turb_df

# 3D mesh nodes

Units

Description

e_tor_ang_mom_turb_f0
i_tor_ang_mom_turb_f0

# 3D mesh nodes

Units

Description

e_toroidal_flow_n0_df
i_toroidal_flow_n0_df

# 3D mesh nodes

Units

Description

e_toroidal_flow_n0_f0
i_toroidal_flow_n0_f0

# 3D mesh nodes

Units

Description

e_toroidal_flow_turb_df
i_toroidal_flow_turb_df

# 3D mesh nodes

Units

Description

e_toroidal_flow_turb_f0
i_toroidal_flow_turb_f0

# 3D mesh nodes

Units

Description

e_u_para
i_u_para
# 3D mesh nodes
$$\times N_{\mathrm{planes}}$$

Units

Description

inode1m1

Scalar

Positive integer

Description

iphim1

Scalar

Positive integer

Description

n_energy

Scalar

Positive integer

Description

ndata

Scalar

Positive integer

Description

nnode

Scalar

Positive integer

Number of 3D mesh nodes.

nphi

Scalar

Positive integer

Number of poloidal planes $$N_{\mathrm{planes}}$$.

pot0

# 3D mesh nodes

Units

Description

time

Scalar

$$\mathrm{s}$$

Simulation time of step in seconds.

xgc.f3d.#####.bp.dir
Printed when: ?   Output frequency: diag_f3d_period.

Output

Dimension

Units

Description

Output

Dimension

Units

Description