Hostname: page-component-cb9f654ff-k7rjm Total loading time: 0 Render date: 2025-08-15T09:55:14.673Z Has data issue: false hasContentIssue false

Direct numerical simulations of three-dimensional two-phase flow using physics-informed neural networks with a distributed parallel training algorithm

Published online by Cambridge University Press:  15 August 2025

Rundi Qiu
Affiliation:
Key Laboratory for Mechanics in Fluid Solid Coupling Systems, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR China School of Future Technology, University of Chinese Academy of Sciences, Beijing 100049, PR China
Junzhe Li
Affiliation:
School of Computer Science, Peking University, Beijing 100871, PR China Computer Center, Peking University, Beijing 100871, PR China
Jingzhu Wang
Affiliation:
Key Laboratory for Mechanics in Fluid Solid Coupling Systems, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR China School of Engineering Science, University of Chinese Academy of Sciences, Beijing 100049, PR China
Chun Fan
Affiliation:
Computer Center, Peking University, Beijing 100871, PR China Changsha Institute for Computing and Digital Economy, Peking University, Changsha 410000, PR China
Yiwei Wang*
Affiliation:
Key Laboratory for Mechanics in Fluid Solid Coupling Systems, Institute of Mechanics, Chinese Academy of Sciences, Beijing 100190, PR China School of Future Technology, University of Chinese Academy of Sciences, Beijing 100049, PR China School of Engineering Science, University of Chinese Academy of Sciences, Beijing 100049, PR China
*
Corresponding author: Yiwei Wang, wangyw@imech.ac.cn

Abstract

In recent years, integrating physical constraints within deep neural networks has emerged as an effective approach for expediting direct numerical simulations in two-phase flow. This paper introduces physics-informed neural networks (PINNs) that utilise the phase-field method to model three-dimensional two-phase flows. We present a fully connected neural network architecture with residual blocks and spatial parallel training using the overlapping domain decomposition method across multiple graphics processing units to enhance the accuracy and computational efficiency of PINNs for the phase-field method (PF-PINNs). The proposed PINNs framework is applied to a bubble rising scenario in a three-dimensional infinite water tank to quantitatively assess the performance of PF-PINNs. Furthermore, the computational cost and parallel efficiency of the proposed method was evaluated, demonstrating its potential for widespread application in complex training environments.

Information

Type
JFM Papers
Copyright
© The Author(s), 2025. Published by Cambridge University Press

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable

References

Abels, H., Garcke, H. & Grun, G. 2012 Thermodynamically consistent, frame indifferent diffuse interface models for incompressible two-phase flows with different densities. Mathematical Models and Methods in Applied Sciences 22 (03), 1150013.10.1142/S0218202511500138CrossRefGoogle Scholar
Bhaga, D. & Weber, M.E. 1981 Bubbles in viscous liquids – shapes, wakes and velocities. J. Fluid Mech. 105, 6185.10.1017/S002211208100311XCrossRefGoogle Scholar
Buhendwa, A.B., Adami, S. & Adams, N.A. 2021 Inferring incompressible two-phase flow fields from the interface motion using physics-informed neural networks. Machine Learning Applics. 4, 100029.10.1016/j.mlwa.2021.100029CrossRefGoogle Scholar
Cheng, M., Hua, J. & Lou, J. 2010 Simulation of bubble–bubble interaction using a lattice Boltzmann method. Comput. Fluids 39 (2), 260270.CrossRefGoogle Scholar
Escapil-Inchauspé, P. & Ruz, G.A. 2023 $h$ -analysis and data-parallel physics-informed neural networks. Sci. Rep. 13 (1), 17562.10.1038/s41598-023-44541-5CrossRefGoogle ScholarPubMed
Hanna, J.M., Aguado, J.V., Comas-Cardona, S., Askri, R. & Borzacchiello, D. 2022 Residual-based adaptivity for two-phase flow simulation in porous media using physics-informed neural networks. Comput. Meth. Appl. Mech. Engng 396, 115100.10.1016/j.cma.2022.115100CrossRefGoogle Scholar
He, K., Zhang, X., Ren, S. & Sun, J. 2015 Delving deep into rectifiers: surpassing human-level performance on imagenet classification. In 2015 IEEE International Conference on Computer Vision (ICCV), pp. 10261034. Institute of Electrical and Electronics Engineers (IEEE).10.1109/ICCV.2015.123CrossRefGoogle Scholar
He, K., Zhang, X., Ren, S. & Sun, J. 2016 Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770778. Institute of Electrical and Electronics Engineers (IEEE).10.1109/CVPR.2016.90CrossRefGoogle Scholar
He, Y., Wang, Z., Xiang, H., Jiang, X. & Tang, D. 2023 An artificial viscosity augmented physics-informed neural network for incompressible flow. Appl. Math. Mech. 44 (7), 11011110.10.1007/s10483-023-2993-9CrossRefGoogle Scholar
Hua, J., Stene, J.F. & Lin, P. 2008 Numerical simulation of 3D bubbles rising in viscous liquids using a front tracking method. J. Comput. Phys. 227 (6), 33583382.10.1016/j.jcp.2007.12.002CrossRefGoogle Scholar
Huang, Y.H., Xu, Z., Qian, C. & Liu, L. 2023 Solving free-surface problems for non-shallow water using boundary and initial conditions-free physics-informed neural network (bif-PINN). J. Comput. Phys. 479, 112003.10.1016/j.jcp.2023.112003CrossRefGoogle Scholar
Jagtap, A.D. & Karniadakis, G.E. 2020 Extended physics-informed neural networks (XPINNS): a generalized space–time domain decomposition based deep learning framework for nonlinear partial differential equations. Commun. Comput. Phys. 28 (5), 20022041.10.4208/cicp.OA-2020-0164CrossRefGoogle Scholar
Jagtap, A.D., Kharazmi, E. & Karniadakis, G.E. 2020 Conservative physics-informed neural networks on discrete domains for conservation laws: applications to forward and inverse problems. Comput. Meth. Appl. Mech. Engng 365, 113028.10.1016/j.cma.2020.113028CrossRefGoogle Scholar
Jalili, D., Jang, S., Jadidi, M., Giustini, G., Keshmiri, A. & Mahmoudi, Y. 2024 Physics-informed neural networks for heat transfer prediction in two-phase flows. Intl J. Heat Mass Transfer 221, 125089.10.1016/j.ijheatmasstransfer.2023.125089CrossRefGoogle Scholar
Jin, X., Cai, S., Li, H. & Karniadakis, G.E. 2021 NSFnets (Navier–Stokes flow nets): physics-informed neural networks for the incompressible Navier–Stokes equations. J. Comput. Phys. 426, 109951.10.1016/j.jcp.2020.109951CrossRefGoogle Scholar
Karniadakis, G.E., Kevrekidis, I.G., Lu, L., Perdikaris, P., Wang, S. & Yang, L. 2021 Physics-informed machine learning. Nat. Rev. Phys. 3 (6), 422440.10.1038/s42254-021-00314-5CrossRefGoogle Scholar
Kim, J. 2005 A continuous surface tension force formulation for diffuse-interface models. J. Comput. Phys. 204 (2), 784804.10.1016/j.jcp.2004.10.032CrossRefGoogle Scholar
Kiyani, E., Shukla, K., Karniadakis, G.E. & Karttunen, M. 2023 A framework based on symbolic regression coupled with extended physics-informed neural networks for gray-box learning of equations of motion from data. Comput. Meth. Appl. Mech. Engng 415, 116258.10.1016/j.cma.2023.116258CrossRefGoogle Scholar
Liu, H., Valocchi, A.J., Zhang, Y. & Kang, Q. 2013 Phase-field-based lattice Boltzmann finite-difference model for simulating thermocapillary flows. Phys. Rev. E 87, 013010.10.1103/PhysRevE.87.013010CrossRefGoogle ScholarPubMed
Meng, X., Li, Z., Zhang, D. & Karniadakis, G.E. 2020 PPINN: parareal physics-informed neural network for time-dependent PDEs. Comput. Meth. Appl. Mech. Engng 370, 113250.10.1016/j.cma.2020.113250CrossRefGoogle Scholar
Poole, B., Lahiri, S., Raghu, M., Sohl-Dickstein, J. & Ganguli, S. 2016 Exponential expressivity in deep neural networks through transient chaos. In Advances in Neural Information Processing Systems 29 (NIPS 2016) (ed. Lee, D.D., Sugiyama, M., Luxburg, U.V., Guyon, I. & Garnett, R.), vol. 29, pp. 33603368. MIT Press.Google Scholar
Qiu, R., Dong, H., Wang, J., Fan, C. & Wang, Y. 2024 Modeling two-phase flows with complicated interface evolution using parallel physics-informed neural networks. Phys. Fluids 36 (9), 093330.10.1063/5.0216609CrossRefGoogle Scholar
Qiu, R., Huang, R., Xiao, Y., Wang, J., Zhang, Z., Yue, J., Zeng, Z. & Wang, Y. 2022 Physics-informed neural networks for phase-field method in two-phase flow. Phys. Fluids 34 (5), 052109.10.1063/5.0091063CrossRefGoogle Scholar
Raissi, M., Perdikaris, P. & Karniadakis, G.E. 2019 Physics-informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 378, 686707.10.1016/j.jcp.2018.10.045CrossRefGoogle Scholar
Shukla, K., Jagtap, A.D. & Karniadakis, G.E. 2021 Parallel physics-informed neural networks via domain decomposition. J. Comput. Phys. 447, 110683.10.1016/j.jcp.2021.110683CrossRefGoogle Scholar
Sun, L., Gao, H., Pan, S. & Wang, J.-X. 2020 Surrogate modeling for fluid flows based on physics-constrained deep learning without simulation data. Comput. Meth. Appl. Mech. 361, 112732.10.1016/j.cma.2019.112732CrossRefGoogle Scholar
Tang, Y., Huang, J., Zhang, F. & Gong, W. 2020 Deep residual networks with a fully connected reconstruction layer for single image super-resolution. Neurocomputing 405, 186199.10.1016/j.neucom.2020.04.030CrossRefGoogle Scholar
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L. & Polosukhin, I. 2017 Attention is all you need. In Advances in Neural Information Processing Systems, pp. 59986008. Institute of Electrical and Electronics Engineers (IEEE).Google Scholar
Wang, S., Sankaran, S. & Perdikaris, P. 2024 a,b Respecting causality for training physics-informed neural networks. Comput. Meth. Appl. Mech. Engng 421, 116813,10.1016/j.cma.2024.116813CrossRefGoogle Scholar
Wang, S., Teng, Y. & Perdikaris, P. 2021 Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM J. Sci. Comput. 43 (5), A3055A3081.CrossRefGoogle Scholar
Wight, C.L. & Zhao, J. 2021 Solving Allen–Cahn and Cahn–Hilliard equations using the adaptive physics informed neural networks. Commun. Comput. Phys. 29 (3), 930954.10.4208/cicp.OA-2020-0086CrossRefGoogle Scholar
Wu, J., Wu, Y., Zhang, G. & Zhang, Y. 2024 Variable linear transformation improved physics-informed neural networks to solve thin-layer flow problems. J. Comput. Phys. 500, 112761.10.1016/j.jcp.2024.112761CrossRefGoogle Scholar
Xu, Y., Yang, G. & Hu, D. 2023 A three-dimensional ISPH-FVM coupling method for simulation of bubble rising in viscous stagnant liquid. Ocean Engng 278, 114497.10.1016/j.oceaneng.2023.114497CrossRefGoogle Scholar
Yang, L., Rakhsha, M., Hu, W. & Negrut, D. 2022 A consistent multiphase flow model with a generalized particle shifting scheme resolved via incompressible SPH. J. Comput. Phys. 458, 111079.10.1016/j.jcp.2022.111079CrossRefGoogle Scholar
Zhai, H., Zhou, Q. & Hu, G. 2022 Predicting micro-bubble dynamics with semi-physics-informed deep learning. AIP Adv. 12 (3), 035153.10.1063/5.0079602CrossRefGoogle Scholar
Zhang, A., Sun, P. & Ming, F. 2015 An SPH modeling of bubble rising and coalescing in three dimensions. Comput. Meth. Appl. Mech. Engng 294, 189209.10.1016/j.cma.2015.05.014CrossRefGoogle Scholar
Zhou, W., Miwa, S. & Okamoto, K. 2024 Self-adaptive and time divide-and-conquer physics-informed neural networks for two-phase flow simulations using interface tracking methods. Phys. Fluids 36 (7), 073305.10.1063/5.0214646CrossRefGoogle Scholar