View Issue Details

IDProjectCategoryView StatusLast Update
0001315OpenFOAMBugpublic2014-06-05 11:34
Reporteruser940Assigned Tohenry  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOpenSuseOS Version11.3
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.

Activities

henry

2014-06-05 11:34

manager   ~0003101

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 10:53 user940 New Issue
2014-06-05 11:34 henry Note Added: 0003101
2014-06-05 11:34 henry Status new => resolved
2014-06-05 11:34 henry Resolution open => fixed
2014-06-05 11:34 henry Assigned To => henry