← Back to team overview

yade-users team mailing list archive

Re: [Question #698984]: How do I keep a circle of particles around a circle motionless?


Question #698984 on Yade changed:

    Status: Open => Answered

Jan Stránský proposed the following answer:

please read [1].

Next time, try to make the question standalone. If it is related to another question, please at least reference it, e.g. here it is [2].
The questions and answers are there also for others, who may search them in future and find their answers.
As such, the question "How do I keep a circle of particles around a circle motionless?" makes no sense.

To keep one particle "b" motionless, block all its degrees of freedom:
b.state.blockedDOFs = "xyzXYZ" # [3,4]

To select relevant particles, use similar code as proposed in [2]


[1] https://www.yade-dem.org/wiki/Howtoask
[2] https://answers.launchpad.net/yade/+question/698980
[3] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.State.blockedDOFs
[4] https://yade-dem.org/doc/user.html#motion-constraints

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