yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #18395
Re: [Question #676183]: About Clump's Velocity Initialization
Question #676183 on Yade changed:
https://answers.launchpad.net/yade/+question/676183
Status: Open => Answered
Jérôme Duriez proposed the following answer:
Hi,
I think you have two problems:
1. Your bodies (including the clump) are dynamic, ie they can not have
in general (unless they do not sustain any force/interaction) a constant
velocity, equal to the one you defined.
Then, the velocity you defined is only an initial velocity, and what
happens afterwards depends on interaction possibilities (there are some,
here), and kinetic energy might turn into interaction energy (velocity
may vanish)
See https://yade-dem.org/doc/user.html#motion-constraints
(this is not clump-specific)
2. In the specific case of clump, it seems you need to (logically ?) deal with dynamic and velocity attributes at the clump body level.
Hence, adding
O.bodies[clumpId].dynamic = False
and replacing
O.bodies[clumpId[1][0]].state.vel
with
O.bodies[clumpId].state.vel
should do what you want
Note that I'm not really a clump user, so better check yourself.
PS: note that in general, looking at the 3D view to know whether bodies move or not is generally misleading because displacements upon the DEM cycles get usually unnoticed to the eye. Better check bodies state.vel (which confirms the GUI impression here)
--
You received this question notification because your team yade-users is
an answer contact for Yade.