Clumping a packing

Asked by anna effeindzourou

Hi guys,
Is that possible to clump an already existing packing? I'm using random dense packing and I want to clump it after deposition under gravity.

Cheers,
Anna

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Christian Jakob (jakob-ifgt) said :
#1

Dear anna,

you have to create a bodylist, where all bodies are listed, that should be clumped.

bodylist=[]
for b in O.bodies:
  #... your part
  bodylist.append(id)

then you can simply clump them with

O.bodies.clump(bodylist[:])

Regards,

Christian

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

Can you help with this problem?

Provide an answer of your own, or ask anna effeindzourou for more information if necessary.

To post a message you must log in.