The gate valve is a common equipment in a pipeline system for regulating pressure and flow control. The flow field within a pipeline will be disturbed as the gate opening is changed. This paper simulated and analyzed the characteristics of the disturbed flow field by applying the software Comsol Multiphysics which is based on the algorithm of finite element method. Several visual figures, made by numerical analysis working on the software platform, concisely demonstrated the complicated phenomena of water flowing through a gate valve. The visualization of these figures were helpful for students understanding the abstract concept of pipe flow.