create clump from existing bodies (spheres)

Asked by Christian Jakob on 2012-02-02

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:
2012-02-02
Last query:
2012-02-02
Last reply:
Christian Jakob (jakob-ifgt) said : #1

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