A new numerical method is developed to predict the movement of a valve induced by the flow-induced force and pressure field around a valve. It solves the governing equations of fluid dynamics coupled with the motion equation of the valve. We apply this method to predict the motion of a spool valve in a valve body of an automatic transmission. In addition, the effectiveness of design parameters is found to achieve the design goal that reduce the discharge flow rate and flow-induced force. Finally, the optimized design of valve with better performance is suggested.