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/)
-   -   Set step size for fieldAverage utility (https://www.cfd-online.com/Forums/openfoam-post-processing/244699-set-step-size-fieldaverage-utility.html)

gasaffe August 23, 2022 11:16

Set step size for fieldAverage utility
 
Hello everyone,


I am simulating a rotating domain and want to calculate the average fields over every time step at which the rotor position is the same. I only saved the data at those time steps and am now trying to get the average over those time steps. I came across the fieldAverage utility, but it seems to calculate the average over the last <window> iterations or seconds, using every result in the window. Does anyone know a way to specify the step size to average over specific time steps only?


All times are GMT -4. The time now is 15:53.