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

Hi friends,

I have created a ´constructive solid geometry´ - a cylinder and packed it with 
spheres

from import yade pack
pred=pack.inCylinder(centerBottom= (0,0,-3),centerTop=(0,0,3),radius=.05)
spheres=pack.randomDensePacl(pred,spheresInCell=2000,radius=0.0025)
O.bodies.append(spheres)

Now I am trying to apply a force to this group of spheres:
the command I gave after reading the documentation:

O.forces.setPermF(0,(1,1,1))

(I am thinking of applying equal forces (1 N) from all directions)

Weirdly, it displays: 'ForceContainer' object has no attribute 'setPermF'

Could you suggest a way out?
 
thanks....

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to