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

Production of Turbulent Kinetic Energy

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2010, 17: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, 09: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:41
LES of periodic pipe centerline turbulent kinetic energy smehdi609 OpenFOAM 0 November 30, 2010 23:59
UDF for changing production of turbulent kinetic energy CFT FLUENT 0 April 20, 2009 02:35
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 18:53.