|
[Sponsors] |
Calculating YPLUS and Compiling Multiple C files |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 10, 2009, 08:07 |
Calculating YPLUS and Compiling Multiple C files
|
#1 |
New Member
Sanjib Das Sharma
Join Date: May 2009
Posts: 22
Rep Power: 17 |
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 |
|
August 11, 2009, 07:56 |
|
#2 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
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 |
|
|
|