change a variable through run
hi,
if I use the command
variable zero equal 0
variable an equal -0.1
fix movement all move/mesh mesh mole linear/variable v_zero v_zero v_an
run 10000
and try to change now the vertical velocity to
variable an equal -10
the velocity to the mesh is set positiv doesnt mind if I set it to 10 or -10.
To test it just create a mesh and do
variable zero equal 0
variable an equal -0.1
fix movement all move/mesh mesh mole linear/variable v_zero v_zero v_an
run 10000
variable an equal -10
Forums:
- Read more about change a variable through run
- 4 comments
- Log in or register to post comments