CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ParaView (
-   -   ParaView volume integral (

yiphome November 23, 2012 05:56

ParaView volume integral

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 16:35

Greetings yiphome,

I think what you're looking for is the filter "Integrate Variables":

Best regards,

Wan March 27, 2013 02:20

THanks for your help :)

User-Name April 3, 2013 07:07


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.


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 15:56.