Skip to content

The fluctuation velocity for calculating the kinetic energy in the periodic case should be mentioned in the documentation

Hello, I calculated the kinetic energy according to the documentation on kineticEnergy() [1]: E=0.5mv^2+0.5Iw^2 and found the value is different from kineticEnergy() if we have set O.cell.velGrad. I asked a question in forum [2] and Jan pointed out it is the fluctuation velocity [3] instead of the regular velocity being used in this case. But the documentation on kineticEnergy() [1] has no information about the fluctuation velocity. I think we should give some information about the fluctuation velocity in the documention [1] in case others could have similar questions. Thank you!

[1] https://yade-dem.org/doc/yade.utils.html?highlight=kineticenergy#yade._utils.kineticEnergy

[2] https://answers.launchpad.net/yade/+question/698392

[3] https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/Shop_01.cpp#L193