Not getting desired PSD generation
Hello All,
I am trying to generate cylindrical sphere packing according to a given PSD. First, I use the following script to generate sphere packing:
>
psdSizes,
fill_size=100
pred=pack.
sp=pack.
sp.makeCloud(
sp2 = pack.filterSphe
sp2.toSimulation()
>
Then after running the script, I check the % of spheres with radii less than 2.36 as follows:
>
yell=[]
for b in O.bodies:
if isinstance(
yell.
count=0
for j in range(len(yell)):
if yell[j]<2.36:
count=count+1
print (float(
>
Using latter method, I get my answer around 0.87 which should actually be around 0.347. Is there a mistake in my code or in the usage of makeCloud command? I am not able to figure out.
Thanks in advance!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Caulk
- Solved:
- Last query:
- Last reply: