CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Time-averaging

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2018, 13:23
Default Time-averaging
  #1
Senior Member
 
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 9
cyln is on a distinguished road
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!
cyln is offline   Reply With Quote

Old   January 25, 2018, 01:07
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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 likes this.
LuckyTran is offline   Reply With Quote

Old   January 25, 2018, 01:19
Default plot wallshearstress
  #3
Member
 
ESI
Join Date: Sep 2017
Posts: 46
Rep Power: 8
ht2017 is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
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??
ht2017 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 07:47
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34


All times are GMT -4. The time now is 09:37.