From 5c4e3eb0826669360b9402b8d9c105f35a949983 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Thu, 5 Jun 2014 11:32:45 +0100
Subject: [PATCH] PairSpringSliderDashpot: Correct sphere interaction
 calculation for non-equal diameters Resolves bug-report
 http://www.openfoam.org/mantisbt/view.php?id=1315

---
 .../PairSpringSliderDashpot/PairSpringSliderDashpot.H         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairModel/PairSpringSliderDashpot/PairSpringSliderDashpot.H b/src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairModel/PairSpringSliderDashpot/PairSpringSliderDashpot.H
index 7001bc04451..142ac505b09 100644
--- a/src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairModel/PairSpringSliderDashpot/PairSpringSliderDashpot.H
+++ b/src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairModel/PairSpringSliderDashpot/PairSpringSliderDashpot.H
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2014 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -149,7 +149,7 @@ public:
                     (-rAB + rA - rB)
                    *(-rAB - rA + rB)
                    *(-rAB + rA + rB)
-                   *( rAB + rA + rA)
+                   *( rAB + rA + rB)
                 );
         }
 
-- 
GitLab