Can't open XDMF files with Paraview

Hi everyone, I am following along with Task 8 in the examples, and I am trying to open the .xdmf files in ParaView. When I click to load the file, I am given three options to open it with: XDMF Reader, Xdmf3ReaderS, Xdmf3ReaderT. The second two crash ParaView and the first loads the file, but then no data displays, and I get the following error below. I suspect I am just missing something simple as I am new to both ParaView and FESTIM. Thanks!

ERROR: In vtkXdmfReader.cxx, line 487
vtkXdmfReader (0000019EB9AEB080): Failed to read data.

ERROR: In vtkExecutive.cxx, line 741
vtkPVCompositeDataPipeline (0000019EB9B0D570): Algorithm vtkFileSeriesReader (0000019EB98EE710) returned failure for request: vtkInformation (0000019EB957FA10)
Debug: Off
Modified Time: 418490
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1
FROM_OUTPUT_PORT: 0

This is resolved. I needed to have the corresponding .h5 file in the same directory and it worked fine.

I’ve put the .h5 file in the same directory, why do I still get an error?

Hi @yien-sudo!

Would you mind clarifying the issue? Is it the same error or another? How do you export your XDMF-files?

Please see this post for a few tips to help get your question answered.



Thank you for your reply. It’s the same error.When I open the T.xdmf file in the paraview and select XDMF Reader, I get an error, and using Xdmf3 ReaderS/T is a direct crash.

Hi @yien-sudo

Have you manually modified the name of the files by any chance?

Also I see that your XDMF files are in WSL. Is paraview installed in Windows or in WSL?

First of all, thank you very much. I did install the paraview to the D drive. According to your reminder, I moved the XDMF_files to the E drive and opened it successfully. I found a CFD solver vanDANA in GitHub and installed and ran it under Ubuntu wsl, how do you see such an error?

I’m not sure I’m following. You fixed the issue of opening the XDMF file in paraview correct?

I don’t understand what your issue with vanDANA is.