Technical Papers
Oct 17, 2022

An Industrial Scale Simulation Method for Predicting the Contamination Evolution in Long-Distance Multiproduct Pipelines

Publication: Journal of Pipeline Systems Engineering and Practice
Volume 14, Issue 1

Abstract

An industrial scale simulation method (ISSM) has been proposed to predict the contamination evolution and oil quality distribution in multiproduct pipelines. The proposed ISSM consists of two subalgorithms: computational domain tracking method (CDTM) and spatial domain conversion method (SDCM). The computational effort can be greatly reduced by CDTM. SDCM is implemented for flow simulation in industrial scale pipelines. The basic concept of SDCM is adaptively adjusting the spatial mesh resolution according to the spatial distribution of contamination. The communication between spatial meshes with different resolutions is achieved by machine learning technology in SDCM. The validation of training and predicting process in SDCM indicates the artificial neural networks (ANN)-based method could efficiently construct the implicit function between the contamination concentration and spatial coordinates in pipelines. Then, the detailed implementation of ISSM, which is a hybrid of CDTM and SDCM, is given. The accuracy and efficiency are validated by both the direct numerical simulation results and practical experiments in industry multiproduct pipelines. Compared with the direct numerical method, ISSM could greatly improve the computational efficiency. Finally, two applications, mixing dynamics of miscible oil interface and oil quality evolution within long-distance pipelines, are carried out. The results reveal that ISSM can capture the asymmetric distribution phenomenon of the contamination concentration along the pipeline. Furthermore, the quality index of oil product can be tracked within the present framework of ISSM, which could be potentially used to design a quality-based scheduling scheme for industrial multiproduct pipelines.

Get full access to this article

View all available purchase options and get full access to this article.

Data Availability Statement

Some or all data, models, or code that support the findings of this study are available from the corresponding author upon reasonable request, specifically the hybrid method of ADI-PCG-TDMA ISSM including CDTM, SDCM, and the experimental validation data.

Acknowledgments

This work is supported by National Natural Science Foundation of China (No. 51474228). B. Y. Wang who was sponsored by the China Scholarship Council (No. 201806440152).

References

Alves, M. A., F. T. Pinho, and P. J. Oliveira. 2000. “Effect of a high-resolution differencing scheme on finite-volume predictions of viscoelastic flows.” J. Non-Newtonian Fluid Mech. 93 (2–3): 287–314. https://doi.org/10.1016/S0377-0257(00)00121-X.
Alves, M. A., F. T. Pinho, and P. J. Oliveira. 2001. “The flow of viscoelastic fluids past a cylinder: Finite-volume high-resolution methods.” J. Non-Newtonian Fluid Mech. 97 (2–3): 207–232. https://doi.org/10.1016/S0377-0257(00)00198-1.
Araújo, O. Q. F., J. L. de Medeiros, and H. P. M. Carvalho. 2002. “A maxwell-stefan approach for predicting mixing effects in contiguous batches of multi-product pipelines.” In Proc., 4th Int. Pipeline Conf., Parts A and B. 1005–1014, New York: ASME.
Aris, R. 1956. “On the dispersion of a solute in a fluid flowing through a tube.” Proc. R. Soc. London, Ser. A 235 (5): 67–77. https://doi.org/10.1098/rspa.1956.0065.
Aunický, Z. 1970. “The longitudinal mixing of liquids flowing successively in pipelines.” Can. J. Chem. Eng. 48 (1): 12–16. https://doi.org/10.1002/cjce.5450480103.
Austin, J. E., and J. R. Palfrey. 1963. “Mixing of miscible but dissimilar liquids in serial flow in a pipeline.” Proc. Inst. Mech. Eng. 178 (1): 377–389. https://doi.org/10.1177/002034836317800160.
Brian, P. L. T. 1961. “A finite-difference method of high-order accuracy for the solution of three-dimensional transient heat conduction problems.” AIChE J. 7 (3): 367–370. https://doi.org/10.1002/aic.690070305.
Brunton, S. L., B. R. Noack, and P. Koumoutsakos. 2020. “Machine learning for fluid mechanics.” Annu. Rev. Fluid Mech. 52 (1): 477–508. https://doi.org/10.1146/annurev-fluid-010719-060214.
Castillo, E., and R. Codina. 2015. “First, second and third order fractional step methods for the three-field viscoelastic flow problem.” J. Comput. Phys. 296 (Apr): 113–137. https://doi.org/10.1016/j.jcp.2015.04.027.
Castro, P. M. 2017. “Optimal scheduling of multiproduct pipelines in networks with reversible flow.” Ind. Eng. Chem. Res. 56 (34): 9638–9656. https://doi.org/10.1021/acs.iecr.7b01685.
Castro, P. M., and H. Mostafaei. 2019. “Batch-centric scheduling formulation for treelike pipeline systems with forbidden product sequences.” Comput. Chem. Eng. 122 (Mar): 2–18. https://doi.org/10.1016/j.compchemeng.2018.04.027.
Chatwin, P. C. 1971. “On the interpretation of some longitudinal dispersion experiments.” J. Fluid Mech. 48 (4): 689–702. https://doi.org/10.1017/S0022112071001800.
Chen, L., Z. Yuan, J. Xu, J. Gao, Y. Zhang, and G. Liu. 2021. “A novel predictive model of mixed oil length of products pipeline driven by traditional model and data.” J. Petrol. Sci. Eng. 205 (Oct): 108787. https://doi.org/10.1016/j.petrol.2021.108787.
Chikwendu, S. C., and G. U. Ojiakor. 1985. “Slow-zone model for longitudinal dispersion in two-dimensional shear flows.” J. Fluid Mech. 152 (Mar): 15–38. https://doi.org/10.1017/S0022112085000544.
Duraisamy, K., G. Iaccarino, and H. Xiao. 2019. “Turbulence modeling in the age of data.” Annu. Rev. Fluid Mech. 51 (1): 357–377. https://doi.org/10.1146/annurev-fluid-010518-040547.
Ekambara, K., and J. B. Joshi. 2003. “Axial mixing in pipe flows: Turbulent and transition regions.” Chem. Eng. Sci. 58 (12): 2715–2724. https://doi.org/10.1016/S0009-2509(03)00102-7.
Fowler, F. C., and G. G. Brown. 1943. “Contamination by successive flow in pipe lines.” Trans. Am. Inst. Chem. Eng. 39 (May): 491–516.
Fukami, K., K. Fukagata, and K. Taira. 2019. “Super-resolution reconstruction of turbulent flows with machine learning.” J. Fluid Mech. 870 (Jul): 106–120. https://doi.org/10.1017/jfm.2019.238.
Hart, J., I. Guymer, A. Jones, and V. Stovi. 2013. “Longitudinal dispersion coefficients within turbulent and transitional pipe flow.” In Experimental and computational solutions of hydraulic problems. Berlin: Springer.
He, G., M. Lin, B. Wang, Y. Liang, and Q. Huang. 2018. “Experimental and numerical research on the axial and radial concentration distribution feature of miscible fluid interfacial mixing process in products pipeline for industrial applications.” Int. J. Heat Mass Transfer 127 (Dec): 728–745. https://doi.org/10.1016/j.ijheatmasstransfer.2018.08.080.
Levenspiel, O. 1958. “Longitudinal mixing of fluids flowing in circular pipes.” Ind. Eng. Chem. 50 (3): 343–346. https://doi.org/10.1021/ie50579a034.
Li, X., W. Han, W. Shao, L. Chen, and D. Zhao. 2021. “Data-driven predictive model for mixed oil length prediction in long-distance transportation pipeline.” In Proc., 2021 IEEE 10th Data Driven Control and Learning Systems Conf., 1486–1491. Piscataway, NJ: IEEE.
Li, Y., H. Wang, J. Jia, and L. Li. 2013. “The growing radial basis function (RBF) neural network and its applications.” In Advances in swarm intelligence, 489–496. Berlin: Springer.
Liang, Y., G. He, L. Fang, M. Wu, J. Gao, Y. Li, and F. Li. 2017. “Research advances in the influence of temperature on the sequential transportation in product pipeline.” Chin. Sci. Bull. 62 (22): 2520–2533. https://doi.org/10.1360/N972016-00275.
Ling, J., A. Kurzawski, and J. Templeton. 2016. “Reynolds averaged turbulence modelling using deep neural networks with embedded invariance.” J. Fluid Mech. 807 (Nov): 155–166. https://doi.org/10.1017/jfm.2016.615.
Liu, E., W. Li, H. Cai, and S. Peng. 2019. “Formation mechanism of trailing oil in product oil pipeline.” Processes 7 (1): 7. https://doi.org/10.3390/pr7010007.
Liu, E., W. Li, H. Cai, W. Qiao, and M. Azimi. 2020. “Calculation method for the amount of contaminant oil during sequential transportation through product oil pipelines.” Energy Explor. Exploit. 38 (4): 1014–1033. https://doi.org/10.1177/0144598720911158.
Maulik, R., and O. San. 2017. “A neural network approach for the blind deconvolution of turbulent flows.” J. Fluid Mech. 831 (Nov): 151–181. https://doi.org/10.1017/jfm.2017.637.
Najafzadeh, M., and A. M. A. Sattar. 2015. “Neuro-fuzzy GMDH approach to predict longitudinal dispersion in water networks.” Water Resour. Manage. 29 (7): 2205–2219. https://doi.org/10.1007/s11269-015-0936-8.
Oyarzun, G., R. Borrell, A. Gorobets, and A. Oliva. 2014. “MPI-CUDA sparse matrix–vector multiplication for the conjugate gradient method with an approximate inverse preconditioner.” Comput. Fluids 92 (Apr): 244–252. https://doi.org/10.1016/j.compfluid.2013.10.035.
Patrachari, A. R., and A. H. Johannes. 2012. “A conceptual framework to model interfacial contamination in multiproduct petroleum pipelines.” Int. J. Heat Mass Transfer 55 (17–18): 4613–4620. https://doi.org/10.1016/j.ijheatmasstransfer.2012.04.017.
Poggio, T., and F. Girosi. 1990. “Regularization algorithms for learning that are equivalent to multilayer networks.” Science 247 (4945): 978–982. https://doi.org/10.1126/science.247.4945.978.
Rachid, F. B. F., J. H. C. de Araujo, and R. M. Baptista. 2002. “Predicting mixing volumes in serial transport in pipelines.” J. Fluids Eng. 124 (2): 528–534. https://doi.org/10.1115/1.1459078.
Saberi-Movahed, F., M. Najafzadeh, and A. Mehrpooya. 2020. “Receiving more accurate predictions for longitudinal dispersion coefficients in water pipelines: Training group method of data handling using extreme learning machine conceptions.” Water Resour. Manage. 34 (2): 529–561. https://doi.org/10.1007/s11269-019-02463-w.
Sepehr, H., P. Nikrityuk, D. Breakey, and R. S. Sanders. 2019. “Numerical study of crude oil batch mixing in a long channel.” Pet. Sci. 16 (1): 187–198. https://doi.org/10.1007/s12182-018-0276-4.
Smith, R. 1981. “A delay-diffusion description for contaminant dispersion.” J. Fluid Mech. 105 (1): 469. https://doi.org/10.1017/S0022112081003297.
Smith, S. S., and R. K. Schulze. 1948a. “Interfacial mixing characteristics of products in products pipeline—Part 1.” Pet. Eng. 19 (13): 94–104.
Smith, S. S., and R. K. Schulze. 1948b. “Interfacial mixing characteristics of products in products pipeline—Part 2.” Pet. Eng. 20 (1948): 330–337.
Sunagatullin, R., F. Timofeev, A. Kuznetsov, and Y. Oludina. 2019. “Relevant issues on quality evaluation of petroleum pipeline preparation for oil product transportation.” Oil Gas Sci. Technol. 74 (8): 44. https://doi.org/10.2516/ogst/2018098.
Taylor, G. I. 1953. “Dispersion of soluble matter in solvent flowing slowly through a tube.” Proc. R. Soc. London, Ser. A 219 (Jan): 186–203. https://doi.org/10.1098/rspa.1953.0139.
Taylor, G. I. 1954. “The dispersion of matter in turbulent flow through a pipe.” Proc. R. Soc. London, Ser. A 223 (Jan): 446–468. https://doi.org/10.1098/rspa.1954.0130.
Tichacek, L. J., C. H. Barkelew, and T. Baron. 1957. “Axial mixing in pipes.” AIChE J. 3 (4): 439–442. https://doi.org/10.1002/aic.690030404.
Wan, Z. Y., and T. P. Sapsis. 2018. “Machine learning the kinematics of spherical particles in fluid flows.” J. Fluid Mech. 857 (8): 2. https://doi.org/10.1017/jfm.2018.797.
Yu, B., and Y. Kawaguchi. 2004. “Direct numerical simulation of viscoelastic drag-reducing flow: A faithful finite difference method.” J. Non-Newtonian Fluid Mech. 116 (2–3): 431–466. https://doi.org/10.1016/j.jnnfm.2003.11.006.
Yuan, Z., L. Chen, W. Shao, Z. Zuo, W. Zhang, and G. Liu. 2021. “A robust hybrid predictive model of mixed oil length with deep integration of mechanism and data.” J. Pipeline Sci. Eng. 1 (4): 459–467. https://doi.org/10.1016/j.jpse.2021.12.002.
Zeinolabedini, M., and M. Najafzadeh. 2019. “Comparative study of different wavelet-based neural network models to predict sewage sludge quantity in wastewater treatment plant.” Environ. Monit. Assess. 191 (3): 163. https://doi.org/10.1007/s10661-019-7196-7.
Zhao, L., J. Derksen, and R. Gupta. 2010. “Simulations of axial mixing of liquids in a long horizontal pipe for industrial applications.” Energy Fuels 24 (11): 5844–5850. https://doi.org/10.1021/ef100846r.

