yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #01533
Re: Simulation model
> I'm sorry, I have played with different syntax, but still problems
> with adding velocity to these particles.
> How can I Add, for example, velocity?
>
> temp_vel = {'velocity': [0,-1,0]}
> O.bodies.append(utils.regularSphereOrthoPack([0,0,4],extents=2,radius=.1,gap=.1,color=(0,1,0)))
Dont look for complexities where there are none ;-)
O.bodies.append(utils.regularSphereOrthoPack([0,0,4],extents=2,radius=.1,gap=.1,color=(0,1,0),velocity=[0,-1,0])
Follow ups
References