|
[Sponsors] |
January 21, 2010, 05:37 |
Calculate mean wind speed
|
#1 |
New Member
Alice
Join Date: Nov 2009
Posts: 16
Rep Power: 17 |
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 |
|
January 21, 2010, 06:29 |
|
#2 |
New Member
Alice
Join Date: Nov 2009
Posts: 16
Rep Power: 17 |
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 |
|
September 6, 2010, 12:42 |
|
#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. |
||
September 6, 2010, 13:22 |
postAverage
|
#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 |
|
|
|
Similar Threads | ||||
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 15:07 |
How to find RPM from wind speed in Floworks? | Matco | FloEFD, FloWorks & FloTHERM | 21 | March 22, 2010 16:18 |
Problems with finding normalized mean wind speed | Alicelin | OpenFOAM Running, Solving & CFD | 7 | January 18, 2010 04:51 |
Wind Tunnel Testing | Francesco Nicolosi | Main CFD Forum | 0 | November 25, 2008 13:55 |
Atmospheric Wind Profile - Inlet Subroutine | Roger | Siemens | 3 | December 12, 2002 11:00 |