[Paraview] vtkPolydata vs. vtkUnstructuredGrid

2014-07-30 Thread Aurélien Marsan
Dear Paraview users, and VTK users

I want to build a vtkUnstructuredGrid from several numpy arrays, which
contains the points coordinates, the cells, cells locations, cells types
etc...
So : I have all informations that are needed.

vtkPolyData seems a lot easier to define through a python script.

But : what is the fundamental difference between vtkPolyData and
vtkUnstructuredGrid ?
What should be the criterion in order to choose on of these two types ?

Many thanks in advance,
Regards,

Aurélien
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Calculating Wall Height

2014-07-30 Thread Magician
Hi all,


I’d like to get height values of wall cells for calculating oil shear velocity 
or y+.
My datasets have no information about wall direction, prism layer or inside, 
center of cells.

Does anyone have good ideas to do it?


Magician
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview