Multiscale Characterization of Flow Instability for Gas–Liquid Two-Phase Flow
Abstract
1. Introduction
2. Methods
2.1. Time-Shift Multiscale
2.2. Equiprobable Symbolic Sample Entropy
2.3. Time-Shift Multiscale Equiprobable Symbolic Sample Entropy
3. Results
3.1. Parameter Sensitivity Analysis
3.2. Effectiveness Validation of TMESE
4. Discussion
4.1. Experimental Set-Up and Data Acquisition
4.2. Flow Instability Analysis of Gas–Liquid Two-Phase Flow Based on TMESE
5. Conclusions
- The TMESE effectively unveils the intrinsic evolutionary characteristics of bubble, slug, and churn flow. Furthermore, the joint distribution of average TMESE values and CI serves as an effective quantitative indicator of multiscale flow instability, which clearly differentiates the instability levels of the three flow patterns.
- Among the three flow patterns, bubble flow exhibits the highest average TMESE and CI values, indicating the strongest instability. This is attributed to random interfacial fluctuations associated with the coalescence of small bubbles. Slug flow shows the lowest instability, owing to the quasi-periodic motion of alternating Taylor bubbles and liquid slugs. Churn flow demonstrates intermediate instability, linked to the coexistence of large bubble fragmentation and small bubble coalescence.
- An increase in either gas or liquid superficial velocity results in an overall increase in average TMESE and CI values. This is attributed to enhanced gas–liquid interfacial turbulent energy, which intensifies flow instability.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A
| Algorithm A1: TMESE (Time-shifted Multiscale Entropy of Symbolic Ensemble) |
| Input: |
| S - 1-dimensional original time series (length N) |
| τ_max - Maximum scale factor (positive integer, number of scales to calculate) |
| m - Embedding dimension (positive integer, typically 1–5) |
| q - Number of symbols (positive integer, usually 3 ≤ q ≤ 12) |
| Output: |
| TMESE - 1-dimensional array (length τ_max), TMESE entropy value at each scale τ |
| = 1, 2, …, τ_max |
| // Core innovation: Time-shifted coarse-graining (no averaging, distinct from MSE) |
| 1: N ← length(S) // Length of the original time series |
| 2: Initialize TMESE as a zero array of length τ_max |
| 3: for τ = 1 to τ_max do //Iterate over each scale factor |
| 4: // Step 3.1: Generate time-shifted sub-series at current scale τ |
| 5: L ← floor((N − τ)/τ) //Effective length of time-shifted sub-series |
| 6: if L < m + 1 then //Insufficient length for embedding |
| 7: TMESE[τ] ← NaN |
| 8: continue |
| 9: end if |
| 10: // Construct time-shifted sub-series y^(τ) (no averaging, core difference from MSE) |
| 11: y ← zeros(L + 1) //+1 to cover full time-shifted sampling range |
| 12: for i = 1 to (L + 1) do |
| 13: idx ← τ + (i − 1) × τ //Time-shifted sampling index |
| 14: y(i) ← S(idx) |
| 15: end for |
| 16: |
| 17: // Step 3.2: Calculate ESSE for time-shifted sub-series y^(τ) |
| 18: TMESE[τ] ← Equiprobable Symbolic Sample Entropy (y, m, q) |
| 19: end for |
| 20: return TMESE |
| Algorithm A2: Equiprobable Symbolic Sample Entropy (ESSE) |
| Input: x - 1-dimensional time-shifted sub-series (output from TMESE Step 3.1) m - Embedding dimension (consistent with TMESE input) q - Number of symbols (consistent with TMESE input) Output: ESSE_val - Equiprobable symbolic sample entropy value (core of TMESE) 1: N_x ← length(x) 2: if N_x < m + 1 then // Invalid input: sequence too short for embedding 3: return NaN 4: end if 5: // Step 1: Normalization to [−1, 1] (eliminate amplitude influence) 6: x_min ← min(x), x_max ← max(x) 7: if x_max == x_min then // Sequence with no fluctuation (constant value) 8: fn ← zeros(N_x) 9: else 10: fn_norm ← 2 × (x − x_min)/(x_max − x_min) − 1 //Normalized sequence 11: end if 12: // Step 2: Equiprobable symbolic encoding (core of ESSE) 13: abs_x ← abs(fn_norm) // Absolute value of normalized sequence 14: fn ← zeros(N_x) //Symbolic sequence (output of encoding) 15: for k = 1 to q do 16: threshold_upper ← 1 − (k − 1)/q 17: if k == q then 18: // Last interval: |x| ≤ 1 − (q−1)/q (equiprobable partition) 19: fn(abs_x ≤ threshold_upper) ← 0 20: else 21: // Interval: 1 − k/q < |x| ≤ 1 − (k−1)/q (equiprobable partition) 22: threshold_lower ← 1 − k/q 23: fn((abs_x > threshold_lower) & (abs_x ≤ threshold_upper)) ← q − k 24: end if 25: end for 26: // Step 3: Count identical symbolic patterns (m and m + 1 dimensions) 27: // 3.1 Count m-dimensional symbolic patterns 28: C_m ← 0 // Count of identical m-dimensional symbolic vectors 29: for i = 1 to (N_x − m) do 30: v_i ← fn(i : i + m − 1) // Extract m-dimensional symbolic vector 31: for j = 1 to (N_x − m) do 32: if i == j then continue // Exclude self-matching 33: v_j ← fn(j : j + m − 1) 34: d ← max(abs(v_i − v_j)) // Symbolic distance (0 = identical) 35: if d == 0 then C_m ← C_m + 1 36: end for 37: end for 38: B_m ← C_m / [(N_x − m) × (N_x − m − 1)] // Normalized m-dimensional probability 39: // 3.2 Count (m+1)-dimensional symbolic patterns 40: C_m1 ← 0 // Count of identical (m+1)-dimensional symbolic vectors 41: for i = 1 to (N_x − m − 1) do 42: v_i ← fn(i : i + m) // Extract (m+1)-dimensional symbolic vector 43: for j = 1 to (N_x − m − 1) do 44: if i == j then continue 45: v_j ← fn(j : j + m) 46: d ← max(abs(v_i − v_j)) 47: if d == 0 then C_m1 ← C_m1 + 1 48: end for 49: end for 50: B_m1 ← C_m1 / [(N_x − m − 1) × (N_x − m − 2)] // Normalized (m+1)-dimensional probability 51: // Step 4: Final ESSE calculation (with correction term) 52: corr_term ← (1 / factorial(q))2 // Correction for finite symbol set bias 53: B_m ← B_m − corr_term, B_m1 ← B_m1 − corr_term 54: if B_m ≤ 0 or B_m1 ≤ 0 or B_m == 0 or B_m1 == 0 then 55: return NaN // Avoid log(0) or negative probability error 56: else 57: ESSE_val ← −ln(B_m1/B_m) // Core ESSE formula 58: end if 59: return ESSE_val |
References
- Barnea, D.; Taitel, Y. Structural and interfacial stability of multiple solutions for stratified flow. Int. J. Multiph. Flow 1992, 18, 821–830. [Google Scholar] [CrossRef] [Scilit]
- Akbar, M.K.; Ghiaasiaan, S.M. Stability of stratified gas–liquid flow in horizontal annular channels. Exp. Therm. Fluid Sci. 2003, 28, 17–21. [Google Scholar] [CrossRef] [Scilit]
- Salhi, Y.; Si-Ahmed, E.-K.; Legrand, J.; Degrez, G. Stability analysis of inclined stratified two-phase gas–liquid flow. Nucl. Eng. Des. 2010, 240, 1083–1096. [Google Scholar] [CrossRef] [Scilit]
- Bouderbal, A.; Salhi, Y.; Arabi, A.; Si-Ahmed, E.-K.; Legrand, J.; Arhaliass, A. Experimental investigation of different sub-regimes in horizontal stratified and intermittent gas-liquid two-phase flow: Flow map and analysis of pressure drop fluctuations. Chem. Eng. Res. Des. Trans. Inst. Chem. Eng. 2024, 210, 407–424. [Google Scholar] [CrossRef] [Scilit]
- Richman, J.S.; Randall, M.J. Physiological time-series analysis using approximate entropy and sample entropy. Am. J. Physiol. Heart Circ. Physiol. 2000, 278, 2039–2049. [Google Scholar] [CrossRef] [Scilit]
- Cao, Y.; Tung, W.-W.; Gao, J.B.; Protopopescu, V.A.; Hively, L.M. Detecting dynamical changes in time series using the permutation entropy. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 2004, 70, 62171–62177. [Google Scholar] [CrossRef] [Scilit]
- Rostaghi, M.; Azami, H. Dispersion entropy: A measure for time-series analysis. IEEE Signal Process. Lett. 2016, 23, 610–614. [Google Scholar] [CrossRef] [Scilit]
- Azami, H.; Rostaghi, M.; Abásolo, D.; Escudero, J. Refined composite multiscale dispersion entropy and its application to biomedical signals. IEEE Trans. Biomed. Eng. 2017, 64, 2610–2618. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Azami, H.; Escudero, J. Amplitude- and fluctuation-based dispersion entropy. Entropy 2018, 20, 210. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Rostaghi, M.; Azami, H. Application of dispersion entropy to status characterization of rotary machines. J. Sound Vib. 2019, 438, 291–308. [Google Scholar] [CrossRef] [Scilit]
- Niu, Y.; Xiang, J.; Gao, K.; Wu, J.; Sun, J.; Wang, B.; Ding, R.; Dou, M.; Wen, X.; Cui, X.; et al. Multi-frequency entropy for quantifying complex dynamics and its application on EEG data. Entropy 2024, 26, 728. [Google Scholar] [CrossRef] [Scilit]
- Shang, H.; Huang, T.; Wang, Z.; Li, J.; Zhang, S. Research on a transformer vibration fault diagnosis method based on time-shift multiscale increment entropy and CatBoost. Entropy 2024, 26, 721. [Google Scholar] [CrossRef] [Scilit]
- Zheng, J.; Wang, J.; Pan, H.; Tong, J.; Liu, Q. Refined time-shift multiscale slope entropy: A new nonlinear dynamic analysis tool for rotating machinery fault feature extraction. Nonlinear Dyn. 2024, 112, 19887–19915. [Google Scholar] [CrossRef] [Scilit]
- Costa, M.; Goldberger, A.; Peng, C. Multiscale entropy analysis of biological signals. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 2005, 71, 021906. [Google Scholar] [CrossRef] [Scilit]
- Costa, M.; Goldberger, A.; Peng, C. Multiscale entropy analysis of complex physiologic time series. Phys. Rev. Lett. 2007, 89, 705–708. [Google Scholar] [CrossRef] [Scilit]
- Zheng, G.; Jin, N. Multiscale entropy and dynamic characteristics of two-phase flow patterns. Acta Phys. Sin. 2009, 58, 4485–4492. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Y.; Hou, Y.; Li, H.; Sun, B.; Yang, D. Flow pattern map and multi-scale entropy analysis in 3 × 3 rod bundle channel. Ann. Nucl. Energy 2015, 80, 144–150. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Y.; Yin, H.; Ding, H. Application of multi-scale entropy in analyzing pressure difference signals of gas-liquid two-phase flow in rod bundled channel. J. Chem. Ind. Eng. 2016, 67, 3625–3632. [Google Scholar]
- Zhou, Y.; Li, S. Experiment investigation on gas-liquid two-phase flow pattern in inclined pipe under fluctuant vibration condition. J. Chem. Ind. Eng. 2018, 69, 86–93. [Google Scholar]
- Zhou, Y.; Chang, G.; Zhao, P. Multi-scale entropy analysis of two-phase flow in a horizontal pipe under heaving motion. J. Vib. Shock 2019, 38, 260–265. [Google Scholar]
- Gao, Z.-K.; Yang, Y.-X.; Zhai, L.-S.; Ding, M.-S.; Jin, N.-D. Characterizing slug to churn flow transition by using multivariate pseudo Wigner distribution. Chem. Eng. Sci. 2016, 291, 74–81. [Google Scholar] [CrossRef] [Scilit]
- Rafałko, G.; Mosdorf, R.; Litak, G.; Górski, G. Complexity of phase distribution in two-phase flow using composite multiscale entropy. Eur. Phys. J. Plus 2020, 135, 661. [Google Scholar] [CrossRef] [Scilit]
- Rafałko, G.; Mosdorf, R.; Grzybowski, H.; Dzienis, P.; Górski, G. Multiscale entropy applications for complexity analysis of two-phase flow. Arch. Thermodyn. 2024, 45, 83–90. [Google Scholar] [CrossRef] [Scilit]
- Tang, Y.; Zhao, A.; Ren, Y.-Y.; Dou, F.-X.; Jin, N.-D. Gas-liquid two-phase flow structure in the multi-scale weighted complexity entropy causality plane. Phys. A Stat. Mech. Its Appl. 2016, 449, 324–335. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Fan, C.; Qin, J.; Yang, R. Refined composite multivariate multiscale complexity-entropy causality plane analysis for gas-liquid two-phase flow. Z. Für Naturforschung A 2023, 78, 907–920. [Google Scholar] [CrossRef] [Scilit]
- Du, M.; Jin, N.-D.; Gao, Z.-K.; Wang, Z.-Y.; Chen, P. Time-frequency analysis of vertical upward oil-water two phase flow. Acta Phys. Sin. 2012, 61, 113–121. [Google Scholar]
- Liu, Y.; Wang, D.; Ren, Y.; Jin, N. Detecting the flow pattern transition in the gas-liquid two-phase flow using multivariate multi-scale entropy analysis. Z. Für Naturforschung A 2019, 74, 837–848. [Google Scholar] [CrossRef] [Scilit]
- Wang, D.; Jin, N.; Zhai, L.; Ren, Y. Characterizing flow instability in oil-gas-water three-phase flow using multi-channel conductance sensor signals. Chem. Eng. J. 2020, 386, 121237. [Google Scholar] [CrossRef] [Scilit]
- Wang, D.; Jin, N. Multivariate multiscale increment entropy: A complexity measure for detecting flow pattern transition in multiphase flows. Nonlinear Dyn. 2020, 100, 3853–3865. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z.; Jin, N.; Bai, L.; Dai, L.; Ren, W.; Wei, J. Nonlinear analysis for identification of vertical upward oil-water two-phase flow patterns. IEEE Sens. J. 2024, 24, 3259–3265. [Google Scholar] [CrossRef] [Scilit]
- Pham, T.D. Time-shift multiscale entropy analysis of physiological signals. Entropy 2017, 19, 257. [Google Scholar] [CrossRef] [Scilit]
- Lin, J.; Keogh, E.; Wei, L.; Lonardi, S. Experiencing SAX: A novel symbolic representation of time series. Data Min. Knowl. Discov. 2007, 15, 107–144. [Google Scholar] [CrossRef] [Scilit]
- Huang, X.L.; Huo, C.Y.; Si, J.F.; Liu, H.X. Application of equiprobable symbolization sample entropy to electroencephalography analysis. Acta Phys. Sin. 2014, 63, 30–35. [Google Scholar] [CrossRef] [Scilit]
- Higuchi, T. Approach to an irregular time series on the basis of the fractal theory. Phys. D Nonlinear Phenom. 1988, 31, 277–283. [Google Scholar] [CrossRef] [Scilit]









