Introduction

The oil-water mixture flow widely exists in oil exploitation and petrochemical industries. The single-phase flow and two-phase flow are very different and the intrinsic difference lies in the occurrence of flow pattern, which is defined by temporal-spatial configuration of the immiscible two phases in a pipe. The study of oil-water flow pattern is crucial for oil industrial processes, e.g., the artificial lift methods in oil wells and flow equipments design all depend on the flow patterns. Horizontal oil-water flow pattern presents stratified structural features at low flow rate; with the increase of flow rate, the structural features of stratified with interfacial waves occurs; At a high flow rate, flow pattern exhibits dispersed flow structure.

The investigation of experimental oil-water flows is a foundational issue of significant importance and it has drawn much attention from chemical engineering and physical research areas. The experimental observation1, numerical simulation2, support vector machine3, particle image velocimetry technique4, multivariate recurrence networks5, wavelet multiresolution technique6 and measurement techniques based on wire-mesh sensor7, optical probes8, high frequency impedance probe9 and parallel-wire capacitance probe10 have been implemented to the investigation of oil-water flows. Despite the existing results, how to reveal the complex oil-water flow structure from experimental signals still represents a significant challenge. Although the traditional single sensor measurement combined with the approaches for analyzing univariate signals, e.g., the conductance ring sensor combined with fractal analysis, have been successfully introduced into the investigation of gas-liquid flows11, these analytical frameworks are incapable of revealing the complicated local oil-water flow structures, mainly on account of the existence of physical foundational differences between these two distinct flow situations. Aiming to reveal the oil-water flow structure, we need to use distributed sensors to measure the information of local flow behavior from different positions. Next, how to access to flow structure from the multivariate signals appears as a key challenge. In this regard, developing an efficient approach to realize information fusion and then to uncover the horizontal oil-water flow structures would be particularly helpful and necessary.

Complex network has undergone a remarkable development in the last decade and it provides us a powerful framework for investigating complex systems from different disciplines12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30. Representing system components as nodes and regarding the interactions between nodes as edges allows us to infer a complex network from a complex system. For a real complex network, there often exist various community structures: within a community nodes are densely connected while between communities links are sparse. Community detection is of great importance for investigating the function and structure of complex networks. Different methods have been put forward for efficiently detecting network community31,32,33,34,35,36,37. Quite recently, the complex network theory has greatly contributed to the analysis of time series38,39,40,41,42,43,44,45, including the research area of climate46,47, gene48, brain network49, grain networks50, network topology estimation51, friction networks52, traffic flow53, turbulent heated jets54 and multiphase flow system55,56,57,58,59, etc. Bridging multivariate data analysis and complex network allows establishing a novel analytical framework for realizing multivariate information fusion.

We previously proposed a multivariate recurrence network to distinguish different horizontal oil-water flow patterns5 and study dynamical flow behavior underlying oil-water stratified flows57. The former network methodologies focus on the phase-space reconstruction and recurrence analysis. As a further study, we in this paper propose a novel approach to derive multi-frequency complex network from multivariate time series and then visualize and uncover the complex flow structure in terms of community structure at different frequencies. In particular, we conduct experiments and use our newly designed distributed conductance sensor to measure local flow signals at different positions for each flow pattern. Then, we derive multi-frequency complex networks from multivariate measurements and detect network communities at different frequencies. The results suggest that the networks community structures faithfully represent the structural features of different oil-water flow patterns. Our analytical framework can be treated as a network visualization of complex flow structures from a community structure perspective. In order to quantitatively assess the characteristics underlying community structures, we investigate the network statistic at different frequencies and find that the frequency clustering coefficient allows us to uncover the formation and evolution of different oil-water flow structures.

Results

Experimental design and data acquisition

The experiment was carried out in the key laboratory of multiphase flow at Tianjin University. Figure 1 shows experimental flow loop facility and our newly designed distributed conductance sensor. The inner-diameter of the horizontal pipe is 20 mm and the media are oil and tap water. The experimental environment temperature and pressure is 25 degrees Celsius and atmospheric pressure, respectively. We first input oil and water mixture into a horizontal pipe at a fixed water flow rate, then gradually change oil flow rate. A flow condition can be obtained each time when the flow rates of oil and water attain a pre-defined ratio and then we acquire the multivariate signals from our designed distributed conductance sensor. The water flow rate and oil flow rate can be accurately measured by using electromagnetic flow meter and turbine flow meter, respectively. The sampling frequency is 4000 Hz and the measuring time for one measurement is 30 s. We in the experiment generate five typical horizontal oil-water flow structures (flow patterns), as shown in Fig. 2, including ST (stratified flow), ST&MI (stratified flow with mixing at an interface), D O/W&W (dispersion of oil in water & water flow), D W/O& D O/W (dispersion of water in oil & dispersion of oil in water flow), D O/W (dispersion of oil in water flow). The range of Reynold number is 300 ~ 6000. The multivariate signals measured from our distributed sensors consist of four time series, each of which is obtained with a sector sensor that is placed at different positions of the horizontal pipe so as to effectively capture the local flow information.

