nutURoughWallFunction: Removed restriction on roughness height

This commit is contained in:
Henry
2012-06-22 11:51:47 +01:00
parent 824ec8be0c
commit 04e2eda0b0

View File

@ -114,13 +114,6 @@ tmp<scalarField> nutURoughWallFunctionFvPatchScalarField::calcYPlus
scalar yPlusLast = 0.0;
scalar dKsPlusdYPlus = roughnessHeight_/y[facei];
// Enforce the roughnessHeight to be less than the distance to
// the first cell centre
if (dKsPlusdYPlus > 1)
{
dKsPlusdYPlus = 1;
}
// Additional tuning parameter - nominally = 1
dKsPlusdYPlus *= roughnessFactor_;