← Back to team overview

yade-users team mailing list archive

Re: ball mill

 

Besides, I tried it by ‘torque=O.forces.t’ command in Yade, but it had some
> errors’ did  not match C++ signature: t(pyForceContainer {lvalue} , long
> id) ‘.
>
> Hi Morteza,
O.forces.t is a bound method object and in order to call it you need to
specify the id of the body you are interested in.
So if you type O.forces.t(1), it will return the torque applied on body 1.
I see the function in module yade.utils called sumTorques, I have not looked
at the file you are running but maybe it might be useful for your task.
cheers, Chiara

>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>
>

References