← Back to team overview

yade-users team mailing list archive

Re: [Question #681180]: How to impose an initial angular velocity on a moving/free particle?


Question #681180 on Yade changed:

Jan Stránský proposed the following answer:

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

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.


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