I have a particle simulation that dumps snapshots in HDF format, and I’m trying to visualize them in Paraview 5.5 through an XDMF file.
It so happens that there are no particles in the domain on the first timestep, thus my first HDF file is empty (the metadata for the fields are otherwise correct, e.g. when I open the HDF file in hdfview the velocity field is reported as a 0x3 array). I’ve been trying to convince Paraview to visualize it, but no matter what I try there’s always some mysterious error message.
and here’s the error I’m currently getting:
XDMF Error in /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfGrid.cxx line 760 (Error in Update() of Geometry)
ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/Xdmf2/vtkXdmfReader.cxx, line 421
vtkXdmfReader (0x5cfdd90): Failed to read data.
ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784
vtkPVCompositeDataPipeline (0x5f608f0): Algorithm vtkFileSeriesReader(0x5f666c0) returned failure for request: vtkInformation (0x5d2c460)
Modified Time: 286832
Reference Count: 1
Registered Events: (none)
If I remove the block for iteration 0 the visualization works without a problem. Am I doing something wrong in the way I’m specifying an empty DataItem, or should I be doing something else altogether?
I’m using Paraview 5.5 on Linux, specificaly the binary release ParaView-5.5.0-Qt5-MPI-Linux-64bit.