Figure 1
figure 1

Experimental flow loop facility.

The multivariate signals are measured from the distributed conductance sensor. The high speed camera and mini-conductance probes are exploited to define oil-water flow patterns and flow structures.

Figure 2
figure 2

Five types of horizontal oil-water flow patterns.

(a) Stratified flow (ST); (b) Stratified flow with mixing at an interface (ST&MI); (c) Dispersion of oil in water and water flow (D O/W&W); (d) Dispersion of water in oil and oil in water flow (D W/O& D O/W); (e) Dispersion of oil in water flow (D O/W).

Network visualization of flow patterns in terms of community structure

Complex networks usually can be divided into communities with a large number of internal connections, interconnected by fewer external edges. The information mined from the detected community structures is of great values, e.g., the community structure of brain network allows revealing the functional connectivity and interaction underlying the complex brain system. Based on the experimental multivariate signals, we use our proposed framework to infer numbers of multi-frequency complex networks for different flow conditions. Then we employ a fast multi-scale community detection algorithm37 to detect the network communities associated with flow structures at different frequencies. In particular, after inferring networks for the frequency band 0 ~ 30 Hz, we detect the community structures at different frequencies for different flow patterns and find that the modularity of ST, ST&MI, D O/W&W, D W/O& D O/W and D O/W reaches a stable maximum at the frequency band of 0 ~ 20 Hz, 0 ~ 20 Hz, 5 ~ 25 Hz, 5 ~ 25 Hz, 10 ~ 30 Hz, respectively. This result can be well supported by the existing knowledge about the local movement frequencies of different flow patterns. We show the detected network structures of the maximum modularity for different flow patterns in Fig. 3.

Figure 3
figure 3

Community structures of the multi-frequency complex networks for five horizontal oil-water flow patterns.

(a) ST; (b) ST&MI; (c) D O/W&W; (d) D W/O& D O/W; (e) D O/W. The networks from different flow patterns exhibit distinct community structures and the community structures faithfully represent the structural features of different flow patterns.

For the ST flow structure, oil phase and water phase continuously flow in the upper part and bottom part of the horizontal pipe, respectively. There exists an oil-water interface without the occurrence of droplets, as shown in Fig. 2(a). Correspondingly, the network community structure of ST flow is composed of three communities, as shown in Fig. 3(a). With an increase in oil flow rate under an unchanged water flow rate, large amplitude fluctuations appear and then gradually increase at oil-water interface (Fig. 2(b)) and correspondingly, liquid droplets of different size occur near the oil-water interface and the thickness of oil layer becomes thicker, reflecting the flow structure of the ST&MI flow pattern. Consequently, the network community structure of ST&MI flow consists of a very big community and a small community, which is different to that of ST flow pattern, as can be seen in Fig. 3(b). For the segregated flows (ST, ST&MI), the separated community that is represented by yellow triangle results from the bottom local flow structure of water continuous flow, as shown in Fig. 3(a)–(b). D O/W&W flow structure (Fig. 2(c)) presents the features of oil droplets dispersedly flowing in a water continuum in the upper and middle part and a continuous water layer flowing in the bottom part. Correspondingly, there exist four network communities underlying D O/W&W flow structure, as can be seen from Fig. 3(c), wherein the separated one corresponds to the water layer and the other three result from the flow behavior of dispersed oil droplets. With the increase of the oil flow rate, oil droplets disperse into water continuous phase in the bottom part and the flow structure in upper part evolves into oil containing dispersed water droplets and flow structure in the middle part is the stochastic movements of numerous dispersed water and oil droplets, i.e., the D W/O&D O/W flow pattern occurs (Fig. 2(d)). Since the flow structure becomes more complicated in the transformation from D O/W&W flow to D W/O&D O/W flow, the community structure of the D W/O&D O/W flow becomes more complex than that of D O/W&W flow, as can be seen from Fig. 3(d) and there are four communities and there does not exist such a separated community shown in Fig. 3(c). The flow structure will evolve into D O/W at a high water flow rate (Fig. 2(e)), in which dispersed oil droplets randomly flowing in water continuum for the whole horizontal pipe, consequently, the dynamic flow behavior and flow structure become very complicated. We can see from Fig. 3(e) that, the community structure of the D O/W flow is similar to that of D W/O&D O/W flow, but there exist five communities, i.e., number of community is more than that of D W/O&D O/W flow. Therefore, based on the multivariate signals from distributed conductance sensor, the community structures of multi-frequency complex networks allow us to recognize different flow patterns and further pave a way for realizing network visualization of complex flow structures. In the next section, we will use a network statistic to quantitatively uncover the flow behavior which accounts for the evolution of flow patterns and formation of flow structures.

