Given the importance of process control in the petrochemical industry, there is a need to determine the behavior of the fluids inside the pipes. In this work a methodology is developed for the identification of flow patterns in vertical pipes with diameters between 0.01 m and 0.10 m, from the implementation of artificial intelligence techniques, for a liquid combination of two phases composed of oil with viscosity in the range of 792 Kg/m3 to 1823 Kg/m3 and water at room temperature. The predictive models generated in the structuring of the methodology were trained with 70% of data based on viscosity parameters, pipe diameter, volume fraction and surface velocities of the working fluids stored in a database. The remaining information, equivalent to 30% of the total, was used to develop the automatic model validation. The flow patterns identified by the intelligent system for oil and water flow, without considering the predominant substance, are churning, dispersed, very fine dispersion, transition flow, intermittent, and annular