Sources diagnostics
-------------------
.. No-Break Space
.. |nbsp| unicode:: 0xA0
:trim:
.. raw:: html
.. role:: red
.. raw:: html
.. role:: smallbluegray
.. New line
.. |br| raw:: html
xgc.fsourcediag.bp contains diagnostics for the source operations performed on the 5D mesh (the 5D mesh consists of a 3D unstructured triangular mesh in configuration space and a 2D structured rectangular grid in velocity space).
xgc.neutrals.#####.bp where ##### is the time step contains neutral particles diagnostics.
.. centered:: **xgc.fsourcediag.bp** |br| :smallbluegray:`Printed when: diag_f0_df_on=.true..` |nbsp| |nbsp| |nbsp| :smallbluegray:`Output frequency: every diag_f0_df_period*sml_f_source_period time step.`
.. list-table::
:widths: 25 25 10 100
:header-rows: 1
* - *Output*
- Dimension
- Units
- Description
* - | *e_density_change_collision*
| *i_density_change_collision*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The change in normalized electron/ion density :math:`\frac{\Delta n_{e / i}}{n_{e / i}}` on the 2D velocity grid due to the collisions.
* - | *e_density_change_diffusion*
| *i_density_change_diffusion*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The change in normalized electron/ion density :math:`\frac{\Delta n_{e / i}}{n_{e / i}}` on the 2D velocity grid due to the anomalous diffusion (model).
* - | *e_density_change_heat_torque*
| *i_density_change_heat_torque*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The change in normalized electron/ion density :math:`\frac{\Delta n_{e / i}}{n_{e / i}}` on the 2D velocity grid due to the heat sources/sinks and torque.
* - | *e_density_change_neutral*
| *i_density_change_neutral*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The change in normalized electron/ion density :math:`\frac{\Delta n_{e / i}}{n_{e / i}}` on the 2D velocity grid due to the neutral particle interaction.
* - | *e_density_change_radiation*
| *i_density_change_radiation*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The change in normalized electron/ion density :math:`\frac{\Delta n_{e / i}}{n_{e / i}}` on the 2D velocity grid due to the radiation.
* - | *e_density_change_total*
| *i_density_change_total*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The change in normalized electron density :math:`\frac{\Delta n_e}{n_e}` on the 2D velocity grid ...
* - | *e_density_change_total2*
| *i_density_change_total2*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The change in normalized electron density :math:`\frac{\Delta n_e}{n_e}` on the 2D velocity grid ...
* - | *e_density_change_wall_remove*
| *i_density_change_wall_remove*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The change in normalized electron density :math:`\frac{\Delta n_e}{n_e}` on the 2D velocity grid due to the ...
* - | *e_density_collision*
| *i_density_collision*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- The electron density ...
* - | *e_density_diffusion*
| *i_density_diffusion*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- Description
* - | *e_density_heat_torque*
| *i_density_heat_torque*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- Description
* - | *e_density_neutral*
| *i_density_neutral*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- Description
* - | *e_density_radiation*
| *i_density_radiation*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- Description
* - | *e_density_total*
| *i_density_total*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- Description
* - | *e_density_total2*
| *i_density_total2*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- Description
* - | *e_density_wall_remove*
| *i_density_wall_remove*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Normalized
- Description
* - | *e_energy_change_collision*
| *i_energy_change_collision*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- :math:`\mathrm{J}\,{\mathrm{m}}^3`
- The change in electron/ion kinetic energy :math:`\frac{\Delta \left(m_{e / i} \, v^2 \right)}{2 \, n_{e / i}}` on the 2D velocity grid due to the collisions.
* - | *e_energy_change_diffusion*
| *i_energy_change_diffusion*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_energy_change_heat_torque*
| *i_energy_change_heat_torque*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_energy_change_neutral*
| *i_energy_change_neutral*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_energy_change_radiation*
| *i_energy_change_radiation*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_energy_change_total*
| *i_energy_change_total*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_energy_change_total2*
| *i_energy_change_total2*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_energy_change_wall_remove*
| *i_energy_change_wall_remove*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_momentum_change_collision*
| *i_momentum_change_collision*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- :math:`\mathrm{kg}\,{\mathrm{m}}^4/\mathrm{s}`
- The change in electron/ion linear parallel momentum :math:`\frac{\Delta \left(m_{e / i} \, v_{\|} \right)}{n_{e / i}}` on the 2D velocity grid due to the collisions.
* - | *e_momentum_change_diffusion*
| *i_momentum_change_diffusion*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_momentum_change_heat_torque*
| *i_momentum_change_heat_torque*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_momentum_change_neutral*
| *i_momentum_change_neutral*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_momentum_change_radiation*
| *i_momentum_change_radiation*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_momentum_change_total*
| *i_momentum_change_total*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_momentum_change_total2*
| *i_momentum_change_total2*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_momentum_change_wall_remove*
| *i_momentum_change_wall_remove*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_volume_collision*
| *i_volume_collision*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_volume_diffusion*
| *i_volume_diffusion*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_volume_heat_torque*
| *i_volume_heat_torque*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_volume_neutral*
| *i_volume_neutral*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_volume_radiation*
| *i_volume_radiation*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_volume_total*
| *i_volume_total*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_volume_total2*
| *i_volume_total2*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - | *e_volume_wall_remove*
| *i_volume_wall_remove*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - *psi*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - *psi_mks*
- | # |nbsp| time |nbsp| steps :math:`\times`
| # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - *samples*
- # |nbsp| time |nbsp| steps
- Units
- Description
* - *step*
- # |nbsp| time |nbsp| steps
- Units
- Description
* - *time*
- # |nbsp| time |nbsp| steps
- Units
- Description
* - *tindex*
- # |nbsp| time |nbsp| steps
- Units
- Description
|br|
.. centered:: **xgc.neutrals.#####.bp** |br| :smallbluegray:`Printed when: sml_neutral=.true..` |nbsp| |nbsp| |nbsp| :smallbluegray:`Output frequency: diag_neutral_period.`
.. list-table::
:widths: 25 25 10 100
:header-rows: 1
* - *Output*
- Dimension
- Units
- Description
* - *den_neut*
- # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- :math:`{\mathrm{m}}^{-3}`
- Neutrals density.
* - *inode1m1*
- Scalar
- Units
- Description
* - *n_n*
- Scalar
- Positive integer
- Number of |nbsp| 3D |nbsp| mesh |nbsp| nodes.
* - *ndata*
- Scalar
- Positive integer
- Description
* - *rel_std*
- # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- Units
- Description
* - *temp_neut*
- # |nbsp| 3D |nbsp| mesh |nbsp| nodes
- :math:`\mathrm{eV}`
- Neutrals temperature.
Usage example
~~~~~~~~~~~~~
.. image:: ./img/bilinear_xgc_plot_2D_density_change_collisions_trans.png
:target: ./img/bilinear_xgc_plot_2D_density_change_collisions_trans.png
:alt: alt_text
Comparison of change in normalized ion density due to collisions (left) vs marker particles <-> grid interpolation (right) for a run with collisions as the only source operation.
.. toctree::
:maxdepth: 1