yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #10251
Re: [Question #255437]: Periodic random packing of spheres in a cube
Question #255437 on Yade changed:
https://answers.launchpad.net/yade/+question/255437
Status: Open => Answered
Jérôme Duriez proposed the following answer:
Indeed this returned SpherePack is not directly used in your simulation.
But, once you're used to, it is not so difficult to do so, thanks to
"toSimulation() function (see https://yade-
dem.org/doc/yade.pack.html#yade._packSpheres.SpherePack.toSimulation)
Finally all may fit in one line:
pack.randomPeriPack(..........).toSimulation()
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.