Commit 0054d8d2 authored by Andrew Heather's avatar Andrew Heather
Browse files

do not remove tangential component on pure rebound

parent c9f7267b
......@@ -71,15 +71,12 @@ bool Foam::Rebound<CloudType>::correct
nw /= mag(nw);
scalar Un = U & nw;
vector Ut = U - Un*nw;
if (Un > 0.0)
{
U -= UFactor_*2.0*Un*nw;
}
U -= Ut;
return true;
}
......
Supports Markdown
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