yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #26641
Re: [Question #699462]: Fixed some particles in a periodic cell
Question #699462 on Yade changed:
https://answers.launchpad.net/yade/+question/699462
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
state.blockedDOFs blocks DOFs from the effect of forces. However, it
does not prevent position being changed by the periodic cell.
Use
O.cell.homoDeform=0 # [1]
However, this affects all the particles.
If affecting all particles with homoDeform is a problem, then the option
is to modify source code such that particles with blocked DOFs are not
subjected to the position change by the periodic cell.
Cheers
Jan
[1] https://yade-
dem.org/doc/yade.wrapper.html#yade.wrapper.Cell.homoDeform
--
You received this question notification because your team yade-users is
an answer contact for Yade.