I calculated the kinetic energy by E=0.5mv^2+0.5Iw^2 but it is not equal to kineticEnergy() when O.cell.velGrad is set
Dear YADE developers and users,
I am conducting a simulation where the energy results are important for the study. So I want to study how the kinetic energy is calculated in YADE. In the documentation it shows kinetic energy is calculated by E=0.5*m*
I am thinking why this happened? Why setting the value of O.cell.velGrad will make E=0.5*m*
My code for calculating the E=0.5*m*
kineE=0
for i in bodies_id:
I=O.bodies[
w2=numpy.
kineE=
Thank you very much!!
Yuxuan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Yuxuan Wen
- Solved:
- Last query:
- Last reply: