CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   to how much turbulent kinetic energy is resolved from Openfoam LES results ? (http://www.cfd-online.com/Forums/openfoam/112358-how-much-turbulent-kinetic-energy-resolved-openfoam-les-results.html)

hz283 January 26, 2013 19:24

to how much turbulent kinetic energy is resolved from Openfoam LES results ?
 
Dear All,

After finishing a LES case using OPenfoam, I have the thinking to check how much turbulent kinetic energy (for instance 70% or 80%) is resolved based on this case's mesh and results. This can give me some feedback about the mesh or some numerical schemes. Does anybody know how to do this for the Openfoam LES results:confused:?

best regards,
H

julien.decharentenay January 27, 2013 18:41

Hi H,

In my opinion, you can do this in two ways:

1) From the LES analysis you will have access to the mean and rms of the resolved velocity - you will want to check that the rms of velocity are converged. You can then calculate the resolved tke based on the rms of velocity. The unresolved can be calculated from the contribution of the SGS turbulence model.

2) Alternatively you could also look at the spectral distribution of the resolved turbulent structure using spatial FFT. This may have issues when coherent structures.

hz283 February 5, 2013 07:04

Quote:

Originally Posted by julien.decharentenay (Post 404401)
Hi H,

In my opinion, you can do this in two ways:

1) From the LES analysis you will have access to the mean and rms of the resolved velocity - you will want to check that the rms of velocity are converged. You can then calculate the resolved tke based on the rms of velocity. The unresolved can be calculated from the contribution of the SGS turbulence model.

2) Alternatively you could also look at the spectral distribution of the resolved turbulent structure using spatial FFT. This may have issues when coherent structures.

Hi Julien,

Thank you so much for your help. For the method 1 you mentioned, I need to obtain the mean and rms quantities on a run-time basis. I think I can these quantities from UPrime2Mean. But I found that even if I defined the fieldAverage1 in controlDict, I can not use these quantities in, e.g. createFields.H files.

So how can I access to the these mean and variance during the simulation?

Thank you.

julien.decharentenay February 6, 2013 18:10

Hi H,

You may not need to do it during the simulation (i.e runtime), but just as a post-processing.

From a practical perspective, I am not able to help... I have done it in the past but with a different solver (star-cd) at post-processing stage only. I can't help with openFoam side...

Julien


All times are GMT -4. The time now is 14:53.