CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Utilities: post average turbulence fields and create turbulence fields for LES

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

Utilities: post average turbulence fields and create turbulence fields for LES

Posted September 25, 2017 at 13:45 by kindle

This seems to be useful

Quote:
Originally Posted by Hanzo View Post
Hi everybody,

I found the following issues in OpenFOAM concerning some turbulence analysis:

- the utility createTurbulenceFields only works for RAS computations
- there is no standard utility to average fields after computation has been done (to get U-mean, U-rms, R-Mean, Reff-Mean ...)

So I worked on these utilities and after mentioning it in some posts I got replies and private messages asking me if I could publish them. So here they are:

createTurbulenceFieldsLES

Is a tools which writes out the fields k,epsilon, R, Reff after a RAS or LES simulation has been performed.

postAverageTurbulenceFields


Inspired by eelcovv, who wrote the tool postAverage, I extended his tools to be also able to post average the fields R and Reff. Again RAS and LES are supported.
The post can be found here http://www.cfd-online.com/Forums/ope...rocessing.html

How to use these utilities

Please find attached the modified tutorials

- pitz_daily_les
- cavity_ras

Including Allrun scripts which show how to use these tools.

How to install

- copy the contents from the archives "postAverageTurbulenceFields.zip" and "createTurbulenceFieldsLES.zip" into the folder username-2.1.1/application/utilities

- go into each of the folders postAverageTurbulenceFields and createTurbulenceFieldsLES and type wmake

It also worked under OpenFOAM 1.6.

Known issues


- for some reason, which I did not figure out, averaging the Reynolds stress tensor for RAS computations does not work (but works for Reff)

- if the output setting for the averaging is set to certain values, nothing is written. However, it works for output intervals 1 and 2 (just delete the unnecessary files after averaging)

I am happy about any comments how to improve these tools or if there is a better way to post own code.

Best,
Hanzo
Views 2626 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 07:55.