Question #175606 on Yade changed: https://answers.launchpad.net/yade/+question/175606
Chiara Modenese proposed the following answer: On 2 November 2011 13:18, Chiara Modenese <c.moden...@gmail.com> wrote: > > > On 2 November 2011 12:50, Chareyre > <question175...@answers.launchpad.net>wrote: > >> Question #175606 on Yade changed: >> https://answers.launchpad.net/yade/+question/175606 >> >> Chareyre posted a new comment: >> Chiara, I was guessing this function was orphan since nobody was >> explaining its usage, but there is no reason to remove if it is used by >> someone (you). It is your decision. >> >> There are still things unclear that could maybe be fixed: >> - why mandatory name=""? >> > It should be removed (sorry). > >> - why must we give psd and meanRad at the same time? it is annoying >> because defining the latest is non-trivial >> > Because we need an estimate of the initial volume of solids (the latter > could be the unknown in fact). > >> - why your passing doesn't start at 0 and end at 100? >> > It is just an example. > >> - running your example script, I get 505 spheres, why not 390? >> > Precisely because we are initially just guessing the volume of solids by > the number of particles and the meanRadius. > In other words one has to try different initial numbers of particles to match the actual number (the number of grains you want). > >> I again improved makeCloud a bit in r2953. It is now very flexible: >> - 2D/3D >> - periodic or not >> - uniform or psd-based size distributions >> - distributions by mass or by number >> - target packing by meanRad OR by number, in arbitrary size of box. >> > Oh excellent! Then I will try your function and perhaps we can remove mine > which would be only redundant. > Chiara > >> >> -- >> You received this question notification because you are a member of >> yade-users, which is an answer contact for Yade. >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~yade-users >> Post to : yade-users@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~yade-users >> More help : https://help.launchpad.net/ListHelp >> > > -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp