CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Resolved KE versus SGS KE - LES (https://www.cfd-online.com/Forums/openfoam/166560-resolved-ke-versus-sgs-ke-les.html)

smog February 11, 2016 18:01

Resolved KE versus SGS KE - LES
 
I am plotting the ratio of SGS/(resolved+SGS) KE in a LES case to show my conformance to the Pope KE resolution criterion. I have a question:

1) UPrime2Mean is a field that is written down in time directories using the FieldAverage functionObject, does 0.5*(UPrime2Mean) represent the resolved KE? The UPrime2Mean vector has 6 values, of these only 3 - UPrime2Meanxx, UPrime2MeanYY and UPrime2Meanzz contribute to the resolved KE.

2) How can I get these only 3 values outputted for a certain probe location, in a file (perhaps using function objects)? I tried using foamCalc components UPrime2Mean utility, it did not find UPrime2Mean variable in 0/. Even if it did, it provides the UPrime2Mean value for the whole flow domain whereas I only need it for a particular probe location.

I am looking for an easier way to plot the k/(0.5*[<Uprime_xx^2> + <Uprime_yy^2> +<Uprime_zz^2>] + k) plot, preferably using function objects.

In short, how can I get the aforementioned 3 components written to a text file in xy format for a particular probe location?


All times are GMT -4. The time now is 08:46.