Hej guys.
I need to use the "move/mesh mesh cad rotate/variable" command because I can spezifiy angular velocity.
My problem:
A)
variable omega equal 2
fix bewegung all move/mesh mesh cad rotate/variable origin 0 0 0 axis 0 1 0 omega ${omega}
B)
variable omega equal 2
fix bewegung all move/mesh mesh cad rotate/variable origin 0 0 0 axis 0 1 0 omega omega
C)
fix bewegung all move/mesh mesh cad rotate/variable origin 0 0 0 axis 0 1 0 omega 2
A-C creats the ERROR: Variable name 1 for fix move/mesh rotate dynamic does not exist (..\mesh_
mover.cpp:343)
Whats my mistake?
regards
bhansmann
richti83 | Mon, 12/09/2013 - 13:47
You need an equal style variable as input Parameter
The convention is v_NAME
you need to write:
variable omega equal 2*Pi*step*dt
fix bewegung all move/mesh mesh cad rotate/variable origin 0 0 0 axis 0 1 0 omega v_omega
to make the movement time-depend
or set omega from outside via -var omaga 0.5 commandlineswitch in your case ;-).
Best,
Christian.