Skip to content

Tutorial wallMountedHump uses the wrong Wall function

In the tutorial $FOAM_TUTORIALS/incompressible/pimpleFoam/LES/wallMountedHump the bottomWall patch uses the kqRWallFunction. However, monitoring the maximum y+ value for that patch in the wallMountedHump/results/kOmegaSSTDDES-DeltaOmegaTilde-useSigmaTrue case (This results directory is created after running Allrun script) reveals that the maximum y+ is less than 1.

According to the documentation of kqRWallFunction, this wall function works only for High-Re turbulence models. In this case, the wall function should be changed to kLowReWallFunction

Here is the output of yPlus functon object (the case runs from t=0 to t=0.1s):

# y+ ()       
# Time        	patch         	min           	max           	average       
0.035         	bottomWall	5.069050e-01	7.116099e-01	6.489882e-01
0.036         	bottomWall	5.035144e-01	7.100054e-01	6.465464e-01
0.037         	bottomWall	5.001048e-01	7.086455e-01	6.441265e-01
0.038         	bottomWall	4.966794e-01	7.073639e-01	6.417274e-01
0.039         	bottomWall	4.932415e-01	7.060872e-01	6.393480e-01
0.04          	bottomWall	4.897940e-01	7.048148e-01	6.369876e-01
0.041         	bottomWall	4.863399e-01	7.035460e-01	6.346452e-01
0.042         	bottomWall	4.828823e-01	7.022801e-01	6.323201e-01
0.043         	bottomWall	4.794237e-01	7.010166e-01	6.300118e-01
0.044         	bottomWall	4.759671e-01	6.997553e-01	6.277195e-01
0.045         	bottomWall	4.725155e-01	6.984956e-01	6.254428e-01
0.046         	bottomWall	4.690714e-01	6.972373e-01	6.231812e-01
0.047         	bottomWall	4.656373e-01	6.959800e-01	6.209343e-01
0.048         	bottomWall	4.622159e-01	6.947235e-01	6.187016e-01
0.049         	bottomWall	4.588097e-01	6.934673e-01	6.164829e-01
0.05          	bottomWall	4.554209e-01	6.922117e-01	6.142778e-01
0.051         	bottomWall	4.520517e-01	6.909564e-01	6.120862e-01
0.052         	bottomWall	4.487040e-01	6.897016e-01	6.099079e-01
0.053         	bottomWall	4.452075e-01	6.884473e-01	6.077425e-01
0.054         	bottomWall	4.417060e-01	6.871933e-01	6.055900e-01
0.055         	bottomWall	4.382235e-01	6.859400e-01	6.034502e-01
0.056         	bottomWall	4.347618e-01	6.846872e-01	6.013230e-01
0.057         	bottomWall	4.313231e-01	6.834351e-01	5.992084e-01
0.058         	bottomWall	4.279095e-01	6.821836e-01	5.971061e-01
0.059         	bottomWall	4.245221e-01	6.809329e-01	5.950163e-01
0.06          	bottomWall	4.211628e-01	6.796831e-01	5.929388e-01
0.061         	bottomWall	4.178332e-01	6.784341e-01	5.908735e-01
0.062         	bottomWall	4.145346e-01	6.771863e-01	5.888206e-01
0.063         	bottomWall	4.112684e-01	6.759399e-01	5.867799e-01
0.064         	bottomWall	4.080356e-01	6.746950e-01	5.847513e-01
0.065         	bottomWall	4.048376e-01	6.734517e-01	5.827350e-01
0.066         	bottomWall	4.016753e-01	6.722102e-01	5.807310e-01
0.067         	bottomWall	3.985497e-01	6.709706e-01	5.787391e-01
0.068         	bottomWall	3.954626e-01	6.697331e-01	5.767600e-01
0.069         	bottomWall	3.924149e-01	6.684975e-01	5.747934e-01
0.07          	bottomWall	3.894046e-01	6.672636e-01	5.728381e-01
0.071         	bottomWall	3.864079e-01	6.660293e-01	5.708842e-01
0.072         	bottomWall	3.834329e-01	6.648026e-01	5.689403e-01
0.073         	bottomWall	3.805406e-01	6.635933e-01	5.670317e-01
0.074         	bottomWall	3.776905e-01	6.623808e-01	5.651291e-01
0.075         	bottomWall	3.748725e-01	6.611678e-01	5.632378e-01
0.076         	bottomWall	3.720980e-01	6.599561e-01	5.613582e-01
0.077         	bottomWall	3.693651e-01	6.587466e-01	5.594904e-01
0.078         	bottomWall	3.666728e-01	6.575399e-01	5.576346e-01
0.079         	bottomWall	3.638041e-01	6.563364e-01	5.557909e-01
0.08          	bottomWall	3.609299e-01	6.551364e-01	5.539595e-01
0.081         	bottomWall	3.580968e-01	6.539406e-01	5.521404e-01
0.082         	bottomWall	3.553050e-01	6.527487e-01	5.503337e-01
0.083         	bottomWall	3.525546e-01	6.515607e-01	5.485393e-01
0.084         	bottomWall	3.498455e-01	6.503767e-01	5.467574e-01
0.085         	bottomWall	3.471777e-01	6.491968e-01	5.449879e-01
0.086         	bottomWall	3.445508e-01	6.480211e-01	5.432307e-01
0.087         	bottomWall	3.419651e-01	6.468499e-01	5.414861e-01
0.088         	bottomWall	3.394202e-01	6.456837e-01	5.397540e-01
0.089         	bottomWall	3.369156e-01	6.445221e-01	5.380343e-01
0.09          	bottomWall	3.344512e-01	6.433651e-01	5.363270e-01
0.092         	bottomWall	3.296422e-01	6.410654e-01	5.329501e-01
0.094         	bottomWall	3.249912e-01	6.387853e-01	5.296237e-01
0.095         	bottomWall	3.227224e-01	6.376523e-01	5.279787e-01
0.096         	bottomWall	3.203673e-01	6.365246e-01	5.263469e-01
0.097         	bottomWall	3.177192e-01	6.354036e-01	5.247308e-01
0.098         	bottomWall	3.151147e-01	6.342874e-01	5.231283e-01
0.099         	bottomWall	3.125565e-01	6.331759e-01	5.215393e-01
0.1           	bottomWall	3.099769e-01	6.320555e-01	5.199387e-01