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

kEpsilon::R(), what does it do?

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

Like Tree1Likes
  • 1 Post By Bernhard

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2013, 00:57
Smile kEpsilon::R(), what does it do?
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Hi guys,

In kEpsilon.C and kEpsilon.H. we can find kEpsilon::R() return the Reynolds stress tensor. but in K and Epsilon equation, we dont use this function:"kEpsilon::R()". in the solver, it is not be called either. so can I just delete it?
sharonyue is offline   Reply With Quote

Old   September 26, 2013, 03:14
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
In running case, you can in in principle delete it indeed. I suppose it is there for consistency, completeness and the possibility for future implementations. E.g, the utility "R" uses exactly the definition over there to calculate and write the Reynolds stresses. I think all RANS models have a function to return the Reynolds stress.
sharonyue likes this.
Bernhard is offline   Reply With Quote

Old   September 26, 2013, 03:21
Default
  #3
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
In running case, you can in in principle delete it indeed. I suppose it is there for consistency, completeness and the possibility for future implementations. E.g, the utility "R" uses exactly the definition over there to calculate and write the Reynolds stresses. I think all RANS models have a function to return the Reynolds stress.
Cool, very clear, Thanks!!Bernhard.
sharonyue 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



All times are GMT -4. The time now is 02:21.