[Paraview] Face Data on vtkUnstructuredGrids

Parker, Andrew (UK Filton) Andrew.Parker2 at baesystems.com
Mon Oct 31 07:32:09 EDT 2011


Hi,

 

I have to be honest so far there has been no solution/suggestions to the problem I posed.  I am particularly interested in the access pattern I described, but also the ability to be able to add a scale to faces of a 3d unstructured mesh, which I can then cut.

 

Any help would be great, I should imagine this is of interest to a lot of people.

 

Andy

 

From: p.p pyloth [mailto:lalujesus at yahoo.co.in] 
Sent: 29 October 2011 12:16
To: Parker, Andrew (UK Filton)
Subject: Re: [Paraview] Face Data on vtkUnstructuredGrids

 

                    *** WARNING ***

  This message has originated outside your organisation,
  either from an external partner or the Global Internet. 
      Keep this in mind if you answer this message.

I have the same problem 
I dont know how to export data on surfaces like wall faces through vtk , as vtk is a bulk reader

Suppose I want to show data on wall zones,inlet zones,outlet ,  no idea how to show that.
IF you solved ur problem please post the solution



--- On Fri, 28/10/11, Parker, Andrew (UK Filton) <Andrew.Parker2 at baesystems.com> wrote:


From: Parker, Andrew (UK Filton) <Andrew.Parker2 at baesystems.com>
Subject: [Paraview] Face Data on vtkUnstructuredGrids
To: paraview at paraview.org
Date: Friday, 28 October, 2011, 6:31 PM

Hi,

 

I already have an established reader that reads in our bespoke format and converts it to a vtkUnstructuredGrids so that I can view it in Paraview. Furthermore a filter then reads in a solution file in a bespoke format and shows the cell data from the CFD solution. This works great, happy days.  However, I now need to show data on the faces on the vtkUnstructuredGrid, a metric.  I have two problems, no idea how to set this given the above setup, and two, to compute the metric I could do with the following type of access:

 

Loop over all faces of vtkUnstructuredGrid

                

                Get the face centre

                Get the Left cell centre

                Get the Right cell centre

 

                Do some stuff…..

 

                Set a scale on the face to be a number based on the stuff

 

Finish

 

I have no idea how to access the vtkUnstructuredGrid in the above to pattern???


Can anybody help, it would be very useful… examples more than welcome.


Cheers,

Andy


********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************


-----Inline Attachment Follows-----

_______________________________________________
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://www.paraview.org/mailman/listinfo/paraview

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111031/13f5e4ef/attachment-0001.htm>


More information about the ParaView mailing list