← Back to team overview

yade-users team mailing list archive

Re: [Question #681461]: Use of randomDensePack


Question #681461 on Yade changed:

    Status: Open => Answered

Jérôme Duriez proposed the following answer:

For generating samples with a controlled porosity, have a look at [1],
the "Reaching a specified porosity" section. The porosity values that
you will be able to attain may also depend on your particle size
distribution and of the fact that you're using spherical shapes...

As for randomDensePack, the doc meant the packing returned by randomDensePack is obtained through a hidden TriaxialTest simulation (the isotropic compression part of it, actually).
But this packing is free to use by the user for any kind of simulation, not only TriaxialTest simulations (some understanding of the stress state of that packing --- after the hidden TriaxialTest simulation --- would be useful, though).

In all cases, the fact remains randomDensePack is kind of a (open-source
! see [2]) black box, which may be useful or not depending on your
needs/understanding of that function.

[1] https://gitlab.com/yade-dev/trunk/blob/master/examples/triax-tutorial/script-session1.py, also on your computer.
[2] https://gitlab.com/yade-dev/trunk/blob/master/py/pack/pack.py#L464

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