← Back to team overview

yade-users team mailing list archive

Re: [Question #223448]: Number of spheres is not true in particleSD method?

 

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

    Status: Open => Answered

Christian Jakob proposed the following answer:
Hi,

I checked out your script. It is not a bug. There are just very less informations given in documentation about particleSD [1].
The problem is rMean in this line of your script:
sp.particleSD(mn,mx,0.00575,False,'triaxial_test',10000,psdSizes,psdCumm,False,seed=1)

If you do not have a uniform distribution rMean is not 0.00575 !

possible workarounds:
- use makeCloud instead of particleSD or
- try to calculate/estimate rMean for particleSD or
- decrease rMean value until you get your specified number of particles (try&error)

[1] https://yade-
dem.org/doc/yade.pack.html?highlight=particlesd#yade._packSpheres.SpherePack.particleSD

Regards,

Christian

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.