View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001315OpenFOAM[All Projects] Bugpublic2014-06-05 09:532014-06-05 10:34
Reporterthomas 
Assigned Tohenry 
PrioritynormalSeveritytrivialReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinuxOSOpenSuseOS Version11.3
Product Version2.3.x 
Target VersionFixed in Version 
Summary0001315: Typo in overlapArea in lagrangian (DEM) framework - issue only for multimodal particle simulations
DescriptionHi,

in the lagrangian framework, there is a typo in the formula for the overlap area. In file

src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairModel/PairSpringSliderDashpot/PairSpringSliderDashpot.H

in line 152 it should read:

 *( rAB + rA + rB)

instead of:

 *( rAB + rA + rA)

Can be verified at the original reference (http://mathworld.wolfram.com/Sphere-SphereIntersection.html [^]) of the expression.

This bug doesn't harm in monomodal (same diameter) DEM simulations, but in simulations with varying diameters it causes wrong forces.

The same function (including the typo) is also defined in the other force models by the way:

./submodels/Kinematic/CollisionModel/PairCollision/PairModel/PairPiecewiseLinearCohesive/PairPiecewiseLinearCohesive.H-132


Best regards
Thomas
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003101)
henry (manager)
2014-06-05 10:34

Thanks for the detailed bug-report.
Resolved by commit e979271011714a2ce7adc9b5beb2c5117dfda0ad

PairPiecewiseLinearCohesive is not known to us.

- Issue History
Date Modified Username Field Change
2014-06-05 09:53 thomas New Issue
2014-06-05 10:34 henry Note Added: 0003101
2014-06-05 10:34 henry Status new => resolved
2014-06-05 10:34 henry Resolution open => fixed
2014-06-05 10:34 henry Assigned To => henry