CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] ParaView volume integral (https://www.cfd-online.com/Forums/paraview/109666-paraview-volume-integral.html)

yiphome November 23, 2012 04:56

ParaView volume integral
 
Hello!

Does somebody knows how to calculate volume integral result in ParaView? I have a unstructured mesh with scale energy source. I would like to calculate the integral energy over the whole mesh.

Thanks in advance!

wyldckat November 26, 2012 15:35

Greetings yiphome,

I think what you're looking for is the filter "Integrate Variables": http://cmake.org/Wiki/ParaView/Users...rate_Variables

Best regards,
Bruno

Wan March 27, 2013 01:20

Thanks
 
THanks for your help :)

User-Name April 3, 2013 07:07

Hi,

I have the same problem. The "Integrate Variables" filter in Paraview is apparently rather disfunctional: it only works for lines and surfaces. Its failure on volumes can be easily demonstrated by integrating over a 1x1x1 cube. However, the underyling VTK library does support volume integration, so it could be just a matter of invoking the VTK function through the Paraview Python interface.

Any Paraview nerds that can help out with this? I already tried the Paraview-users mailing list, but got no response.

Cheers!

berk April 19, 2013 20:09

I am sorry to disagree but ParaView is able to integrate variables on lines, surfaces and volumes. To verify, try:

Sources -> Wavelet (creates a 20x20x20 grid)
Filters -> Integrate variables

This will result in a volume of 8000 as well as RTData integrated over the volume.


All times are GMT -4. The time now is 03:34.