yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #19850
Re: [Question #681180]: How to impose an initial angular velocity on a moving/free particle?
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.