CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Spawise averaging within a cellSet (https://www.cfd-online.com/Forums/openfoam-post-processing/177538-spawise-averaging-within-cellset.html)

pvpnrao September 15, 2016 17:08

Spawise averaging within a cellSet
 
I need to conduct a span-wise average (Channel flow case) of a volScalarfield within a selected cellZone.

But I am not able to figure out how to reference a cellZone and code span-wise averaging.

I got a utility on this forum called 'postSpanwiseAverage'. It does everything I need, but it does that for the entire mesh,

Is there way to make 'postSpanwiseAverage' do the same averaging process for a particular cell zone and not the complete mesh.

The utility was posted by Marian Fuchs (http://www.cfd-online.com/Forums/ope...tml#post392279).

Can someone please help me

pvpnrao September 18, 2016 16:34

Can anyone please help

pvpnrao October 4, 2016 22:06

I am still looking for this calculation, can some one help me


All times are GMT -4. The time now is 06:19.