New question #701934 on Yade:
https://answers.launchpad.net/yade/+question/701934

I needed to keep all the particles in the simulation still, so I used the 
following code:
def checkUnbalanced():
        if unbalancedForce() < .02:
                O.pause()
                for b in O.bodies:
                
                    if isinstance(b.shape,Sphere):
                        b.state.blockedDOFs='zxy'
checkUnbalanced() is a function I define.
But I found that the particles are not fixed, why is that? Is there any other 
code that keeps particles immobile?


-- 
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