← Back to team overview

yade-users team mailing list archive

Re: [Question #695833]: movment along z axis whiles blockedDOFs= zXY

 

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.