Just to give some figures about this bug:
Random examples of triaxial simulations (with 20000 spherical particles and 6
boxes) show here ~ 45% of sphere-wall interactions that are useless at the end
of the simulation. Ie ~ 3% of the (real) interactions total number.
I think checking for penetrationDepth < 0 around l.95 of the code , before
deciding to "continue", would make sense and solve this bug.
Do we take the opportunity to replace the shape test  with something
else ? (what ? if yes)
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Sphere - nonSphere interactions never deleted by
Status in Yade:
Let say one performs simulation with
Law2_ScGeom_FrictPhys_CundallStrack.neverErase = 1 (in order to keep
menisci between separated particles)
In such case, interactions between sphere and non spherical particles
(e.g. boundaries) are not deleted by
Law2_ScGeom_FrictPhys_CundallStrack when geometrical contact is lost,
and are neither handled (deleted because of no meniscus, in
particular) by Law2_ScGeom_CapillaryPhys_Capillarity because
Law2_ScGeom_CapillaryPhys_Capillarity simply disregards such
And the user ends up with much more interactions than necessary..
I'm filling a Bug report for the record and possible discussion about
desired behaviour (sorry I could not provide a MWE !)
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~yade-dev
Post to : email@example.com
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp