So I have a CFD simulation where the domain is axisymmetric. For simplicity sake, let’s call it a tube.

Due to flow characteristics, it needs to be run in full 3D. However, it’d be nice to get statistics that take the average as if it is run as a 2D axisymmetric simulation.

In integral form, it would be (I think at least):

Where part [-]a takes the line average of the circle and part [-]b divides by the circle length. I know the ‘r’ would cancel each other out, I figured I’d just be explicit.

It would be some form of programmable filter, but I can’t figure out how exactly I’d go about doing it through that. Most of the programmable filter’s I’ve done up to now are just taking existing field quantities, manipulating them, then saving them to the exact same “location” point. Any ideas/or help?

For reference, the TCFD from CFD Support (if that’s the company name) has this for Paraview, but it appears proprietary.

For tagging purposes: meridional averaging, circumferential averaging