← Back to team overview

yade-users team mailing list archive

[Question #691212]: Initial velocity for particles in pack

 

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

Hi.
I tried to generate a pack of particles by using:

"pred=pack.inCylinder((0,-0.2,0),(0,0.2,0),0.0486)
spheres=pack.randomDensePack(pred,spheresInCell=1000,radius=.006,rRelFuzz=.015,color=(0,0,1),material='Par')
O.bodies.append(spheres)"

Now I would like to add initial velocities for particles inside this pack. How can I do that?
FYI, I'm using both Yadedaily and Yade 2018.02b. My OS is Ubuntu 18.04. The python version is 2.7.
Thanks! 

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