|March 21, 2011, 18:37||
Time Evolution of TKE (LES)
Join Date: Jul 2010
Posts: 34Rep Power: 6
I am simulating decaying turbulence using a case very similar to the tutorial channelFoam/channel395. The only difference is that I have cyclic boundaries in all directions, so no walls.
I want to plot the time evolution of the averaged turbulence kinetic energy, but I am not sure how.
1. Are there any utilities already coded in OF to do this easily?
2. If not, how can I modify postChannel to get the TKE per time step for the whole domain, and not per region?
I tried modifying the function collapse() in channelIndexTemplate.C to returned the summedField instead of the regionField, but got wierd results.
Thanks, I appreciate your help!!
|March 22, 2011, 08:40||
Join Date: May 2009
Posts: 16Rep Power: 8
If you are returning summedField instead of regionField you are still getting discrete values for different regions on the vertical line.
The only difference is that instead of getting the average values, you are getting the cumulative values of the fields, which are summed over discrete cell values. Therefore the values are still on region basis and also the cell value summation doesnot represent true integratation over those planes !
So, by an alternative loop maybe in an alternative function you may calculate and return the value of the overall field value integration which needs to be done by an algorithm like trapezoidal or simpson etc.
Last edited by ozgur; March 29, 2011 at 07:39.
|channelfoam, les model, post-processing, time averaged|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Time Step in LES||salehi144||ANSYS||2||October 21, 2010 17:32|
|caracteristic turbulence time in LES||skippy||FLUENT||0||September 16, 2004 10:51|
|Displaying LES Time Averaged Statistics||Ben||FLUENT||1||May 12, 2004 06:18|
|Komogrov time scale and implicit scheme for LES||Li Yang||Main CFD Forum||1||January 17, 2004 02:13|
|unsteady calcs in FLUENT||Sanjay Padhiar||Main CFD Forum||1||March 31, 1999 12:32|