Information & Authors

Information

Published In

Go to Journal of Pipeline Systems Engineering and Practice
Journal of Pipeline Systems Engineering and Practice
Volume 14Issue 1February 2023

History

Received: Mar 18, 2022
Accepted: Aug 11, 2022
Published online: Oct 17, 2022
Published in print: Feb 1, 2023
Discussion open until: Mar 17, 2023

Permissions

Request permissions for this article.

Authors

Affiliations

Ph.D. Candidate, Beijing Key Laboratory of Urban Oil and Gas Distribution Technology, China Univ. of Petroleum, Beijing 102249, PR China (corresponding author). Email: [email protected]
Intermediate Engineer, China National Offshore Oil Corporation China Ltd., Hainan Branch, Haikou 570311, PR China. Email: [email protected]
Ph.D. Candidate, Dept. of Applied Physics, Universitat Politècnica de Catalunya, Barcelona 08014, Spain. ORCID: https://orcid.org/0000-0002-6229-0336. Email: [email protected]
Jianfei Sun [email protected]
Assistant Engineer, Zhejiang Zheneng Natiral Gas Operation Co., Ltd., 1751 Binsheng Rd., Hangzhou 310027, PR China. Email: [email protected]

Metrics & Citations

Metrics

Citations

Download citation

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

View Options

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share