rayd
rayd

Reputation: 102

Error while reading VTK files in Paraview/VisIt

I have been getting the following error while opening a .vtk file in Paraview:

"Error reading ascii data. Possible mismatch of datasize with declaration."

I am running a simulation on my Mac OS X 10.9.3, and saving my solution files in .vtk format. While the initial solution file (at time t=0) opens perfectly, the above error occurs with the next few solution files. Moreover, some of my scalar variables disappear from the data-set in Paraview. I tried opening the file on my friends laptop, which has a Linux OS, and Paraview opens all the files correctly with all variables in place. I noticed a similar problem while using VisIT.

I have even tried to use different versions of Paraview but the problem persists. Could there be a problem with the vtkreader? Any help or leads to solving this issue will be much appreciated.

PS: I have found a similar post on this forum, but no one seems to have replied to it yet: Paraview "possible mismatch of datasize with declaration" error

Upvotes: 0

Views: 1539

Answers (1)

Leo Pessanha
Leo Pessanha

Reputation: 139

Your file declares 70970 points although I think that it has 70971.

Your file declares 140760 cells although I think that it has 140761.

Upvotes: 0

Related Questions