Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> (1) how to calculate the relative rotation angle of a sphere between
two states?
see [1]:
###
relOri = state1.ori.conjugate()*state2.ori
axis,angle = relOri.toAxisAngle()
###
Works only for "small rotations".
There is a possibility, that the particle may be "rolled" and the "rolled" 2*pi
rounds are not counted (orientation is equal).
See [1] and links therein for possible solutions.
> (2) how to write these information into VTK so that it can be
visualised in paraview?
use VTKExporter [2]
Cheers
Jan
[1] https://answers.launchpad.net/yade/+question/692057
[2] https://yade-dem.org/doc/yade.export.html#yade.export.VTKExporter
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp