Hi Guys
I am trying to use the rotate/variable command as per the below implementation.
fix move2 all move/mesh mesh cad rotate/variable origin 0. 0. 0. axis 1. 0. 0. omega 1
I get the following error when trying to execute my code.
ERROR: Variable name 1 for fix move/mesh rotate/variable does not exist (../mesh_mover_rotation.cpp:174)
(../mesh_mover_rotation.cpp:174)
Can someone please assist with the issue at hand?
mschramm | Mon, 02/28/2022 - 21:08
Must use a variable
Hello,
If you use rotate/variable, omega must be a variable and not "1".
So you can use,
variable myOmega equal 1.0
fix move2 all move/mesh mesh cad rotate/variable origin 0. 0. 0. axis 1. 0. 0. omega v_myOmega