Biaxial rotation - updating axis

Submitted by fiume97 on Fri, 12/16/2022 - 10:07

Hello forum,

I would like to simulate a cylinder with biaxial rotation motion. Cylinder should rotate around let's say Z axis and additionally rotate around center of mass around Y axis.

fix Motion1 all move/mesh mesh cylinder rotate/variable origin 0 0 0 axis 0 0 1 omega v_omega1
fix Motion2 all move/mesh mesh cylinder rotate/variable origin 0 0 0 axis 0 1 0 omega v_omega2

As stated in the documentation second motion should follow the superposition rule. It seems that with two rotation motions axis of the second movement is not updated.

I have tried to make that work with chaning source code but when changing the axis values to variables only the first variable axis_[0] is considered a variable, other ones are ignored for some reason.

Does anyone have any recommendations or inputs for changing the source code to make this work?

Best regards!