Gate valve is a widely used valve in pipelines, which has flexible operation, fast opening speed, and small opening torque. It is mainly used to cut off and control fluid. This article uses the computational fluid dynamics software Flow Simulation to numerically simulate the internal flow field of a three-dimensional digital model of a gate valve. Through internal visualization processing, the pressure field, velocity field, and velocity trace field distribution of the gate valve under ten different openings are obtained. By comparing and analyzing the flow field distribution characteristics under different openings, the flow characteristics and distribution rules of the fluid medium inside the gate valve are understood. Especially at smaller openings, high-speed and low-pressure phenomena occur in the local area of the valve, causing fluid to generate vortices and leading to more turbulent flow fields. Through computational fluid dynamics analysis of gate valves, the understanding of valve structure design optimization by designers has been improved, and the accuracy of valve operation by on-site operators has been improved. This has practical guidance significance for valve design, manufacturing, and operation.