<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thanks a lot David!</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Both methods worked great!</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Pei-Ying<VAR id=yui-ie-cursor></VAR></SPAN></div>
<div><BR></div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> David E DeMarle <dave.demarle@kitware.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Pei-Ying Hsieh <phsieh2005@yahoo.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> paraview <paraview@paraview.org> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, April 25, 2012 3:23 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Paraview] calculate flow rate through a "selected" cross-section?<BR></FONT></DIV><BR>On Wed, Apr 25, 2012 at 3:04 PM, Pei-Ying Hsieh <<A href="mailto:phsieh2005@yahoo.com"
ymailto="mailto:phsieh2005@yahoo.com">phsieh2005@yahoo.com</A>> wrote:<BR>> Hi, David,<BR>><BR>> Thanks for the reply!<BR>><BR>> I tried Generate Surface Normal first, then, did Integrate Variables. I got<BR>> values for "Surface Normal (vector)" "p (scalar)" "U (vector)" ...<BR>><BR>> It looks like integrate only sums up each parameter, so that, Surface Normal<BR>> and U are still a vector. It does not do U dot A.<BR><BR>You still need the calculator filter to compute the dot product.<BR><BR>data->normals->calculator->integrate<BR><BR>><BR>> I have also tried Surface Flow. I got two values for Surface Flow,<BR>> something like [-3.64248e-6 -3.64248e-6]. Shouldn't it be just one value?<BR>><BR><BR>Those two are the same value. It is an artifact of the fact that the<BR>information tab typically shows characteristics of whole arrays. In<BR>this case you have an array with just one
element. Show the output of<BR>the filter in the spreadsheet view instead.<BR><BR>> Pei-Ying<BR>><BR>> ________________________________<BR>> From: David E DeMarle <<A href="mailto:dave.demarle@kitware.com" ymailto="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</A>><BR>> To: Pei-Ying Hsieh <<A href="mailto:phsieh2005@yahoo.com" ymailto="mailto:phsieh2005@yahoo.com">phsieh2005@yahoo.com</A>><BR>> Cc: paraview <<A href="mailto:paraview@paraview.org" ymailto="mailto:paraview@paraview.org">paraview@paraview.org</A>><BR>> Sent: Wednesday, April 25, 2012 11:17 AM<BR>> Subject: Re: [Paraview] calculate flow rate through a "selected"<BR>> cross-section?<BR>><BR>> Use Generate Normals before the calculator and Integrate Variables after.<BR>><BR>> Also try the Surface Flow which I does all three operations at once.<BR>><BR>> David E DeMarle<BR>> Kitware, Inc.<BR>> R&D
Engineer<BR>> 21 Corporate Drive<BR>> Clifton Park, NY 12065-8662<BR>> Phone: 518-881-4909<BR>><BR>><BR>> On Wed, Apr 25, 2012 at 11:09 AM, Pei-Ying Hsieh <<A href="mailto:phsieh2005@yahoo.com" ymailto="mailto:phsieh2005@yahoo.com">phsieh2005@yahoo.com</A>><BR>> wrote:<BR>>> Dear Paraview experts,<BR>>><BR>>> I completed a CFD calculations which contains, U (velocity field) and p<BR>>> (pressure field).<BR>>> I used "extract selection" to select a cross section. I then would like<BR>>> to<BR>>> calculate the flow rate through this cross section, ie, U dot A. I tried<BR>>> to<BR>>> use the Calculator function. I saw U in the vector field. Is there a way<BR>>> to have A (area, vector field) so that I can do U dot A, then, integrate U<BR>>> dot A to have flow rate?<BR>>><BR>>> Thanks!<BR>>><BR>>>
Pei-Ying<BR>>><BR>>> _______________________________________________<BR>>> Powered by <A href="http://www.kitware.com/" target=_blank>www.kitware.com</A><BR>>><BR>>> Visit other Kitware open-source projects at<BR>>> http://www.kitware.com/opensource/opensource.html<BR>>><BR>>> Please keep messages on-topic and check the ParaView Wiki at:<BR>>> http://paraview.org/Wiki/ParaView<BR>>><BR>>> Follow this link to subscribe/unsubscribe:<BR>>> http://www.paraview.org/mailman/listinfo/paraview<BR>>><BR>><BR>><BR><BR><BR></DIV></DIV></div></body></html>