<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40" xmlns:ns0="urn:schemas-microsoft-com:office:smarttags"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.yiv1893591740msonormal, li.yiv1893591740msonormal, div.yiv1893591740msonormal
        {mso-style-name:yiv1893591740msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.yiv1893591740msochpdefault, li.yiv1893591740msochpdefault, div.yiv1893591740msochpdefault
        {mso-style-name:yiv1893591740msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1893591740msohyperlink
        {mso-style-name:yiv1893591740msohyperlink;}
span.yiv1893591740msohyperlinkfollowed
        {mso-style-name:yiv1893591740msohyperlinkfollowed;}
span.yiv1893591740emailstyle17
        {mso-style-name:yiv1893591740emailstyle17;}
p.yiv1893591740msonormal1, li.yiv1893591740msonormal1, div.yiv1893591740msonormal1
        {mso-style-name:yiv1893591740msonormal1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Arial","sans-serif";}
span.yiv1893591740msohyperlink1
        {mso-style-name:yiv1893591740msohyperlink1;
        color:blue;
        text-decoration:underline;}
span.yiv1893591740msohyperlinkfollowed1
        {mso-style-name:yiv1893591740msohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
span.yiv1893591740emailstyle171
        {mso-style-name:yiv1893591740emailstyle171;
        font-family:"Arial","sans-serif";
        color:windowtext;}
p.yiv1893591740msochpdefault1, li.yiv1893591740msochpdefault1, div.yiv1893591740msochpdefault1
        {mso-style-name:yiv1893591740msochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Arial","sans-serif";}
span.EmailStyle27
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:gray'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:gray'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:gray'>Any help would be great, I should imagine this is of interest to a lot of people.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:gray'>Andy<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:gray'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> p.p pyloth [mailto:lalujesus@yahoo.co.in] <br><b>Sent:</b> 29 October 2011 12:16<br><b>To:</b> Parker, Andrew (UK Filton)<br><b>Subject:</b> Re: [Paraview] Face Data on vtkUnstructuredGrids<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Courier New","serif"'> *** WARNING ***<br><br> This message has originated outside your organisation,<br> either from an external partner or the Global Internet. <br> Keep this in mind if you answer this message.</span><o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal>I have the same problem <br>I dont know how to export data on surfaces like wall faces through vtk , as vtk is a bulk reader<br><br>Suppose I want to show data on wall zones,inlet zones,outlet , no idea how to show that.<br>IF you solved ur problem please post the solution<br><br><br><br>--- On <b>Fri, 28/10/11, Parker, Andrew (UK Filton) <i><Andrew.Parker2@baesystems.com></i></b> wrote:<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br>From: Parker, Andrew (UK Filton) <Andrew.Parker2@baesystems.com><br>Subject: [Paraview] Face Data on vtkUnstructuredGrids<br>To: paraview@paraview.org<br>Date: Friday, 28 October, 2011, 6:31 PM<o:p></o:p></p><div id=yiv1893591740><div><div><p class=yiv1893591740msonormal>Hi,<o:p></o:p></p><p class=yiv1893591740msonormal> <o:p></o:p></p><p class=yiv1893591740msonormal>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:<o:p></o:p></p><p class=yiv1893591740msonormal> <o:p></o:p></p><p class=yiv1893591740msonormal>Loop over all faces of vtkUnstructuredGrid<o:p></o:p></p><p class=yiv1893591740msonormal> <o:p></o:p></p><p class=yiv1893591740msonormal> Get the face centre<o:p></o:p></p><p class=yiv1893591740msonormal> Get the Left cell centre<o:p></o:p></p><p class=yiv1893591740msonormal> Get the Right cell centre<o:p></o:p></p><p class=yiv1893591740msonormal> <o:p></o:p></p><p class=yiv1893591740msonormal> Do some stuff…..<o:p></o:p></p><p class=yiv1893591740msonormal> <o:p></o:p></p><p class=yiv1893591740msonormal> Set a scale on the face to be a number based on the stuff<o:p></o:p></p><p class=yiv1893591740msonormal> <o:p></o:p></p><p class=yiv1893591740msonormal>Finish<o:p></o:p></p><p class=yiv1893591740msonormal> <o:p></o:p></p><p class=yiv1893591740msonormal>I have no idea how to access the vtkUnstructuredGrid in the above to pattern???<o:p></o:p></p><p class=yiv1893591740msonormal><br>Can anybody help, it would be very useful… examples more than welcome.<o:p></o:p></p><p class=yiv1893591740msonormal><br>Cheers,<o:p></o:p></p><p class=yiv1893591740msonormal>Andy<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>********************************************************************<br>This email and any attachments are confidential to the intended<br>recipient and may also be privileged. If you are not the intended<br>recipient please delete it from your system and notify the sender.<br>You should not copy it or use it for any purpose nor disclose or<br>distribute its contents to any other person.<br>********************************************************************<o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>-----Inline Attachment Follows-----<o:p></o:p></p><div><p class=MsoNormal>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><o:p></o:p></p></div></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></body></html>