|
[Sponsors] |
Distribution of root mean square of velocity fluctuation in channel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 18, 2016, 14:54 |
Distribution of root mean square of velocity fluctuation in channel
|
#1 |
Member
Darko Radenkovic
Join Date: Oct 2015
Posts: 38
Rep Power: 11 |
Hello.
I want to show root mean square of velocity fluctuation in cross section of a channel. I have been searching this forum a while in order to solve this problem but without success. I know that I should obtain distribution similar to this Any tip? Regards, Darko |
|
July 19, 2016, 04:56 |
|
#2 |
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20 |
Hi Darko,
in OpenFOAM you can calculate the rms of a velocity component (velocity along x, y or z axis) trhrough the Prime2Mean statistical function. You have to include a fieldAverage function in your controlDict, then run the simulation until the Mean and Prime2Mean quantities get sufficiently stable, then from the UPrime2Mean field you can extract the rms quantities like follows: urms,x=sqrt(UPrime2Meanxx) and the same for y and z. Here it is an example of fieldAverage function applied to the velocity field (this works for OpenFOAM-3.0.x, but should be ok for other versions too): Code:
functions { fieldAverage { type fieldAverage; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl outputTime; fields ( U { mean on; prime2Mean on; base time; } ); } } Regards V. |
|
July 19, 2016, 06:17 |
|
#3 |
Member
Darko Radenkovic
Join Date: Oct 2015
Posts: 38
Rep Power: 11 |
Thank you!
Regards, Darko |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Code for EARSM by Hellsten and RSM by Manceau, square duct, 2d turbulent channel | Thomas Baumann | OpenFOAM Running, Solving & CFD | 14 | October 16, 2020 05:11 |
Open channel flow boundary give different velocity values? | mariam.sara | Fluent Multiphase | 1 | April 9, 2015 11:11 |
Velocity distribution function sampling issue in DSMC | flotus1 | Main CFD Forum | 6 | December 13, 2014 07:18 |
Velocity fluctuation. | In let. | Main CFD Forum | 1 | October 21, 2003 15:37 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |