CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Sampling Skewness of velocity field (https://www.cfd-online.com/Forums/openfoam/90231-sampling-skewness-velocity-field.html)

fs82 July 5, 2011 05:14

Sampling Skewness of velocity field
 
I need the skewness of the velocity field. Has anybody already done this? I think the best way would be to include the sampling of mean(u_i*u_j*u_k) in fieldAverage.C. May be there is a better way for doing that?

kind regards,
Fabian

fs82 May 3, 2012 09:24

Allright I will answer myself to close this topic. Sampling of Skewness and Kurtosis seems to be a bit tricky in fieldAverage.C. But one can use snapshots of the velocity field (ensure enough time between the snapshots to avoid strong corelations) to calculate the high order statistics during the postprocessing. I wrote a tool for that, which works really fine.

kind regards,
Fabian


All times are GMT -4. The time now is 01:44.