Question #677362 on Yade changed:
https://answers.launchpad.net/yade/+question/677362
Robert Caulk proposed the following answer:
>>I tried randomDensePack for a cylinder but it only give a porosity of
about .65 while I need porosity~.2-.3
randomDensePack is not currently capable of returning a packing with a
desired porosity.
>>Can you please help with that.
Following the method shown in [1], your code might want to look
something like this:
## porosity reached above##
pred =pack.inCylinder((.05,.05,.05),(.15,.15,.2),.02)
sp=SpherePack()
sp.fromSimulation()
O.switchScene()
spFiltered =
filterSpherePack(pred,sp,material=material,returnSpherePack=returnSpherePack)
spFiltered.toSimulation()
export.textExt('name.spheres','x_y_z_r')
[1]https://yade-dem.org/doc/_modules/yade/pack.html#randomDensePack
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp