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

Production of Turbulent Kinetic Energy

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2010, 18:07
Default Production of Turbulent Kinetic Energy
  #1
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17
johndeas is on a distinguished road
Hi,

I need to compute the term \overline{u'_iu'_j}\frac{\partial \overline{u}_i}{\partial x_j}. If R is the volSymmTensorField containing the Reynolds stress, and Umean the mean velocity vector, is this the correct way to compute it ?

Code:
R.component(tensor::XX)*fvc::grad(Umean)().component(tensor::XX)+
R.component(tensor::XY)*fvc::grad(Umean)().component(tensor::XY)+
R.component(tensor::XZ)*fvc::grad(Umean)().component(tensor::XZ)+
R.component(tensor::YX)*fvc::grad(Umean)().component(tensor::YX)+
R.component(tensor::YY)*fvc::grad(Umean)().component(tensor::YY)+
R.component(tensor::YZ)*fvc::grad(Umean)().component(tensor::YZ)+
R.component(tensor::ZX)*fvc::grad(Umean)().component(tensor::ZX)+
R.component(tensor::ZY)*fvc::grad(Umean)().component(tensor::ZY)+
R.component(tensor::ZZ)*fvc::grad(Umean)().component(tensor::ZZ)
Thanks,

JD
johndeas is offline   Reply With Quote

Old   December 14, 2010, 10:22
Default
  #2
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17
boger is on a distinguished road
Okay, but you might first have a look at the available operators. For example, something like
Code:
R && fvc::grad(Umean)
might be cleaner.
__________________
David A. Boger
boger 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
LES and total turbulent kinetic energy Boerge FLUENT 1 September 8, 2012 12:41
LES of periodic pipe centerline turbulent kinetic energy smehdi609 OpenFOAM 0 December 1, 2010 00:59
UDF for changing production of turbulent kinetic energy CFT FLUENT 0 April 20, 2009 03:35
what's the macro of SGS turbulent kinetic energy? lcw FLUENT 1 June 13, 2006 04:08
Turbulent Kinetic Energy Olga FLUENT 2 October 11, 2002 16:05


All times are GMT -4. The time now is 16:43.