yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #18957
Re: [Question #678425]: kenetic Energy of particles
Question #678425 on Yade changed:
https://answers.launchpad.net/yade/+question/678425
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
sometimes the Python error messages are self-explanatory, like in this
case
> Ek = b. O.energy['kinetic']
should be
Ek = O.energy['kinetic'] # without b., b being Body instance
also have a look at kineticEnergy function [1]
cheers
Jan
[1] https://yade-
dev.gitlab.io/trunk/yade.utils.html#yade._utils.kineticEnergy
--
You received this question notification because your team yade-users is
an answer contact for Yade.