CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] mean value for every slice in a certain direction (https://www.cfd-online.com/Forums/paraview/247631-mean-value-every-slice-certain-direction.html)

Hisuku February 15, 2023 06:04

mean value for every slice in a certain direction
 
Hi there,

I have a finished OpenFOAM Simulation of a pipe which extrudes on the y axis.
Since it’s a turbulent simulation plotting over line doesn’t make sense because of the occurrence of Kármán vortex street. So I want to calculate the average in x and z direction for every y and plot that as a line plot over y.

I have gotten so far:

create a slice on a set position y
use integrateVariables Filter to get a sum as well as the area
use calculator to do sum/Area
So far so good but I want this (or anything which gives me the required output) to happen for every position in y. Placing hundreds of slices isn’t fun after all. Any suggestions?


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