Re: [Paraview] calculate flow rate through a selected cross-section?

2012-04-26 Thread Pei-Ying Hsieh
Thanks a lot David!
 
Both methods worked great!
 
Pei-Ying



From: David E DeMarle dave.dema...@kitware.com
To: Pei-Ying Hsieh phsieh2...@yahoo.com 
Cc: paraview paraview@paraview.org 
Sent: Wednesday, April 25, 2012 3:23 PM
Subject: Re: [Paraview] calculate flow rate through a selected cross-section?

On Wed, Apr 25, 2012 at 3:04 PM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Hi, David,

 Thanks for the reply!

 I tried Generate Surface Normal first, then, did Integrate Variables.  I got
 values for Surface Normal (vector) p (scalar) U (vector) ...

 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.

You still need the calculator filter to compute the dot product.

data-normals-calculator-integrate


 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?


Those two are the same value. It is an artifact of the fact that the
information tab typically shows characteristics of whole arrays. In
this case you have an array with just one element. Show the output of
the filter in the spreadsheet view instead.

 Pei-Ying

 
 From: David E DeMarle dave.dema...@kitware.com
 To: Pei-Ying Hsieh phsieh2...@yahoo.com
 Cc: paraview paraview@paraview.org
 Sent: Wednesday, April 25, 2012 11:17 AM
 Subject: Re: [Paraview] calculate flow rate through a selected
 cross-section?

 Use Generate Normals before the calculator and Integrate Variables after.

 Also try the Surface Flow which I does all three operations at once.

 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909


 On Wed, Apr 25, 2012 at 11:09 AM, Pei-Ying Hsieh phsieh2...@yahoo.com
 wrote:
 Dear Paraview experts,

 I completed a CFD calculations which contains, U (velocity field) and p
 (pressure field).
 I used extract selection to select a cross section.  I then would like
 to
 calculate the flow rate through this cross section, ie, U dot A.  I tried
 to
 use the Calculator function.  I saw U in the vector field.  Is there a way
 to have A (area, vector field) so that I can do U dot A, then, integrate U
 dot A to have flow rate?

 Thanks!

 Pei-Ying

 ___
 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


___
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


[Paraview] calculate flow rate through a selected cross-section?

2012-04-25 Thread Pei-Ying Hsieh
Dear Paraview experts,

I completed a CFD calculations which contains, U (velocity field) and p 
(pressure field).  
I used extract selection to select a cross section.  I then would like to 
calculate the flow rate through this cross section, ie, U dot A.  I tried to 
use the Calculator function.  I saw U in the vector field.  Is there a way to 
have A (area, vector field) so that I can do U dot A, then, integrate U dot A 
to have flow rate?

Thanks!

Pei-Ying
___
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


Re: [Paraview] calculate flow rate through a selected cross-section?

2012-04-25 Thread David E DeMarle
Use Generate Normals before the calculator and Integrate Variables after.

Also try the Surface Flow which I does all three operations at once.

David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Apr 25, 2012 at 11:09 AM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Dear Paraview experts,

 I completed a CFD calculations which contains, U (velocity field) and p
 (pressure field).
 I used extract selection to select a cross section.  I then would like to
 calculate the flow rate through this cross section, ie, U dot A.  I tried to
 use the Calculator function.  I saw U in the vector field.  Is there a way
 to have A (area, vector field) so that I can do U dot A, then, integrate U
 dot A to have flow rate?

 Thanks!

 Pei-Ying

 ___
 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

___
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


Re: [Paraview] calculate flow rate through a selected cross-section?

2012-04-25 Thread Pei-Ying Hsieh
Hi, David,

Thanks for the reply!

I tried Generate Surface Normal first, then, did Integrate Variables.  I got 
values for Surface Normal (vector) p (scalar) U (vector) ...

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.

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?

Pei-Ying




 From: David E DeMarle dave.dema...@kitware.com
