CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Wall roughness in simpleFoam (https://www.cfd-online.com/Forums/openfoam-solving/179468-wall-roughness-simplefoam.html)

Deagle October 31, 2016 09:37

Wall roughness in simpleFoam
 
Hello,

I'm currently looking into simulating pipe flow using simpleFoam, but have a little trouble with incorporating/changing the wall roughness. From what I know the roughness isn't given in with initial conditions so I looked into some source code. But that search wasn't really helping.

Does anybody know how wall roughness is incorporated and where to change this property?

Thank you very much in advance!

Dennis

tomf January 1, 2017 16:05

Hi this can be done using the nutkRoughWallFunction. Try googling it or find the source code:

Code:

find $FOAM_SRC -iname *nutkRoughWallFunction*


All times are GMT -4. The time now is 16:22.