<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv1318149536"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div id="yiv1318149536yui_3_2_0_20_133538021631348"><span id="yiv1318149536yui_3_2_0_20_133538021631381">Hi, David,</span><span></span></div><div id="yiv1318149536yui_3_2_0_20_133538021631386"><br><span id="yiv1318149536yui_3_2_0_20_133538021631381"></span></div><div id="yiv1318149536yui_3_2_0_20_133538021631387"><span id="yiv1318149536yui_3_2_0_20_133538021631381">Thanks for the reply!</span></div><div id="yiv1318149536yui_3_2_0_20_133538021631390"><br><span id="yiv1318149536yui_3_2_0_20_133538021631381"></span></div><div id="yiv1318149536yui_3_2_0_20_133538021631391"><span id="yiv1318149536yui_3_2_0_20_133538021631381">I tried Generate Surface Normal first, then, did Integrate
Variables. I got values for "Surface Normal (vector)" "p (scalar)" "U (vector)" ...</span></div><div id="yiv1318149536yui_3_2_0_20_1335380216313146"><br><span id="yiv1318149536yui_3_2_0_20_133538021631381"></span></div><div id="yiv1318149536yui_3_2_0_20_1335380216313147"><span id="yiv1318149536yui_3_2_0_20_133538021631381">It looks like
integrate only sums up each parameter, so that, Surface Normal and U are still a vector. It does not do U dot A.</span></div><div id="yiv1318149536yui_3_2_0_20_1335380216313164"><br><span id="yiv1318149536yui_3_2_0_20_133538021631381"></span></div><div id="yiv1318149536yui_3_2_0_20_1335380216313165"><span id="yiv1318149536yui_3_2_0_20_133538021631381">I have also tried Surface Flow. I got two values for Surface Flow, something like [-3.64248e-6 -3.64248e-6]. Shouldn't it be just one value?</span></div><div id="yiv1318149536yui_3_2_0_20_1335380216313186"><br><span id="yiv1318149536yui_3_2_0_20_133538021631381"></span></div><div id="yiv1318149536yui_3_2_0_20_1335380216313187"><span id="yiv1318149536yui_3_2_0_20_133538021631381">Pei-Ying<br></span></div><div><br id="yiv1318149536yui_3_2_0_20_133538021631351"></div> <div class="yiv1318149536yui_3_2_0_20_133538021631354" id="yiv1318149536yui_3_2_0_20_133538021631356"
style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div class="yiv1318149536yui_3_2_0_20_133538021631361" style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <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 11:17 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Paraview] calculate flow rate through a "selected" cross-section?<br> </font> </div> <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 rel="nofollow" ymailto="mailto:phsieh2005@yahoo.com" target="_blank" href="mailto:phsieh2005@yahoo.com">phsieh2005@yahoo.com</a>> 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 to<br>> calculate the flow rate through this cross section, ie, U dot A. I tried 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 rel="nofollow" target="_blank" href="http://www.kitware.com">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> </div> </div> </div></div></div></div></body></html>