With the development of computer science, fluid simulation technology is used more and more in the research of the petroleum industry. In this study, the simulation software was used to simulate the oil-water two-phase flow. Based on the fluid simulation software ANSYS, we have simulated two-phase flow in horizontal wells and a small amount of two-phase flow in near-horizontal wells under the same experimental conditions. The geometric model and meshing tool established is ICEM CFD, and the tool used for mathematical calculation is FLUENT. Finally, the phase distribution of oil and water and the velocity distribution in the wellbore are obtained. In addition, we also compared the experimental results of the oil-water two-phase flow with good stratification and the simulation results, and discussed the consistency of the experimental results and the simulation results under different conditions. According to the comparison result, the experimental effect and simulation effect under small flow are consistent. Therefore, numerical simulation methods can be used when studying oil-water two-phase flow in horizontal wells with small flow rates.