JuliaVTK / WriteVTK.jl

Julia package for writing VTK XML files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test/unstructured.jl (3D) - paraview cannot read the output

bdortdivanlioglu opened this issue · comments

Hello,

For some reason, I started to get a problem on Paraview for the .vtu outputs. I would appreciate if you can confirm this is a problem of the package or of my local settings.

When I run the test code for the unstructured grid with 9x9x9 points, I get the output file "unstructured_3D.vtu". However, when I try to import this solution to Paraview (5.6.0 - though I tried other versions as well), I get the following error:

ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/Core/vtkZLibDataCompressor.cxx, line 75
vtkZLibDataCompressor (0x84a1e40): Zlib error while uncompressing data.

ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLUnstructuredDataReader.cxx, line 591
vtkXMLUnstructuredGridReader (0xb452d60): Cannot read cell offsets from Cells in piece 0 because the "offsets" array is not long enough.

Everything works with 9x9x10 points. I only tired it on computers with linux (Julia v1.2 and WriteVTK 1.0.0 and Ubuntu 18.04)

It works with WriteVTK v0.8.0