CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   fieldAverage for every 10 iteration (https://www.cfd-online.com/Forums/openfoam-programming-development/208077-fieldaverage-every-10-iteration.html)

uckmhnds October 8, 2018 12:48

fieldAverage for every 10 iteration
 
Hello dear all,

I would like to know if it is possible to collect average data on every 10 iteration. I normally specify the fieldAverage function in the controlDict file to collect statistics (Umean, pMean etc.) and openFoam starts to collect data after the particular time, which i specified. However, it collects data at every iteration. I hope it is possible to do that for a specified number of iteration. For example, it is going to take data, which is at first iteration, and then take the other data from the eleventh iteration to get the mean values.

Best Regards,

Gazi


All times are GMT -4. The time now is 07:33.