Skip to content
Snippets Groups Projects
Commit 8b86d8b1 authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: waveMOdels - corrected error introduced in commit 95f3adb1

parent 6e78da0d
Branches
Tags
No related merge requests found
......@@ -147,8 +147,8 @@ Foam::tmp<Foam::scalarField> Foam::waveModel::waterLevel() const
reduce(paddleMagSf[paddlei], sumOp<scalar>());
reduce(paddleWettedMagSf[paddlei], sumOp<scalar>());
level[paddlei] +=
paddleWettedMagSf[paddlei]
/(paddleMagSf[paddlei]*zSpan_ + ROOTVSMALL);
paddleWettedMagSf[paddlei]*zSpan_
/(paddleMagSf[paddlei] + ROOTVSMALL);
}
return tlevel;
......
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