In order to improve the accuracy and efficiency of flow pattern recognition and to solve the problem of the real-time monitoring of flow patterns, which is difficult to achieve with traditional visual recognition methods, this study introduced a flow pattern recognition method based on a convolutional neural network (CNN), which can recognize the flow pattern under different pressure and flow conditions. Firstly, the complex gas–liquid distribution and its velocity field in the annulus were investigated using a computational fluid dynamics (CFDs) simulation, and the gas–liquid distribution and velocity vectors in the annulus were obtained to clarify the complexity of the flow patterns in the annulus. Subsequently, a sequence model containing three convolutional layers and two fully connected layers was developed, which employed a CNN architecture, and the model was compiled using the Adam optimizer and the sparse classification cross entropy as a loss function. A total of 450 images of different flow patterns were utilized for training, and the trained model recognized slug and annular flows with probabilities of 0.93 and 0.99, respectively, confirming the high accuracy of the model in recognizing annulus flow patterns, and providing an effective method for flow pattern recognition.
Read full abstract