← Back to team overview

yade-users team mailing list archive

Re: [Question #702665]: How to calculate the height of particle accumulation?

 

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

孙灿 posted a new comment:
For example:

O.bodies.append(geom.facetBox((0.05, 3, 4), (0.1, 3, 4), wallMask=63))
sp = pack.SpherePack()
sp.makeCloud(Vector3(0.05,0,0),Vector3(0.05,6,8), rMean=0.05, rRelFuzz=0)
sp.toSimulation()

(xmin,ymin,zmin),(xmax,ymax,zmax) = aabbDim() 
height = zmax-zmin
print("Height is ",height)

Is that okay? Is there something wrong with the code?

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.