[Paraview] Bad VTK-File?

Nicolas Neuss neuss at math.fau.de
Tue Mar 6 04:16:25 EST 2018


Hello,

I have the following VTK-File

--8<---------------cut here---------------start------------->8---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.vtk
Type: application/octet-stream
Size: 1347 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180306/20fdf97a/attachment.obj>
-------------- next part --------------
--8<---------------cut here---------------end--------------->8---

which Paraview cannot read correctly:

Generic Warning: In /build/paraview-cUuDbQ/paraview-5.1.2+dfsg1/VTK/IO/Legacy/vtkDataReader.cxx, line 1351
Error reading ascii data. Possible mismatch of datasize with declaration.

The problem is with the VECTORS part at the end, but I have tried
several variations (also playing around with number formats) and cannot
get it to work (that is, the above message pertains and the vector field
is not correctly displayed).

Do you see which modification is necessary to make it work?

Thank you for any help,

Nicolas

Remark: I want to have a vector for each of the 16 points of a 2x2
        square mesh.  Some points occur more than once which allows to
        draw discontinuous data.
        


More information about the ParaView mailing list