← Back to team overview

yade-dev team mailing list archive

Re: [deprecated list] r1757 - in trunk: extra pkg/common/DataClass/InteractingGeometry pkg/dem pkg/dem/DataClass/InteractionGeometry pkg/dem/Engine/EngineUnit pkg/dem/Engine/StandAloneEngine scripts/test

 


that's the point. Something is wrong about the architecture of code,
because it encourages bad behavior, like yours. What's wrong, how to
fix it?
What is questionable in the first place is that sphere-* contact is represented as sphere-sphere contact (sphere-facet, sphere-box).

I tried to fix that with Dem3DofGeom which already works quite fine for sphere-sphere and sphere-facet. It has virtual methods for getting deformations on the contact, therefore the constitutive law doesn't care if it is sphere-sphere or sphere-facet (but still can know it, would it be needed). If I have some time, I will also create incremental version of those, which will be basically SpheresContactGeometry for sphere-sphere and something similar for sphere-facet. Then it will be interesting to compare them peformancewise and precisionwise.

Vaclav




References