| Serial No. | Time Series | TMESE CV | CMSE CV | MSE CV |
|---|---|---|---|---|
| 1 | White noise | 0.138 | 0.429 | 0.433 |
| 2 | noise | 0.04 | 0.073 | 0.072 |
| 3 | 0.387 | 0.407 | 0.408 | |
| 4 | Sine | 0.489 | 0.617 | 0.620 |
| 5 | Sine with white noise | 0.081 | 0.542 | 0.545 |
| 6 | Lorenz | 0.232 | 0.290 | 0.291 |
| 7 | Rössler | 0.184 | 0.217 | 0.219 |
| 8 | Duffing | 0.284 | 0.292 | 0.287 |
| Metrics | Series Group | TMESE | CMSE | MSE |
|---|---|---|---|---|
| Entropy Trend Similarity Index (ETSI) | Noise | 0.981 | 0.913 | 0.91 |
| Chaotic | 0.915 | 0.807 | 0.806 | |
| All series | 0.952 | 0.885 | 0.883 | |
| Entropy Amplitude Dissimilarity Index (EADI) | Noise | 0.027 | 2.265 | 2.291 |
| Chaotic | 1.997 | 1.846 | 1.827 | |
| All series | 0.316 | 0.878 | 0.899 | |
| Entropy Robust Consistency Index (ERCI) | Noise | 0.826 | 0.701 | 0.698 |
| Chaotic | 0.742 | 0.637 | 0.637 | |
| All series | 0.774 | 0.652 | 0.65 |
| Metrics | TMESE | CMSE | MSE |
|---|---|---|---|
| Practical Time Complexity | |||
| Space Complexity |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Sun, Q.-M.; Yu, Q.-C.; Ba, D.; Du, Y. Multiscale Characterization of Flow Instability for Gas–Liquid Two-Phase Flow. Entropy 2026, 28, 210. https://doi.org/10.3390/e28020210
Sun Q-M, Yu Q-C, Ba D, Du Y. Multiscale Characterization of Flow Instability for Gas–Liquid Two-Phase Flow. Entropy. 2026; 28(2):210. https://doi.org/10.3390/e28020210
Chicago/Turabian StyleSun, Qing-Ming, Qing-Chao Yu, Di Ba, and Yang Du. 2026. "Multiscale Characterization of Flow Instability for Gas–Liquid Two-Phase Flow" Entropy 28, no. 2: 210. https://doi.org/10.3390/e28020210
APA StyleSun, Q.-M., Yu, Q.-C., Ba, D., & Du, Y. (2026). Multiscale Characterization of Flow Instability for Gas–Liquid Two-Phase Flow. Entropy, 28(2), 210. https://doi.org/10.3390/e28020210

