|
[Sponsors] |
How do we write code for mean of reynolds stress tensor? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 4, 2019, 06:38 |
How do we write code for mean of reynolds stress tensor?
|
#1 |
New Member
VL Srinivas
Join Date: Jan 2017
Posts: 4
Rep Power: 9 |
In TKE equation, the production term consists of reynolds stress tensor multiplied by strain rate ?
The production term in tensor form = - <u_i u_j>*dU_i/dx_j ; here u=fluctuating component; U= mean component; d=partial derivative operator While writing code for the TKE equation, do I have to add all the 9 components of the stress tensor and then average it over time ? Production term: u'u' dU/dx + u'v'dU/dy + u'w'dU/dz + v'u'dV/dx + v'v'dV/dy + v'w'dV/dz + u'w'dW/dx + v'w'dW/dy + w'w'dW/dz where U= U(x,y,z) and u'= u'(x,y,z,t) Is this representation correct? |
|
June 4, 2019, 10:51 |
|
#2 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
Yes the summation is correct. You do not need to time average because all the variables are already averaged. You can take the time-average. You'll just find out it doesn't do anything.
Maybe you got lazy and dropped the notation but if <> represents reynolds averaging then you should have: Quote:
|
||
June 4, 2019, 11:12 |
|
#3 |
New Member
VL Srinivas
Join Date: Jan 2017
Posts: 4
Rep Power: 9 |
Thank you for the prompt reply. I will do that.
Regarding the <> for every element, I forgot to put that. |
|
Tags |
programming, reynolds stress tensor, tke budget |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC lookup tables for Reynolds stress R tensor field | rdbisme | OpenFOAM Community Contributions | 3 | July 19, 2021 03:37 |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
wmake libso error while compiling library for dynamic mesh | Naveed Salman | OpenFOAM Programming & Development | 3 | August 28, 2017 21:53 |
Reynold's Stress not shown | anjansir | OpenFOAM Post-Processing | 0 | December 16, 2011 02:55 |
Problems with the reynolds stress tensor | blacksquirrel | OpenFOAM Post-Processing | 0 | September 15, 2011 14:15 |