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

Calculating YPLUS and Compiling Multiple C files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2009, 08:07
Default Calculating YPLUS and Compiling Multiple C files
  #1
New Member
 
Sanjib Das Sharma
Join Date: May 2009
Posts: 22
Rep Power: 17
sanjibdsharma is on a distinguished road
Hi,

I am new to OpenFoam and trying to determine YPlus values from Turbulent flow. I found the yPlusRAS.C file. However, I do not know how to compile this along with any other flow solver, for eg. simpleFoam.C. I have tried to change the Make file in the solver as:

simpleFoam.C
yPlusRAS.C

EXE = $(USER_APP_BIN)/ simpleFoam

But this did not work.

Can anyone suggest a way to determine YPlus and also how to compile multiple C files in OpenFoam.

Thanks a lot in advance.

Sanjib
sanjibdsharma is offline   Reply With Quote

Old   August 11, 2009, 07:56
Default
  #2
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23
l_r_mcglashan will become famous soon enough
This doesn't really make sense. Do you want to calculate yPlus values for post processing, or do you need them during the calculation?

Look inside yPlusRAS.C. If you want to calculate a field of yPlus values, you'll see on line 54 that the field is declared and initialised. On line 99, the yPlus values are calculated. You'll see that they come from RASModel.
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan 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



All times are GMT -4. The time now is 15:55.