Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T04:05:14.065Z 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
Figure 0

Figure 1. Schematic diagram of a fully connected residual block featuring two fully connected layers, two activation layers and a residual connection.

Figure 1

Figure 2. Illustration of the PINN applied to three-dimensional two-phase flow.

Figure 2

Figure 3. (a) The relationships of relative position for all physical boundaries in the global coordinate system. (b) The relationships of relative position for all boundary conditions on a subdomain. (c) Schematic illustration of overlapping boundary and physical boundary for local subnetwork and adjacent subnetwork.

Figure 3

Figure 4. Schematic representation of the initial and boundary conditions for the three-dimensional bubble rising case in infinite water. Here, $D$ denotes the diameter of the bubble, $D=2r_b$.

Figure 4

Table 1. Table of physical parameters and dimensionless numbers for the three-dimensional bubble rising case.

Figure 5

Figure 5. Schematic diagram of the domain decomposition method employed in the three-dimensional bubble rising case in infinite water.

Figure 6

Table 2. Settings of the learning rate for the neural network in the three-dimensional bubble rising case.

Figure 7

Figure 6. Sequence of three-dimensional bubble shapes at specified times: (a) $t=0$ s, (b) $t=0.5$ s, (c) $t=1$ s, (d) $t=1.5$ s, (e) $t=2$ s, (f) $t=2.5$ s.

Figure 8

Figure 7. Time variation of quantitative parameters in the three-dimensional bubble rising case: (a) centre of mass of the bubble; (b) rising velocity of the bubble.

Figure 9

Table 3. Comparison of terminal Reynolds numbers using various algorithms in the three-dimensional bubble rising case.

Figure 10

Figure 8. Comparison of quantitative parameters in the bubble rising case for PF-PINNs among fine sampling points (1 20 000), medium sampling points (60 000) and coarse sampling points (30 000): (a) centre of mass of the bubble; (b) rising velocity of the bubble.

Figure 11

Table 4. Comparison of terminal Reynolds numbers using various sampling points in the three-dimensional bubble rising case.

Figure 12

Table 5. Comparison of terminal Reynolds numbers using various background grid sizes in the three-dimensional bubble rising case.

Figure 13

Figure 9. Comparison of quantitative parameters in the bubble rising case between conventional and thermodynamics-consistent PINNs: (a) centre of mass of the bubble; (b) rising velocity of the bubble.

Figure 14

Figure 10. Assessment of parallel training performance on multiple GPUs: (a) weak scaling of the proposed method; (b) strong scaling, including speed-up and efficiency of the proposed method.