[vtkusers] Probing unstructured point data onto an unstructured grid

Alex Lennon alennon at tcd.ie
Wed Nov 13 13:38:56 EST 2002


Hi,

I'm using vtk to visualise results of finite element simulations and would
like to sample integration point results to nodes. To do this I'm using two
separate unstructured grid files: one with the integration points and their
associated data, and the other with just the nodes (i.e. points) and
elements (i.e. cells). I'm working in python (which I'm pretty new to) as
I'd like to add this to Prabhu Ramachandran's MayaVi application (which I've
been using as my interface to vtk---hence I'm pretty unfamiliar with direct
programming in vtk).

I've tried using a probefilter to interpolate from the integration point
data to the mesh but the scalar data is passed as '0's. It seems I'm missing
something fundamental here but I can't see exactly what it is.

I've attached the simple case (an 8 node brick) I'm using to test the
pipeline (3 files: ProbeIP.py, brick_8.ipr, and brick_8.vtk). I would be
very grateful if someone could have a look at this and point out where I'm
going wrong.

Thanks,

Alex

Trinity Centre for Bioengineering
Dept. Mechanical Engineering
Trinity College
Dublin 2
Ireland

email: alennon at tcd.ie
Tel:   +353-1-608 2396
Fax:   +353-1-679 5554
http://www.biomechanics.ie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brick_8.vtk
Type: application/octet-stream
Size: 593 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021113/a2ddbac5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brick_8.ipr
Type: application/octet-stream
Size: 932 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021113/a2ddbac5/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ProbeIP.py
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021113/a2ddbac5/attachment.txt>


More information about the vtkusers mailing list