Description
I am currently using WarpX to diagnose the electric field using both the reduce and field diagnostics, but I noticed that the data obtained from these two diagnostics differ significantly in magnitude. Specifically, when visualizing the data obtained from FieldDiagnostic with VisIt, the results are consistent in magnitude with the theoretical calculations. However, the data obtained using the ReducedDiagnostic
(FieldProbe) shows a much larger discrepancy. I noticed that the unit for the electric field in the ReducedDiagnostic
is V·s/m
(volt-seconds per meter). I tried dividing the data by time (s)
to correct the unit, but the magnitude still doesn't match. Below are my diagnostic scripts and generated images. I am unsure where the issue might be.
Additionally, I am using a new cluster (unrecorded), so I followed the installation method for HPC3 (UCI). I found that if I choose the HDF5 format for diagnostics, an error occurs, similar to what is described in case #3952
. Since this is a new cluster environment, reinstalling software might involve significant risks. Therefore, I would like to ask if continuing to use yt
and VisIt
to read and visualize plotfile format data is feasible?
Furthermore, when using yt to read data from the FieldDiagnostic
, the extracted electric field's spatial variation does not match the theoretical prediction at all, and it also disagrees with the spatial variation of the electric field obtained from the ReducedDiagnostic
. I am quite puzzled by these results and would like to understand where the problem might lie. Below is my Python analysis script using yt.
analysis.py.txt
I would appreciate any suggestions or help. Thank you!