CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Calculating resolved turbulent kinetic energy for nonstationary flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2021, 15:21
Default Calculating resolved turbulent kinetic energy for nonstationary flow
  #1
Member
 
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5
Jasper Z is on a distinguished road
Dear Foamers,

I am struggling with the method of calculating resolved turbulent kinetic energy in LES. I have read a lot of threads and see that we can calculate TKE by: 0.5*(Uprime2Mean_XX+Uprime2Mean_YY+Uprime2Mean_ZZ) . But Uprime2Mean is calculated from: u-UMean, where UMean is time-averaged velocity. I know this should work with the statistically stationary flow. However, what if we have a nonstationary flow, like the figure below?

Shouldn't we get the Uprime2Mean by subtracting ensemble-averaged velocity from the instantaneous velocity? If we use UMean, the results will be totally different. Any ideas?

Kind Regards,
Jasper
Attached Images
File Type: png nonstationary.png (17.6 KB, 9 views)
Jasper Z is offline   Reply With Quote

Old   April 9, 2021, 21:22
Default
  #2
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 10
KTG is on a distinguished road
I think in that function object the UMean and will be over whatever window you specify - its not automatically going to use the full time period.
KTG is offline   Reply With Quote

Old   April 10, 2021, 05:33
Default
  #3
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 670
Rep Power: 14
Tobermory will become famous soon enough
Jasper - yes, you are right, that is the correct definition in a non-stationary flow (that is - Uprime2Mean needs to be calculated from u - Umean, but Umean must be the ensemble mean in this case).

To do the ensemble average you have to either run the simulation many many times (unlikely!) or find a homogeneous direction (eg. spanwise in a channel flow, as well as top half & bottom half) and average over that direction. To get a (statistically) good ensemble average, you need to ensure that you have a large enough homogenous direction.

You can dig up the old postChannel utility, and modify/use that, to do the spatial averaging. Good luck!
Tobermory is offline   Reply With Quote

Old   April 10, 2021, 14:25
Default
  #4
Member
 
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5
Jasper Z is on a distinguished road
Quote:
Originally Posted by Tobermory View Post
Jasper - yes, you are right, that is the correct definition in a non-stationary flow (that is - Uprime2Mean needs to be calculated from u - Umean, but Umean must be the ensemble mean in this case).

To do the ensemble average you have to either run the simulation many many times (unlikely!) or find a homogeneous direction (eg. spanwise in a channel flow, as well as top half & bottom half) and average over that direction. To get a (statistically) good ensemble average, you need to ensure that you have a large enough homogenous direction.

You can dig up the old postChannel utility, and modify/use that, to do the spatial averaging. Good luck!
Thank you very much Tobermory. I will take a look at the postChannel utility!

Best Regards,

Jasper
Jasper Z is offline   Reply With Quote

Reply


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
Contours of turbulent kinetic energy in LES using ANSYS FLUENT 13 khosrow FLUENT 5 July 29, 2013 05:28
Turbulent kinetic energy in transient flow chmurillor FLUENT 0 June 2, 2013 11:41
Turbulent kinetic energy at wall? alanlove FLUENT 1 November 23, 2012 11:24
what's the macro of SGS turbulent kinetic energy? lcw FLUENT 1 June 13, 2006 03:08
Turbulent Kinetic Energy Olga FLUENT 2 October 11, 2002 15:05


All times are GMT -4. The time now is 03:50.