create clump from existing bodies (spheres)

Asked by Christian Jakob

Hi,

I want to create a clump from existing bodies (spheres). I created a bodylist with the bodies, that should be clumped and I tried:

id_clump = O.bodies.appendClumped(bodylist[:])

and

id_clump = O.bodies.clump(bodylist[:])

I get:

RuntimeError: Clump::updateProperties: clump has zero members.

Does anyone know how i can do this?

Christian

Question information

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

ok, the function O.bodies.clump(bodylist[:]) works well, the problem is, that bodylist was empty.