← Back to team overview

yade-users team mailing list archive

Re: [Question #668062]: What does this warning mean when trying to create a randomDensePack?

 

Question #668062 on Yade changed:
https://answers.launchpad.net/yade/+question/668062

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

Upon calling randomDensePack() function, YADE searches (somewhere in
your computer) if you already made the same call (e.g. same attributes)
to this function.

If yes, YADE will just take the same packing, which will save time.

If not, YADE generates this warning and does the job behind
randomDensePack() function, ie generating a numerical packing through
isotropic compression of an initial gas-like set of particles, until
getting a solid-like set of particles.

Using the spheresInCell attributes means you're interested in periodic
boundaries conditions [1], hence randomDensePack will do this isotropic
compression under such conditions, hence the "running PERIODIC
compression part"

In the end, randomDensePack() is just a black box for a YADE simulation
you could obviously do manually yourself. But it's an open-source black
box, thus you can check all relevant parameters from randomDensePack()
code [2] if you're interested.


Jérôme


[1] https://yade-dem.org/doc/yade.pack.html?highlight=spheresincell#yade.pack.randomDensePack
[2] https://github.com/yade/trunk/blob/670694b60d31d914b36e725f2aaf758bf64b2ebd/py/pack/pack.py#L454

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