Track the contact between two clumps

Asked by xuq

Hi,all

  I am trying to track the contacts between two clumps in the triaxial test,
  but I don't know how to implement.
  So anyone could provide some codes or informations?

thank you

Question information

Language:
English Edit question
Status:
Expired
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jérôme Duriez (jduriez) said :
#1

Hi,

Considering that interactions are between clump members [*], something like

liste = []
for id1 in clump1memb: # clump1memb is a list with the ids of the clump members in clump #1
  for id2 in clump2memb: # same for the second clump
    liste.append(O.interactions[id1,id2]) # sorry I could not make a one-line list creation (some scope issues...)
?

[*] https://yade-dem.org/doc/user.html#clumping-particles-together

Revision history for this message
xuq (xuq) said :
#4

Hi,jduriez

Thanks for your reply!
So when two clumps may have more than one contacts,
how can I track this?

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Jan Stránský (honzik) said :
#6

Hi,
just track "more than one contacts".. If you have some problem with it, please describe the problem.
cheers
Jan