Skip to content
Snippets Groups Projects
Commit 04e2eda0 authored by Henry's avatar Henry
Browse files

nutURoughWallFunction: Removed restriction on roughness height

parent 824ec8be
Branches
Tags
No related merge requests found
......@@ -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_;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment