← Back to team overview

yade-users team mailing list archive

Re: [Question #187779]: Particlles Packing Periodic boundary PSD

 

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

Christian Jakob posted a new comment:
> Can I use makecloud with certain PSD and then use triaxial test to
creat packing with overlaps?

Try this in your script:

x_cl = 0		#lower x coordinate in front
y_cl = 0		#lower y coordinate in front
z_cl = 0   		#lower z coordinate in front
x_cu = 0.0025	#upper x coordinate in back
y_cu = 0.005	#upper y coordinate in back
z_cu = 0.01		#upper z coordinate in back

#SET GRAIN DISTRIBUTION:
#diameter at the borders of the classes from lowest to highest in [m]:
dia = [0.000063, 0.00009, 0.000125, 0.00018, 0.00025, 0.000355, 0.0005, 0.00071, 0.001, 0.002]

#one-hundredth of volume-percent of classes out of sieve analysis:
phi = [0.,0.0004, 0.005, 0.0284, 0.1751, 0.6408, 0.9294, 0.9935, 0.9999, 1.0]

sp=pack.SpherePack();
sp.makeCloud((x_cl,y_cl,z_cl),(x_cu,y_cu,z_cu),psdSizes=dia,psdCumm=phi,distributeMass=True,porosity=0.42,num=6500)
O.bodies.append([utils.sphere(center,rad,material=SphereMat) for center,rad in sp])

hope it helps ;)

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