CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Right format to slice and create planes (https://www.cfd-online.com/Forums/paraview/191924-right-format-slice-create-planes.html)

hebeldebel August 24, 2017 09:47

Right format to slice and create planes
 
3 Attachment(s)
Hi everyone,

I got a vtk as output of a matlab script which is supposed to display flow data taken from a camera. (test.vtk)
Attachment 57976

ParaView calls the format: Structured (Curvilinear) Grid

I can use Glyphs on it and will get some results, but slice and clip wont show any visible results.

Unlike previous works with paraview, I cannot see the surface of each cell, but all I see are points. The visualization would look like in action-box2.png
Attachment 57975

Is there a way to change the type so I can get a look at the cells? Maybe I need to interpolate?

I would basically like the data to look like action-box3.png:
Attachment 57977

kind regards,
hebel

Flowkersma August 24, 2017 11:23

Hi Hebel,

It seems to me that there is a problem with the dimensions line in the VTK file. If you look at the information panel in ParaView, it shows that the mesh has 4000 cells in I direction and only one in J and K directions so it is one dimensional mesh. I tried to change the line 6 from
Code:

DIMENSIONS 4000 1 1
to
Code:

DIMENSIONS 20 20 10
and then ParaView shows a nice box mesh.

Regards,
Mikko

hebeldebel August 25, 2017 03:34

Thank you very much for your fast reply.

It was indeed a dimensions problem! :-)


All times are GMT -4. The time now is 10:50.