Dynamical characterization of flow pattern transitions

Our methodology allows mapping multivariate signals acquired from our distributed sensors into a multi-frequency complex network in the frequency range of 0 ~ 30 Hz. We derive multi-frequency complex networks from experimental measurements for different flow patterns. Then we exploit the network frequency clustering coefficient to quantitatively assess the characteristics of each derived network. The clustering coefficient proposed by Watts et al.60 measures denseness of connections among the neighbors of a given node, which allows us to access to the local topological connections underlying a complex network. In particular, for our multi-frequency complex network, a clustering coefficient of a node v at frequency f, i.e., Cv(f), can be calculated as follows:

where Ev(f) is the number of closed triangles containing node v at frequency f and kv(f) is the degree of the node v at frequency f, which is defined as the number of connections to node v at frequency f. The frequency clustering coefficient for the network at frequency f can then be obtained by

where N is the total number of nodes. In our multi-frequency complex network analysis, we focus on the frequency bands within which the modularity is larger than 0.1 and then calculate the frequency clustering coefficients C(f) at these frequency bands and correspondingly calculate the mean value and standard deviation of C(f) for different frequencies (for one flow condition). We in Fig. 4 present mean values <C(f)> and standard deviations (error bars) of C(f)for different flow conditions arising from five different flow structures.

Figure 4
figure 4

Distributions of frequency clustering coefficients and number of communities for the transitions of different horizontal oil-water flow patterns.

The square symbols represent the distributions of frequency clustering coefficients and the circular symbols represent the number of communities for different flow patterns.

The ST flow and ST&MI flow are sorted into segregated flow, in which the oil phase and water phase locate in the upper and bottom part, respectively and the two phases are separated. As can be seen, the frequency clustering coefficients for ST flow and ST&MI flow locate in two different regions. A characteristic change of <C(f)> occurs when the flow structure evolves from ST type to ST&MI type. ST flow structure occurs at low water and low oil flow rates and under these flow conditions the momentum instabilities remain minimal and the gravity plays a dominated role. So the ST flow structure is usually steady and its interfacial wave behavior is not obvious. With an increase in oil flow rate under an unchanged water flow rate, the relative movement between water phase and oil phase increases, which contribute to the appearance and growth of interfacial waves. This is an onset of ST&MI flow structure, in which drag force enhanced by the increased relative movements overcomes the surface tension force, resulting in the deformation of oil-water interfacial wave and formation of liquid droplets. In particular, in ST&MI flow, the hydrodynamics forces the liquid drops to distribute on pipe cross-section, while meantime the buoyancy reacts on the drops to resist the downtrend caused by gravity. By further increasing the flow rate, the interfacial wave propagation is greatly strengthened and eventually leads to the formation of more liquid drops at oil-water interface. From Fig. 4(a) we can see that, <C(f)> for ST flow are of small values, but with the increase of oil flow rate, e.g., Uso = 0.2947 m/s, the <C(f)> will increase from 0.773 to 0.886, indicating interfacial wave behavior becomes enhanced and unstable and at the meantime the liquid droplets are formed at the interface.

