yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07731
Re: [Question #230139]: clumps generating randomly in 2D simulation
Question #230139 on Yade changed:
https://answers.launchpad.net/yade/+question/230139
Status: Open => Answered
Christian Jakob proposed the following answer:
Sorry for this very late reply. I do not completely understand your
script. There are several mistakes in this section:
for b in O.bodies:
if isinstance(b.shape,Sphere):
if (abs(b.state.pos[0] - p) > radius):
O.bodies.append(sphere((p,q,0),radius=radius))
else:
continue
Did you get it fixed meanwhile?
Christian
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.