yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #25083
Re: [Question #695791]: problem on gravity deposition in 2D by blockedDOFs
Question #695791 on Yade changed:
https://answers.launchpad.net/yade/+question/695791
Status: Open => Answered
Karol Brzezinski proposed the following answer:
Hi,
when the facet is created its all degrees of freedom are blocked. In
your loop, you constrained the spheres, but also freed the facets. So
they disappear in the first step. Change your example, like this:
for i in O.bodies:
if isinstance(i.shape,Sphere): #modify only Spheres' DOFs
i.state.blockedDOFs="yXZ"
After you run it, the rest should become clear.
Cheers,
Karol
--
You received this question notification because your team yade-users is
an answer contact for Yade.