CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   rms velocity fluctuations (

newOFuser June 21, 2011 14:37

rms velocity fluctuations
Hello Foamers,

Does anyone know how we can calculate rms velocity fluctuations (during runtime or during post-processing)?
I am relatively new to using OF, so would appreciate any inputs!

Thanks so much,

gregor June 22, 2011 03:01


have a look at fieldAverage where prime2Mean is the variance (RMS^2)


newOFuser June 22, 2011 13:09

Thanks gregor!

I see that UPrime2Mean has 6 components. Does it correspond to the Reynolds stress tensor?


gregor June 27, 2011 08:13

its a part of the reynolds stresses (since you are using only the resolved scales without the modeled stresses to compute it, look for it under src/postProcessing/functionObjects/field/fieldAverage/fieldAverage/fieldAverageTemplates.C)


All times are GMT -4. The time now is 13:56.