yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23306
Re: [Question #691277]: The movement of particles and their positions in Periodic cell
Question #691277 on Yade changed:
https://answers.launchpad.net/yade/+question/691277
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
particles are free to move arbitrarily, regardless dimension of the periodic cell.
Just for the contact detection phase (and Yade GUI display), the positions are **virtually** wrapped into the cell (+- one period).
If instead of true particle position you want the wrapped positions, use [1] and export O.cell.wrap(b.state.pos) instead of b.state.pos (or do it in the post-processing phase).
Both approaches (true and wrapped position) are reasonable and have their use cases.
cheers
Jan
[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Cell.wrap
--
You received this question notification because your team yade-users is
an answer contact for Yade.