Particle Diagnostics
This page is generated from in-code XGC I/O metadata by utils/python/document_outputs.py.
Particle, escaped-particle, and particle-consistency diagnostic outputs.
xgc.particle.*.bp
Variable |
Units |
Description |
|---|---|---|
|
Positive integer |
Global ID of the markers in the sample. |
|
Positive integer |
Number of particle phase variables. |
|
Positive integer |
Number of markers in the sample. |
|
[m, m, rad, m, dimensionless, dimensionless, J/T, dimensionless, m^-3, optional: m^-3] |
Selected species particle phase array with columns [R, Z, phi, rho, w1, w2, mu, w0, g], where \(R\), \(Z\), and \(\phi\) are the cylindrical coordinates of the particle, \(\rho\) is the parallel gyroradius (proxy for \(v_{\parallel}\)), \(w_1\) is the delta-f weight, \(w_2\) is a weight used in the weight evolution equation, \(\mu\) is the magnetic moment, \(w_0\) is the full-f weight (from importance sampling), and \(g\) is the marker density. Particles are selected when their global particle ID is positive and divisible by diag_particle_mod. If PTL_G2 is enabled, an additional g2 marker-density column is appended. |
|
s |
Simulation time of step in seconds. |
|
Positive integer |
Simulation time step index. |
xgc.escaped_ptls.*.bp
Variable |
Units |
Description |
|---|---|---|
|
dimensionless |
Decoded escaped-particle weight-change payload from the packed particle flag. |
|
integer flag |
Decoded escaped-particle low-bit status flags for this species. |
|
index |
Globally unique marker-particle IDs for escaped particles of this species. |
|
Non-negative integer |
Largest globally unique marker-particle ID already assigned for this species when escaped particles are written. |
|
Positive integer |
Number of columns in the escaped-particle phase array. |
|
Non-negative integer |
Total number of escaped marker particles written for this species in this diagnostic step. |
|
[m, m, rad, m, dimensionless, dimensionless, J/T, dimensionless, m^-3, T m^2, T] |
Escaped-particle phase array with columns [R, Z, phi, rho, w1, w2, mu, w0, g, psi, |B|], where \(R\), \(Z\), and \(\phi\) are the cylindrical coordinates of the particle, \(\rho\) is the parallel gyroradius (proxy for \(v_{\parallel}\)), \(w_1\) is the delta-f weight, \(w_2\) is a weight used in the weight evolution equation, \(\mu\) is the magnetic moment, \(g\) is the marker density, \(\psi\) is the poloidal magnetic flux, and \(\|B\|\) is the magnetic-field magnitude. |
|
Non-negative integer |
Simulation time step at which each escaped particle was marked for output. |
|
s |
Simulation time of step in seconds. |
|
Non-negative integer |
Simulation time step of the escaped-particle diagnostic output. |
particle_check*.bp
Variable |
Units |
Description |
|---|---|---|
|
index |
Reference globally unique particle IDs used by the global particle consistency check. |
|
[m, m, rad, m, dimensionless, dimensionless, J/T, dimensionless, m^-3] |
Reference particle phase array with columns [R, Z, phi, rho, w1, w2, mu, w0, g], where \(R\), \(Z\), and \(\phi\) are the cylindrical coordinates of the particle, \(\rho\) is the parallel gyroradius (proxy for \(v_{\parallel}\)), \(w_1\) is the delta-f weight, \(w_2\) is a weight used in the weight evolution equation, \(\mu\) is the magnetic moment, \(w_0\) is the full-f weight (from importance sampling), and \(g\) is the marker density. Used by the global particle consistency check. |