CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Time-averaging (https://www.cfd-online.com/Forums/openfoam-solving/198042-time-averaging.html)

cyln January 24, 2018 13:23

Time-averaging
 
Hello,

I am running a transient simulation using pimpleFoam. I would like to time-average the data after the simulation reaches the statistically-steady state.

Can anybody tell me how the time-averaging is done in OpenFOAM?


Cheers!

LuckyTran January 25, 2018 01:07

Use fieldAverage

Here's an example

After you are ready to collect statistics, put it in your controlDict and then run again.

New variables are created and saved in the time dirs like Umean, Pmean and so on. Setting prime2mean to on collects rmse statistics.

ht2017 January 25, 2018 01:19

plot wallshearstress
 
Quote:

Originally Posted by LuckyTran (Post 679301)
Use fieldAverage

Here's an example

After you are ready to collect statistics, put it in your controlDict and then run again.

New variables are created and saved in the time dirs like Umean, Pmean and so on. Setting prime2mean to on collects use statistics.

Hi you,
I am sorry you. I have the problem not concerning it. Now I want to plot wallshearstress in Paraview. could you help me??


All times are GMT -4. The time now is 03:20.