|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Alice
Join Date: Nov 2009
Posts: 16
Rep Power: 16 ![]() |
Dear all,
I just executed turbFoam and got the U values for every time step. Now I want to find out the mean wind speed so I want to ask if there's any command that can calculate the time-averaged wind speed? Thanks! Alice |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Alice
Join Date: Nov 2009
Posts: 16
Rep Power: 16 ![]() |
Sorry just want to mention that I've added the following thing into controlDict:
function { fieldAverage1 { // Type of functionObject type fieldAverage; // Where to load it from (if not already in solver) functionObjectLibs ("libfieldAverage.so"); // Whether to perform a clean restart, or start from previous // averaging into if available cleanRestart true; // Whether to reset the averaged fields after they have been written. // Used to average over only the preceding write interval for transient cases. resetOnOutput true; // Fields to be averaged - runTime modifiable fields ( U { mean on; prime2Mean on; base time; } p { mean on; prime2Mean on; base time; } Unorm { mean on; prime2Mean on; base time; } ); } } ******************************************** and I've executed turbFoam but seems nothing new can be found in the results ![]() Can anyone help me with the problem? Alice |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
edison
Join Date: May 2009
Location: Australia
Posts: 35
Rep Power: 17 ![]() |
Quote:
I've been stuck in the same problem. By searching the forum, I think the magic of averaging function lies in set it before running the simulation. Anyway, I have got time to test it. http://www.cfd-online.com/Forums/ope...tatistics.html Have you worked out it?Waiting to hear your latest statues. |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 ![]() |
Hi Alice
I have been searching for the same utility to be able to do the averaging of the data fields in time after that you have run the simulation. This is handy in case that you forgot to switch on the averaging during the run, or that you want to do an average over a shorter time period in case that the beginning of the simulation was not conveger yet. Anyway, I ended up with writing my own utility which basically does what you want. Please have a look at the thread below. The utility is at the bottom of the page. Note that you still need to set the fields properly in the system/controlDict file Cheers, Eelco http://www.cfd-online.com/Forums/ope...rocessing.html |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD analysis on wind turbine rotor | Ken (Wind Turbine CFD Super Rookie) | Main CFD Forum | 45 | February 9, 2016 14:07 |
How to find RPM from wind speed in Floworks? | Matco | FloEFD, FloWorks & FloTHERM | 21 | March 22, 2010 15:18 |
Problems with finding normalized mean wind speed | Alicelin | OpenFOAM Running, Solving & CFD | 7 | January 18, 2010 03:51 |
Wind Tunnel Testing | Francesco Nicolosi | Main CFD Forum | 0 | November 25, 2008 12:55 |
Atmospheric Wind Profile - Inlet Subroutine | Roger | Siemens | 3 | December 12, 2002 10:00 |