Output variable values #159
Unanswered
EugeneChon04
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When reading out the output values through pyvpic, what are the units for the output values? I am aware that each dataset is given as a 4D array (1 time dimension, 3 spatial dimensions in T, Z, Y, X order). But how can one go about interpreting the values? E.g. I am assuming that the /rho output variable (when I print out the datasets) corresponds to the charge_density that we define within the simulation deck. I am assuming each value for /rho corresponds to the charge density within a given cell (specified by Z, Y, X) at some given time (T) during the simulation. Do the values correspond directly to how we define the units within the deck, or is there some sort of conversion factor? If it is the former, I would expect that a summation of the charge density multiplied by the cell volume (for a given time) should correspond to the initial charge count * charge. Howevever, when I test this it does not seem to be the case.
Beta Was this translation helpful? Give feedback.
All reactions