← Back to team overview

yade-users team mailing list archive

[Question #404417]: Generate a specific number of spheres in the empty spaces of a created loose pack

 

New question #404417 on Yade:
https://answers.launchpad.net/yade/+question/404417

Hello,

I need to generate a specific number of small particles inside the empty spaces of a created loose pack with bigger spheres. The geometry of the loose pack was created in a separated file and it is loaded at the begging.

O.load('pip0.yade') 

sp = pack.SpherePack()
sp.makeCloud((0,0,0),(0.01,0.01,0.01),rMean=.0001,num=100)
sp.toSimulation()   

The problem is that small spheres are generated over existing particles and it results in a kinda explosion while there is enough empty space to embed new particles.  I was wondering if you could help me to solve this problem.

Regards,
Amir



    

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