Which kind of default distribution in makeCloud

Asked by Leonard

Hello,

When I use makeCloud such as:

# sp.makeCloud(mn,mx,-1,0.3333,num_spheres,True, 0.95,seed=1)

I wonder which kind of distribution of the particle size is in the range ((1-rRelFuzz)*rMean, (1+rRelFuzz)*rMean). Even distribution or normal distribution, or something else? I checked in [1] but I didn't find an answer.

[1]https://github.com/yade/trunk/blob/master/examples/agglomerate/makeCloud.py

Best regards,
Leonard

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Stránský (honzik) said :
#1
Revision history for this message
Leonard (z2521899293) said :
#2

Thanks Jan Stránský, that solved my question.

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#3

For the record: the random generator is using a boost filter and therefore changing to a different distribution could be done simply by selecting another filter here[1].
OTOH it is not strictly needed since the function also accepts a discrete distribution function.
Bruno

[1] https://gitlab.com/yade-dev/trunk/blob/d50f2eb069b628868506d3e680a5bca877495fb4/pkg/dem/SpherePack.cpp#L126

Revision history for this message
Robert Caulk (rcaulk) said :
#4

For completeness, the doc contains a good description of how most yade functions work [1].

[1]https://yade-dem.org/doc/yade.pack.html#yade._packSpheres.SpherePack.makeCloud

Revision history for this message
Jérôme Duriez (jduriez) said :
#5

Also note that referring to github as in your initial post is no longer relevant to understand current Yade.
Yade development is now reflected on gitlab.com