yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #24323
Re: [Question #693847]: Unblocking blockedDOFs
Question #693847 on Yade changed:
https://answers.launchpad.net/yade/+question/693847
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> I have the following script:
please try to use a MWE [1], W = working ("self-contained", we copy-
paste it, run it and get your problem)
> How do I release (unblock) node#5?
what is node#5? O.bodies[5]?
to release a body, simply set its blocked DOFs to empty string
###
b = O.bodies[5] # or whatever other Body
b.state.blockedDOFs = "" # or any other combination
###
cheers
Jan
[1] https://www.yade-dem.org/wiki/Howtoask
--
You received this question notification because your team yade-users is
an answer contact for Yade.