← Back to team overview

yade-users team mailing list archive

Re: [Question #695791]: problem on gravity deposition in 2D by blockedDOFs


Question #695791 on Yade changed:

    Status: Open => Answered

Karol Brzezinski proposed the following answer:

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

After you run it, the rest should become clear.


You received this question notification because your team yade-users is
an answer contact for Yade.