ORIGINAL RESEARCH article

Front. Mech. Eng.

Sec. Fluid Mechanics

Volume 11 - 2025 | doi: 10.3389/fmech.2025.1522120

Machine learning technique for the identification of two-phase (oilwater) flow patterns through pipelines

Provisionally accepted
  • 1Industrial University of Santander, Bucaramanga, Colombia
  • 2University of São Paulo, São Carlos, São Carlos, São Paulo, Brazil

The final, formatted version of the article will be published soon.

Accurate prediction of flow patterns in oil-water two-phase flow within horizontal pipelines is essential for ensuring operational efficiency, integrity, and cost-effective design in the oil and gas industry. This study develops a robust machine learning model based on artificial neural networks to classify six flow patterns: stratified, stratified with mixture, slug, annular, oil-in-water dispersion, and water-in-oil dispersion. A comprehensive database comprising 1,846 experimental data points was assembled from the literature, encompassing a wide range of operating conditions, including fluid properties, superficial velocities, and pipe diameters. After evaluating 104 network configurations, the optimal model achieved an overall accuracy of 95.4%, with training, validation, and testing accuracies of 97.1%, 92.8%, and 90.3%, respectively, and a cross-entropy error of 0.024. The model demonstrates rapid convergence with a training time of only two seconds, offering a reliable and computationally efficient tool for flow pattern recognition. The outcomes of this study provide significant value for improving pipeline design, optimizing flow assurance strategies, enhancing corrosion control, and supporting real-time operational decision-making in multiphase transport systems in the oil and gas sector.

Keywords: artificial neural network, Flow pattern recognition, machine learning, Two-phase flow, Fluid transport

Received: 03 Nov 2024; Accepted: 20 Jun 2025.

Copyright: © 2025 Uribe-Tarazona, Ruiz-Diaz and González-Estrada. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Octavio Andrés González-Estrada, Industrial University of Santander, Bucaramanga, Colombia

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.