Besides the ST and ST&MI flow, the other three flows are classified into dispersed flows. The typical features of dispersed flows lie in the existence of one dispersed phase. D O/W&W flow structure appears at high water flow rates and middle oil flow rates. As the oil flow rate further increases, the density of oil phase increases and the turbulence energy of the mixture flow also increases. Consequently, in the upper part the local flow structure evolves from oil in water form to water in oil form and local flow structure in the bottom part is numerous dispersed oil droplets flowing in water continuum, indicating the occurrence of D W/O&D O/W flow structure. In D W/O&D O/W flow structure, the dispersed water/oil droplets randomly flow in the continuous oil/water phase in the upper/bottom part of the horizontal pipe. Correspondingly, as can be seen from Fig. 4(b), the values of <C(f)> for D O/W&W flow structure are relative large (but smaller than that of ST flow structure and ST&MI flow structure) and it decreases in the transition to D W/O&D O/W flow structure, indicating the stochastic flow of plenty of oil drops induced by the increase of oil flow rate. When the water flow rate is very high, the D O/W flow pattern occurs, in which the cross-sectional area of the pipe is occupied by water containing dispersed oil droplets. The dynamic behaviors underlying the motions of massive dispersed oil droplets are rather stochastic. Correspondingly, the <C(f)> for D O/W flow structure is rather small (Fig. 4(c)), which is similar to that of D W/O&D O/W flow but different to other flow patterns. Therefore, the frequency clustering coefficient from multi-frequency complex network enables to efficiently characterize the evolution of oil-water flow structures. For instance, when an evolution in oil-water flow structure occurs, a characteristic change in <C(f)> arises. In addition, we can see that, the values of <C(f)> for different flow structures are distinct, except for D W/O&D O/W flow and D O/W flow. But the number of communities (community structure) for D W/O&D O/W flow structure and D O/W flow structure is different, which provides complementary information for the frequency clustering coefficient. Combining the frequency clustering coefficient and the number of communities provide us a reference frame for recognizing flow structures and characterizing flow behavior. All these findings suggest that the analytical framework of multi-frequency complex network is an efficacious and intuitionistic method for uncovering complex oil-water flow structures.

Discussions

The investigation of complex oil-water flow structures is a fundamental issue eliciting a great deal of interest and attention from different research fields. We have proposed a framework of multi-frequency complex network to visualize horizontal oil-water flow structures and then investigated the evolution of different flow structures from experimental multivariate signals. The basic idea is to construct multi-frequency complex network from experimental multivariate measurements and then to detect the network communities associated with flow structures and finally to extract network statistic at different frequencies for quantitatively uncovering the flow characteristics in the evolution of flow patterns. Our findings indicate that the community structures faithfully represent the structural features of different flow patterns and the frequency clustering coefficients cast light on the local flow behaviors governing the formation and transition of flow structures. Our analytical framework paves the way towards the network visualization of complex flow structures arising from multiphase flow and also establishes a novel method for analyzing multivariate time series.

Methods

Multi-frequency complex network from multivariate time series

The construction of multi-frequency complex network is based on the Fast Fourier transform (FFT), which allows computing the discrete Fourier transform (DFT) in a much faster way. It is obtained by decomposing a series of values into components of different frequencies as follows:

where f is the frequency and X(f) is the spectrum value. We now start with the construction of multi-frequency complex network. For a multivariate time series, e.g., the experimental signals MA, MB, MC, MD measured from our distributed conductance sensor, we first partition each time series into 15 segments with an equal length of 16000. As shown in Fig. 5, for one time series, the segment slides with the time from left to right by a step of 6000. By this operation we can obtain totally 60 segments from our four experimental signals. Then we perform the fast Fourier transform on the 60 segments to obtain the corresponding 60 frequency spectrums by equation (3). The results indicate that the frequency spectrums of the segments from our experimental signals mainly focus on 0 ~ 30 Hz, as shown in Fig. 5. We denote the mean value of spectrum for 0 ~ 1 Hz, 1 ~ 2 Hz, …, 29 ~ 30 Hz of segment i as Xi (1), Xi (2), …, Xi (30), respectively, i = 1,2,…,60. Thus we can obtain Xi (f), f = 1 ~ 30, i = 1 ~ 60, where f is the frequency and i is the label of segment. Finally, for a certain frequency f, we infer complex network by regarding Xi(f) (i = 1 ~ 60) as a node and determining a connection between node i and j by

Specifically, for an unweighted network, we need to select a threshold to determine whether there exists an edge between two nodes. Here we realize this and then obtain an adjacency matrix for a network at frequency f as follows:

Note that the parameter ε here is chosen to make the constructed network have a high and steady-state modularity value in the sense that we expect to arrive at a reliable result of network communities associated with flow structures. The modularity can be evaluated by

where eij is the fraction of edges that connect nodes within community i to the nodes within community j, ai = Σj eij. Therefore, the above framework allows us to derive a series of complex networks at different frequencies, i.e., multi-frequency complex network, from multivariate time series.

Figure 5
figure 5

Schematic diagram for the construction of multi-frequency complex network.