CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Integrating data over (independent) surfaces (https://www.cfd-online.com/Forums/paraview/162364-integrating-data-over-independent-surfaces.html)

fportela November 8, 2015 18:33

Integrating data over (independent) surfaces
 
Hello everyone,

I've looked around for an answer to this but without success, so hopefully someone can help me!

I am trying something which is conceptually very simple: I generate a series of spherical shells using the slice filter, I then need to integrate some variable over each of the shells (so, one value per radius).

The straightforward way is to create one shell at a time and integrate, but that's a bit time consuming, so I'm wondering if anyone has any suggestion!

Cheers

Flowkersma November 9, 2015 05:41

Hi Felipe,

You achieve this by using Python. First create a pipeline and then loop over different radius values. I think the script in this thread is quite close what you want to do.

Regards,
Mikko

fportela November 9, 2015 05:44

Quote:

Originally Posted by Flowkersma (Post 572567)
Hi Felipe,

You achieve this by using Python. First create a pipeline and then loop over different radius values. I think the script in this thread is quite close what you want to do.

Regards,
Mikko

Exactly what I needed! Thanks :)


All times are GMT -4. The time now is 09:32.