Using the fix/move command to make a wall wave

Dear All users,

What shall I do if I want to make a wall move like a sine wave? Here is a part of my program:

variable amplitude equal 5.0
variable period equal 10.0
variable dx equal vdisplace(0.0,4.0)
variable dy atom v_amplitudesin(2PI/v_periodstepdt+2PIx/(100*xlat))
fix 1 wall move variable v_dx v_dy NULL NULL NULL NULL

I want to make the overall wall oscillate look like a sine wave by the fix/move command, through setting different initial phase angle for the atoms according to their X coordinate . Unfortunately,the lammps stop working.

Unfortunately,the lammps stop working.

you’ll have to provide more details than that.