Hello Ying,
The DOF parameter is set to 1 on your *BOUNDARY_PRESCRIBED_MOTION_RIGID_LOCAL card and so the motion is in the X direction. You don't need VID in this case.
What is the problem exactly? What do you mean by "I can not get the correct motion"?
Reno.