Question #695833 on Yade changed:
https://answers.launchpad.net/yade/+question/695833

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi,

I guess that when bodies are clumped you have to constrain the clump,
not the individual bodies. Your condition required material to be
Dolomite, however, only individual bodies has this property.

Try to change your loop starting in line 80 to:

for b in O.bodies:
    if b.isClump:
        b.state.blockedDOFs='zXY'
        b.state.angMom[2]=0
        b.state.angVel[2]=0
        b.state.vel[2]=0

Cheers,
Karol

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to