|
[Sponsors] |
The value field in wall functions for OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 21, 2016, 18:02 |
The value field in wall functions for OpenFOAM
|
#1 |
Member
Amir Abbas Aliabadi
Join Date: Mar 2013
Posts: 33
Rep Power: 13 |
Hello Dear OpenFOAM Community,
Is there a reference for the description of the value field for OpenFOAM wall functions? particularly for the types below with the following examples: Thanks, aaa Example 1: type kqRWallFunction; value uniform 0.4; Example 2: type alphatJayatillekeWallFunction; Prt 0.85; value uniform 0; Example 3: type nutUSpaldingWallFunction; value uniform 0; |
|
September 22, 2016, 15:29 |
|
#2 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
It's just a placeholder, is not needed since the value will be either zero gradient (in your case) or zero (in case of y+<5).
https://github.com/OpenFOAM/OpenFOAM...FvPatchField.H |
|
September 22, 2016, 15:50 |
|
#3 |
Member
Amir Abbas Aliabadi
Join Date: Mar 2013
Posts: 33
Rep Power: 13 |
Hi Dear Mahdi,
Thanks a lot. So since my y+ is somewhat large > 100 then the value field is automatically set to zerogradient, right? I am just wondering how is it possible to define a roughness length for the wall function to use. My surface roughness is about 5 cm and I want to supply this to the wall function. Do you have any suggestions? By the way, you are in Canada too! we are at the University of Guelph. Will be happy to meet sometimes. Regards, Amir A. Aliabadi |
|
September 23, 2016, 13:09 |
|
#4 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
Hi Amir,
Yes, you have y+>100 and you are using the kqRWallFunction, so it should be good. For the roughness I think it doesn't affect k value at the wall, but the effect shows up at nut. To see a complete list of the available wall function for every variable check: $FOAM_SRC/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions There, under nutWallFunctions you will see some models with roughness. Hope that answers your question. Yes, I'm at UNB, will surely contact you if I pass by there, or we might meet at a conference. |
|
September 23, 2016, 17:02 |
|
#5 |
Member
Amir Abbas Aliabadi
Join Date: Mar 2013
Posts: 33
Rep Power: 13 |
Thanks a lot Mahdi!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall functions in SU2 | xgarnaud | SU2 | 3 | March 6, 2017 14:50 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Field functions and table | crevoise | Siemens | 0 | March 20, 2013 10:51 |
[ICEM] Export ICEM mesh to Gambit / Fluent | romekr | ANSYS Meshing & Geometry | 1 | November 26, 2011 12:11 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 14:09 |