yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #05790
[Question #192152]: particleSD2 spheres simulation problem
New question #192152 on Yade:
https://answers.launchpad.net/yade/+question/192152
Hi,
I'm trying to fill a cylinder with a given psd. Does anyone know why I get the message:
AttributeError: 'NoneType' object has no attribute 'hSize'
when I run the following code?
from yade import pack
psdSizes,psdCumm=[.00475,.0095,.0191,.0254],[7.3,25.8,88.3,100]
pred=pack.inCylinder(centerBottom=(0,0,-.237),centerTop=(0,0,.237),radius=.25)
O.bodies.append(utils.geom.facetCylinder(center=(0,0,0),radius=.25,height=.474,wallMask=31))
sp0=pack.SpherePack()
sp0.particleSD2(radii=psdSizes,passing=psdCumm,periodic=True,numSph=1000)
sp0.toSimulation()
Thanks in advance.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.