CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ParaView (http://www.cfd-online.com/Forums/paraview/)
-   -   Issues with output to VTK format (http://www.cfd-online.com/Forums/paraview/113432-issues-output-vtk-format.html)

akail February 19, 2013 15:38

Issues with output to VTK format
 
I am currently developing a finite element fluid solver and need to export the data to either tecplot or vtk. I have found both the data format guides online and followed them as best I can. I noticed with the tecplot files that there were some issues with paraview (and VisIt) with loading the format given in the guide. I then switched to the VTK format. Ater going though the guide I got a file that worked, but still had issues.

The file structure looks like this:

Code:

# vtk DataFile Version 2.0
DATASET UNSTRUCTURED_GRID
POINTS 64 float
-1.5 -1.5 1.5
-1.5 -1.5 0.5
.....

CELLS 27 243
8 1 2 3 4 5 6 7 8
8 9 13 14 10 11 15 16 12
8 4 3 17 18 8 7 19 20
8 18 17 25 26 20 19 27 28
8 17 21 29 25 19 22 30 27
8 5 6 7 8 33 34 35 36
.....

CELL_TYPES 27
12
12
12
12
12
.....

The data is for an unstructured hexahedral mesh.

Once opened in Paraview it looks like this. The connectivity is not present and there are random nodes scattered throughout.

http://i.imgur.com/SVGSRe9.png?1

My apologies for the image quality.

My only thoughts are that there is an issue with the connectivity, but that is not very likely.

Any thoughts?
http://imgur.com/SVGSRe9


All times are GMT -4. The time now is 04:44.