From 0054d8d2941244dc9d23473aba11eb4ec12b07ec Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 30 Oct 2009 10:02:21 +0000 Subject: [PATCH] do not remove tangential component on pure rebound --- .../Kinematic/PatchInteractionModel/Rebound/Rebound.C | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/Rebound/Rebound.C b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/Rebound/Rebound.C index 44d8915497..7c62bfda6e 100644 --- a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/Rebound/Rebound.C +++ b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/Rebound/Rebound.C @@ -71,15 +71,12 @@ bool Foam::Rebound::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; }