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

Jan Stránský proposed the following answer:
Hello,

> ## using: "b.state.angMom" - This could work, but how can I get a specific 
> magnitude of velocity?
> #O.bodies[0].state.angMom=Vector3(b.state.inertia[0]*angVelVector[0],1,1)

have a look at the code how angVel is computed form angMom [1]. After a
quick glance, I am not sure if there is an easy inverse of the
function..

If there is not, you can state is as an inverse problem ("what andMom is
neede to get this angVel") and solve it using some kind of optimization,
or at least "brutal force" should work.

cheers
Jan

-- 
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