I’m trying to read a Plot3D file into ParaView using vtk directly, but I am running into problems. I have the grid file (.x) and the code I have access to writes out the function file containing the solution data (.f). The files are binary, little endian, double-precision, written by Fortran code and have a blanking variable set.
Here’s the piece of vtk code I wrote to load the file, for reference.
reader = vtk.vtkMultiBlockPLOT3DReader()
Now, reading the grid file only (without any solution file or function file attached - by commenting out the reader.SetFunctionFileName(‘test.f’)) works fine. The issue comes when I try to add the function file. When I run the code, it reports the two files have a different number of zones, which I know is not correct since I can open the files with no issues in other software, Tecplot for example.
Is this a known bug, or is there something else I should try?