Re: [Yade-users] [Question #683102]: how to calculate rotational energy of particle

2019-08-21 Thread Jan Stránský
Question #683102 on Yade changed: https://answers.launchpad.net/yade/+question/683102 Status: Open => Answered Jan Stránský proposed the following answer: b.state.ori.toRotationMatrix() hint: b = sphere((0,0,0),1) help(b.state.ori) cheers Jan -- You received this question notification

Re: [Yade-users] [Question #683102]: how to calculate rotational energy of particle

2019-08-20 Thread lip
Question #683102 on Yade changed: https://answers.launchpad.net/yade/+question/683102 Status: Answered => Open lip is still having a problem: dear Jan: thanks for your answer. i noticed that the code below might solve my problem: if(b->isAspherical()){

Re: [Yade-users] [Question #683102]: how to calculate rotational energy of particle

2019-08-20 Thread Jan Stránský
Question #683102 on Yade changed: https://answers.launchpad.net/yade/+question/683102 Status: Open => Answered Jan Stránský proposed the following answer: > which will make the function yade._utils.kineticEnergy() become useless to me I would not be that strict. Even I dare to say that the

Re: [Yade-users] [Question #683102]: how to calculate rotational energy of particle

2019-08-20 Thread lip
Question #683102 on Yade changed: https://answers.launchpad.net/yade/+question/683102 lip gave more information on the question: by the way, i know that function yade._utils.kineticEnergy() can be used to calculate the total kinetic neergy of all particles, but i want to calculate the kinetic

[Yade-users] [Question #683102]: how to calculate rotational energy of particle

2019-08-20 Thread lip
New question #683102 on Yade: https://answers.launchpad.net/yade/+question/683102 hello i am simulating a particle column collapse, the particle system is consist of sphere and polyhedra, and i want calculate the energy loss caused by friction and the kinetic energy, so i need to know