← Back to team overview

yade-users team mailing list archive

Re: [Question #677006]: different type of interactions

 

Question #677006 on Yade changed:
https://answers.launchpad.net/yade/+question/677006

    Status: Open => Needs information

Jérôme Duriez requested more information:
Hi,

This code essentially erases the contacts between different
agglomerates, with the O.interactions.erase() line.

Whether these inter-agglomerate contacts are re-created, and with wich
type, during the subsequent O.step() strongly depends on the geometry of
your problem, and of your O.engines list, which you did not tell us
(looking at the mentioned simulation.py did not help me: there is no
CohFrictMat/CohFrictPhys therein ;-) )

Note that you can easily check the type of interactions with e.g.:

for i in O.interactions:
 b1,b2 = [O.bodies[ii] for ii in (i.id1,i.id2)]
 if b1.agglomerate != b2.agglomerate:
   print i.phys

Or with "Inspect" from the GUI.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.