CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Calculating resolved scale k and epsilon (LES)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pm11dt

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2017, 10:59
Post Calculating resolved scale k and epsilon (LES)
  #1
New Member
 
Daniel W Theobald
Join Date: Feb 2017
Posts: 10
Rep Power: 9
pm11dt is on a distinguished road
I'm relatively new to openFoam and require some help with a specific issue I'm having when dealing with the post processing of LES cases.

I need to calculate k and epsilon fields for my LES case in order to compare with a RANS K-epsilon case I ran previously. In order to achieve this I have been using the following 3rd party utility:

postAverageTurbulenceFields found here: Utilities: post average turbulence fields and create turbulence fields for LES

However, I believe this utility only calls back and writes values for k from the transport equation solved during simulation. This would be fine when used with RANS but not for LES. I used the oneEqEddy viscosity sgs model which has a transport equation for ksgs and writes ksgs as k in the time directory.

When i use this tool with oneEqEddy LES model it will write ksgs as k and is probably writing epsilon from the sgs based on the same assumptions.

I need a way of calculating the total k and total epsilon for my LES case by either modifying postAverageTurbulenceFields utility or using some other utility to calculate these values from the mean velocity information I have.

k=0.5<U'_i><U'_i>
epsilon= nu(d<U'_i>/d<x_j>)^2

nu = nuSgs + nu of material ..?

Any help would be very much appreciated, but I should mention I have very little programming experience i.e. actually modifying source code. I am using and older version of openFoam, v2.3.1.

Thanks!

Daniel.
tariq likes this.
pm11dt is offline   Reply With Quote

Reply

Tags
averageturbulencefields, epsilon, les, oneeqeddy, turbulence disapation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 16 March 4, 2017 09:30
Calculation of Epsilon in LES model Yuri Almeida OpenFOAM 2 January 18, 2013 08:43
epsilon and K blowing up. sivakumar OpenFOAM Running, Solving & CFD 1 October 25, 2012 05:50
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 21:21
k epsilon and LES louison Main CFD Forum 1 May 2, 2005 01:10


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