To: Pei-Ying Hsieh phsieh2...@yahoo.com 
Cc: paraview paraview@paraview.org 
Sent: Wednesday, April 25, 2012 11:17 AM
Subject: Re: [Paraview] calculate flow rate through a selected cross-section?
 
Use Generate Normals before the calculator and Integrate Variables after.

Also try the Surface Flow which I does all three operations at once.

David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Apr 25, 2012 at 11:09 AM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Dear Paraview experts,

 I completed a CFD calculations which contains, U (velocity field) and p
 (pressure field).
 I used extract selection to select a cross section.  I then would like to
 calculate the flow rate through this cross section, ie, U dot A.  I tried to
 use the Calculator function.  I saw U in the vector field.  Is there a way
 to have A (area, vector field) so that I can do U dot A, then, integrate U
 dot A to have flow rate?

 Thanks!

 Pei-Ying

 ___
 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
___
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


Re: [Paraview] calculate flow rate through a selected cross-section?

2012-04-25 Thread Pei-Ying Hsieh
Hi, David,


Thanks for the reply!

I tried Generate Surface Normal first, then, did Integrate Variables.  I got 
values for Surface Normal (vector) p (scalar) U (vector) ...

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.

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?

Pei-Ying




 From: David E DeMarle dave.dema...@kitware.com
To: Pei-Ying Hsieh phsieh2...@yahoo.com 
Cc: paraview paraview@paraview.org 
Sent: Wednesday, April 25, 2012 11:17 AM
Subject: Re: [Paraview] calculate flow rate through a selected cross-section?
 
Use Generate Normals before the calculator and Integrate Variables after.

Also try the Surface Flow which I does all three operations at once.

David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Apr 25, 2012 at 11:09 AM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Dear Paraview experts,

 I completed a CFD calculations which contains, U (velocity field) and p
 (pressure field).
 I used extract selection to select a cross section.  I then would like to
 calculate the flow rate through this cross section, ie, U dot A.  I tried to
 use the Calculator function.  I saw U in the vector field.  Is there a way
 to have A (area, vector field) so that I can do U dot A, then, integrate
 U
 dot A to have flow rate?

 Thanks!

 Pei-Ying

 ___
 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
___
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


Re: [Paraview] calculate flow rate through a selected cross-section?

2012-04-25 Thread David E DeMarle
On Wed, Apr 25, 2012 at 3:04 PM, Pei-Ying Hsieh phsieh2...@yahoo.com wrote:
 Hi, David,

 Thanks for the reply!

 I tried Generate Surface Normal first, then, did Integrate Variables.  I got
 values for Surface Normal (vector) p (scalar) U (vector) ...

 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.

You still need the calculator filter to compute the dot product.

data-normals-calculator-integrate


 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?


Those two are the same value. It is an artifact of the fact that the
information tab typically shows characteristics of whole arrays. In
this case you have an array with just one element. Show the output of
the filter in the spreadsheet view instead.

 Pei-Ying

 
 From: David E DeMarle dave.dema...@kitware.com
 To: Pei-Ying Hsieh phsieh2...@yahoo.com
 Cc: paraview paraview@paraview.org
 Sent: Wednesday, April 25, 2012 11:17 AM
 Subject: Re: [Paraview] calculate flow rate through a selected
 cross-section?

 Use Generate Normals before the calculator and Integrate Variables after.

 Also try the Surface Flow which I does all three operations at once.

 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909


 On Wed, Apr 25, 2012 at 11:09 AM, Pei-Ying Hsieh phsieh2...@yahoo.com
 wrote:
 Dear Paraview experts,

 I completed a CFD calculations which contains, U (velocity field) and p
 (pressure field).
 I used extract selection to select a cross section.  I then would like
 to
 calculate the flow rate through this cross section, ie, U dot A.  I tried
 to
 use the Calculator function.  I saw U in the vector field.  Is there a way
 to have A (area, vector field) so that I can do U dot A, then, integrate U
 dot A to have flow rate?

 Thanks!

 Pei-Ying

 ___
 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



___
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