-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reading cell data for vtk
files in serial
#69
Comments
I cannot reproduce the error on my Ubuntu VM. I just only get The error message seems to be related to some other broken part but probably related to the VTK version. After #66 there should not be ASCII cell data it should be binary? |
Indeed, using the binary version reveals a somewhat different error Warning: In /build/vtk7-yd0MKW/vtk7-7.1.1+dfsg2/IO/Legacy/vtkDataReader.cxx, line 487
vtkUnstructuredGridReader (0x55fd517426b0): Reading file version: 5.1 with older reader version 4.1
ERROR: In /build/vtk7-yd0MKW/vtk7-7.1.1+dfsg2/IO/Legacy/vtkUnstructuredGridReader.cxx, line 348
vtkUnstructuredGridReader (0x55d9b26ae530): Unrecognized keyword: It seems like the problem is related to different versions in the reader and the writer. Can you reproduce something related? Can we define the versions somewhere? |
In writer.SetFileVersion(1) This only works for VTK9, not for VTK7 it seems Python and C++ use a different version of the VTK library on your system. Unfortunately I cannot test it since no VTK9 package is available on my system |
What works as a general workaround is the following: use the 'fresh' mesh in any file format, which can (usually) also be used with |
In #67,
vtu
files were added in order to allow a serial usage ofvtu
files forpreciceMap
. However, using the legacyvtk
file format in serial leads to the following error messageSteps to reproduce the error:
vtk_calculator
on a givenvtk
mesh and evaluate a functionpreciceMap
and try to map the evaluated functionNote: there is no
partition_mesh.py
involved.The text was updated successfully, but these errors were encountered: