yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13399
Re: [Question #397321]: particle compaction in cylinder with different sizes
Question #397321 on Yade changed:
https://answers.launchpad.net/yade/+question/397321
Status: Open => Answered
Jérôme Duriez proposed the following answer:
I do not have any built-in command in mind, but it should not be too
difficult "manually", again.
See for instance:
for b in O.bodies:
if distanceBetweenBodyCenterAndCylinderAxis > cylinderRadius
O.bodies.erase(b)
It's up to you to define and compute
"distanceBetweenBodyCenterAndCylinderAxis" ;-)
--
You received this question notification because your team yade-users is
an answer contact for Yade.