CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Wall roughness in simpleFoam (

Deagle October 31, 2016 08:37

Wall roughness in simpleFoam

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!


tomf January 1, 2017 15:05

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


find $FOAM_SRC -iname *nutkRoughWallFunction*

All times are GMT -4. The time now is 13:46.