Minor clean-up
This commit is contained in:
parent
c78f57ec2a
commit
bf8d5ed3ad
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@ nutSpalartAllmarasWallFunctionFvPatchScalarField::calcNut() const
|
|||
const scalarField magGradU = mag(Uw.snGrad());
|
||||
const scalarField& nuw = turbModel.nu().boundaryField()[patchI];
|
||||
|
||||
return max
|
||||
return Foam::max
|
||||
(
|
||||
0.0,
|
||||
scalar(0),
|
||||
sqr(calcUTau(magGradU))/(magGradU + ROOTVSMALL) - nuw
|
||||
);
|
||||
}
|
||||
|
|
Reference in a new issue