← Back to team overview

yade-users team mailing list archive

Re: [Question #701934]: How do I keep the particles still?

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

> state.blockedDOFs='zxy'

this blocks degrees of freedom from being influenced by interactions.
But, it still allows to set velocity and has no influence on current velocity.
So the result is that the current velocity is preserved (it is not influenced by interactions any more).

To immobilize a particle, set zero velocity and angular velocity
b.state.vel = (0,0,0)
b.state.angVel = (0,0,0)

You can use predefined function
calm() # [1]
to immobilize all particles

Cheers
Jan

[1]  https://yade-dem.org/doc/yade.utils.html#yade._utils.calm

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