Hi, All
I want to use the command 'fix move/mesh mesh linear/variable' to compress a sand pack.
What I've done is:
variable yl equal -0.5*v_dy
fix moveleft all move/mesh mesh left wall linear linear/variable 0. ${yl} 0.
I've also tried using v_yl instead of ${yl}.
However the error says: variable name 1 for fix move/mesh linear/variable does not exist.
Appreciate any help!!
richti83 | Mon, 02/23/2015 - 18:46
0 is not a valid variable name
by design move/mesh ~/variable assumes that all input variables are variable-names.
try:
variable v0 equal 0
variable yl equal -0.5*v_dy
fix moveleft all move/mesh mesh left wall linear linear/variable v_v0 v_vl v_v0