Comment 27 for bug 897237

Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :

Christian, I tried to delete bodies with capillary interactions using a fresh script and I see no problems after bzr2973.
Check what's inside the attached script, there a few things that should also be included in yours as explained in the documentation:

"In order to allow capillary forces between distant spheres, it is necessary to enlarge the bounding boxes using :yref:`Bo1_Sphere_Aabb::aabbEnlargeFactor` and make the Ig2 define define distant interactions via :yref:`interactionDetectionFactor<Ig2_Sphere_Sphere_ScGeom::interactionDetectionFactor>`. It is also necessary to disable interactions removal by the constitutive law (:yref:`Law2<Law2_ScGeom_FrictPhys_CundallStrack::neverErase>=True`)."

I also included automatic definition of hertzOn, so it is not necessary to define it (if you define it, it will be overwritten anyway).
You can try the script attached above and turn neverErase=1, then you will get distant interactions (see also createDistantMeniscii flag)