|
[Sponsors] |
June 17, 2011, 06:25 |
nutRoughwallfunction arguments
|
#1 |
New Member
George
Join Date: Oct 2010
Posts: 18
Rep Power: 16 |
Hi Openfoamers,
I would like to know what the last item represents in the following dictionary entry in 0/nut: walls { type nutRoughWallFunction; Ks uniform 1e-5; Cs uniform 0.5; value uniform 1.0;} Does it mean that nut is assigned a fixed value of 1 on the 'walls' patch throughout the entire simulation and Ks and Cs completely ignored? Or is nut assigned a value of 1 for the first time-step on the 'walls' patch? I took a look at nutRoughWallFunctionFvPatchScalarField.C and nutRoughWallFunctionFvPatchScalarField.H, but could not see how the last dictionary entry was used. Thank you, George |
|
August 16, 2011, 04:28 |
|
#2 |
New Member
Case Bakker
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 5
Rep Power: 15 |
Hi
It seems like in OF 2.0.1 the function nutRoughWallFunction is now nutURoughWallFunction, and the arguments have changed. They are now value roughnessHeight roughnessFactor roughnessConstant I understand what roughnessHeight refers to, but can anyone explain what exactly the other arguments change. Can't find a definitive answer anywhere in the forums. Thanks Case |
|
August 22, 2011, 07:02 |
|
#3 |
New Member
Jochem
Join Date: May 2010
Posts: 28
Rep Power: 16 |
Hi,
You can also use nutkRoughWallFunction in OF2.0. I use the turbineSiting tutorial and just change Ks and Cs to my case. Regards |
|
August 22, 2011, 07:29 |
|
#4 |
New Member
Case Bakker
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 5
Rep Power: 15 |
I tried to run one of my old cases made when I was using OF1.7.1 that uses nutRoughWallFunction, butgot an error message, giving me a list of the possible patches that are allowed, with nutURoughWallFunction being one of them. Had to change to nutURoughWallFunction, and also change the arguments.
|
|
July 31, 2012, 22:03 |
|
#5 | |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
Quote:
Did you get an answer? Thanks for sharing! |
||
January 29, 2013, 10:57 |
|
#6 |
Senior Member
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 240
Rep Power: 17 |
I give it a try: scalarField& y = rasModel.y()[patchI]...that returns the near wall distances.
scalar dKsPlusdYPlus = roughnessHeight_/y[facei] ...is the ratio of roughness heigt to the near wall distance of patchI dKsPlusdYPlus *= roughnessFactor_ ...used for tuning this ratio to finally: yp*dKsPlusdYPlus ...get the nondimensional roughness heigt based on the y+ value of the latest timestep. I use roughnessFactor = 1. roughnessConstant is only applied (as a multiplier) if the nondimensional roughness is bigger than 90, so I guess it is about the issue of where the different regions of the wall velocity profiles are placed, viscid layer, log layer etc. These are guesses by reading the source code. For generally understanding of the rough wall function, see the Thesis of John O’Sullivan, February 2012, "MODELLING WIND FLOW OVER COMPLEX TERRAIN", especially eq. (2.55). He worked with OpenFOAM Last edited by vonboett; January 29, 2013 at 11:18. |
|
June 2, 2013, 18:21 |
|
#7 |
New Member
Ksenia Kurischenko
Join Date: Jun 2013
Posts: 1
Rep Power: 0 |
Dear all,
Tell me where I can find the theoretical description of function nutURoughWallFunction? |
|
September 17, 2014, 21:43 |
|
#8 |
Member
|
Dear all
I got the same question as Ksenia where is there any bibliography about this wall function
__________________
------------------------------------------------------- Gregoire Junqua Ocean University of China PhD Oceanography/ABL turbulence ------------------------------------------------------- |
|
June 5, 2015, 10:03 |
|
#9 |
Member
Lourenço SM
Join Date: Jul 2014
Location: Lisboa, Portugal
Posts: 41
Rep Power: 12 |
Same question!
Anyone knows where to find info on the nutURoughWallFunction? |
|
Tags |
nutroughwallfunction |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
nutRoughWallFunction and Surface Roughness Documented | AlanR | OpenFOAM Programming & Development | 64 | January 6, 2024 08:13 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
compile errors of boundary condition "expDirectionMixed" | liying02ts | OpenFOAM Bugs | 2 | February 1, 2010 21:11 |