← Back to team overview

yade-users team mailing list archive

[Question #701764]: Use flipCell in periodic simulations

 

New question #701764 on Yade:
https://answers.launchpad.net/yade/+question/701764

Hello,

I'd like to use the flipCell function to avoid the RuntimeError "Body larger than half of the cell size encountered" during some periodic simulations.

According to the documentation [1], when calling this function one should also reset the Interaction.cellDist of boundary particles and re-initialise the collider. However, in an example in the source code [2], flipCell is called without any additional operation.

Has flipCell been improved since its documentation was redacted so one don't have to mind Interaction.cellDist and the collider ? Is it safe to use it as in [2] ?

Thanks in advance,

Sacha


[1]: https://yade-dem.org/doc/yade.utils.html#yade._utils.flipCell
[2]: https://gitlab.com/yade-dev/trunk/-/blob/277c4f0c4a94dd1df423e8d499e56a457d356ea0/examples/PeriodicBoundaries/cellFlipping.py

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