CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Calculating YPLUS and Compiling Multiple C files

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

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

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:


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.

sanjibdsharma is offline   Reply With Quote

Old   August 11, 2009, 06:56
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
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


Thread Tools
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 On
Pingbacks are On
Refbacks are On

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