Problem creating clumps with existing spheres
Hi everyone!
I'm trying to model concrete with clumps . I make a very simple test for creating clumps with existing spheres but it does not work. I get the error "IndexError: Body already has id 0 set; appending such body (for the second time) is not allowed.". The script is as follows:
from yade import pack,export,
#define material for all bodies:
id_Mat=
Mat=O.materials
O.bodies.
O.bodies.
O.bodies.
O.bodies.
listOfClumpMembers = []
for b in O.bodies:
tpos=b.state.pos
if tpos[0]<0.1:
listOfClump
O.bodies.
I have checked the related answers but I still cannot solve this problem.
Thanks in advance!!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Meng Qing Xiang
- Solved:
- Last query:
- Last reply: