PairSpringSliderDashpot: Correct sphere interaction calculation for non-equal diameters

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1315
This commit is contained in:
Henry
2014-06-05 11:32:45 +01:00
committed by Andrew Heather
parent 709b92d907
commit 5c4e3eb082

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -149,7 +149,7 @@ public:
(-rAB + rA - rB) (-rAB + rA - rB)
*(-rAB - rA + rB) *(-rAB - rA + rB)
*(-rAB + rA + rB) *(-rAB + rA + rB)
*( rAB + rA + rA) *( rAB + rA + rB)
); );
} }