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

    Status: Answered => Open

kelaogui is still having a problem:
Thanks, Bruno Chareyre.

What I mean is to integrate the angVel*dt step by step in global
coordinates. In python script, just like

/*******************************************************************/
......
O.engines = [ 
                         ......
                         
PyRunner(command='Rotation()',iterPeriod=1,label='roll'),
                        ......
                      ]

def Rotation():
   global rotation_angle
   k=0
   for i in O.bodies:
       if isinstance(i.shape,Clump):
           for j in range[0,3]
              rotation_angle[k][j]+=i.state.angVel[j]*O.dt          #it's a 2D 
case
           k=k+1
......
/******************************************************************/

But computation is quite slow.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to