CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   SpalartAllmaras wall function in OpenFOAM 2.0.1 (

moser_r August 31, 2011 11:03

SpalartAllmaras wall function in OpenFOAM 2.0.1
I have just installed OpenFOAM 2.0.1, and have tried re-running some benchmark test cases which I had done for version 1.7.1. However, they crash, stating that there is an unknown patchField type (nutSpalartAllmarasWallFunction). The nutSpalartAllmarasWallFunction is not used as a patch type in any of the new tutorial cases (where it was before, at least for some of them), and seems to have been replaced by nutUSpaldingWallFunction.

So, has the Spalart Allmaras wall function gone in 2.0.1, or has it just been renamed? In either case: why, oh why? Compatibility out of the window ...

mjb28 November 1, 2011 12:40

Hi Richard, have you confirmed if the Spalart Amaras wall function has been removed or renamed in OpenFoam 2.0.1? I have the same problem as you where the wall function is not recognised as it was before.

laurensvd November 9, 2011 05:05

I believe it is now called nutUSpaldingWallFunction :)

s.m August 14, 2013 12:25


Originally Posted by laurensvd (Post 331320)
I believe it is now called nutUSpaldingWallFunction :)

if we use nutUSpaldinWallFunction for spalarallmaras, then the y+ doesn't need to be <5 (y+<5 for SA)?
or inspite of using this wallFunction the y+ should lower than 5?
Thank you :)

ghtunmun September 18, 2013 17:37

Hello everybody!
Well I'm a newbie here and I'm simulating a flow over a wheel with a 2.1.x version. I used the k-Omega SST model with the nutkWallfunction and I had yplus Values that are between 30 and 100. I also had good Drag and Lift coefficients.
Now coming to the Spallart Allmaras model I tried the same simulation with the same mesh using the nutUSpaldinWallFunction and I'm having very near results concerning lift and drag to those of k-Omega SST (though my yPlus values are not less than 5). I'm a little bit confused about the relation between the nutUSpaldinWallFunction and the necessary yPlus values for SA in Openfoam.
Shall I keep the same function if I want to work with the same mesh? Or are there other wallfunctions (with yPlus values between 30 and 100) that work with the currently implemented version of Spalart Allmaras (In other words is it possible to use SA in Openfoam as a high-Re model ? and if so which wallfunction should I use?)
I would be grateful if someone here can help me!
Best regards

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