← Back to team overview

yade-users team mailing list archive

Re: [Question #699030]: How to set the particle size when generating particles

 

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

    Status: Needs information => Open

黎犴dada gave more information on the question:
Thank you for your answer.This is my particle generation code.

#psdSizes,psdCumm=[.003,0.0035,0.004,0.0045,0.005,0.0055,0.006,0.0065,0.007,0.0075,0.008,0.0085,0.009],[0.,0.003,0.025,0.081,0.182,0.325,0.493,0.660,0.8,0.890,0.957,0.984,1.]
#pylab.plot(psdSizes,psdCumm,label='precribed PSD')
sp.makeCloud(Vector3(0,0,0.0),Vector3(1.5,1.5,1.5) ,-1,0.33,N_particles,False, 0.75)
#pylab.plot(*sp.psd(bins=30,mass=True),label='PSD of (free) %d random spheres'%len(sp))

I want to use my existing particle sizing to generate particles. I don't
know how to modify my code.

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