Depth-averaged quantities in ParaView (interFOAM simulation)


How can one generate maps of depth-averaged velocity in ParaView.
I am post-processing a VOF simulation (air/water) done in interFOAM.
What I am looking for is a 2D map of depth-averaged quantities such as velocity in the entire domain. Just integrating/averaging over a vertical line won’t work (I need this done in the entire domain).


ProgrammableFilter should be able to do this.

you will have to implement the algorithm in Python though.

1 Like

Thanks for your response.
Could you please provide some more info (e.g. sample code)?
That will be greatly helpful.

1 Like