Inferring incompressible two-phase flow fields from the interface motion\n using physics-informed neural networks

Aaron B. Buhendwa, Stefan Adami, Nikolaus A. Adams · DOI

Abstract

In this work, physics-informed neural networks are applied to incompressible two-phase flow problems. We investigate the forward problem, where the governing equations are solved from initial and boundary conditions, as well as the inverse problem, where continuous velocity and pressure fields are inferred from scattered-time data on the interface position. We employ a volume of fluid approach, i.e. the auxiliary variable here is the volume fraction of the fluids within each phase. For the forward problem, we solve the two-phase Couette and Poiseuille flow. For the inverse problem, three classical test cases for two-phase modeling are investigated: (i) drop in a shear flow, (ii) oscillating drop and (iii) rising bubble. Data of the interface position over time is generated by numerical simulation. An effective way to distribute spatial training points to fit the interface, i.e. the volume fraction field, and the residual points is proposed. Furthermore, we show that appropriate weighting of losses associated with the residual of the partial differential equations is crucial for successful training. The benefit of using adaptive activation functions is evaluated for both the forward and inverse problem.

Introduction

In fluid mechanics, measuring the full velocity and pressure fields of a multiphase system—such as oil and water mixing—is notoriously difficult and expensive. While high-speed video can often capture how an interface moves, the internal forces driving that motion remain "hidden." Traditional Computational Fluid Dynamics (CFD) excels at forward problems (predicting motion given known forces) but struggles with inverse problems (inferring forces from observed motion). This paper demonstrates how Physics-Informed Neural Networks (PINNs) can bridge this gap, allowing researchers to "see" the hidden physics of two-phase flows by observing only the motion of a fluid interface.

Methodology

The authors employ PINNs to treat the governing physical laws—the incompressible Navier-Stokes equations and the volume fraction advection equation—as part of the network's loss function. A key technical contribution is the integration of the Volume-of-Fluid (VoF) approach. By using a volume fraction variable ($\alpha$) to represent the two phases, the network can handle the interface within a continuous framework.

Schematic of the two-phase flow domain (left) and the strategic distribution of training points (right) used to capture interface gradients.

To ensure stability and accuracy, the researchers implemented several refinements:

  • Strategic Point Distribution: Instead of uniform sampling, they proposed a refinement strategy that places more training points near the interface. This is essential for capturing the sharp gradients in the volume fraction field and localized surface tension effects.
  • Adaptive Activation Functions: By implementing layer-wise adaptive activation functions, the network can optimize the "slope" of its own activations during training, significantly improving convergence.
  • Loss Weighting: The study found that weighting the momentum equation residuals based on the Weber number (the ratio of inertial forces to surface tension) is critical. Without this, high residuals at the interface can overwhelm the optimization process.

Key Insights and Results

The most striking insight is that interface motion acts as a "physical signature." Because the interface must obey the underlying velocity and pressure fields, its deformation over time contains enough information for the PINN to reconstruct the state of the entire fluid domain.

  • Rising Bubble Accuracy: In the complex "rising bubble" inverse case, the PINN reconstructed velocity fields with relative errors of approximately 8–10% and pressure fields with only ~2% error, despite having no prior data on velocity or pressure.
  • Energy Tracking: For the oscillating drop, the PINN accurately captured the exchange between potential and kinetic energy, with kinetic energy errors peaking at only 3%.
  • Network Architecture: The authors noted that for these specific physical problems, increasing the width (neurons per layer) of the network was generally more effective than increasing its depth.

Limitations and Future Work

While successful, the framework faces challenges. Small "symmetry-breaking" errors were observed in the horizontal velocity for the rising bubble, suggesting a need for even denser residual points inside the bubble. Additionally, training PINNs remains computationally expensive—adaptive activation functions improved accuracy but increased training time by roughly 30%. Future work will focus on scaling these methods from 2D laminar flows to 3D geometries and turbulent regimes.

Summary updated

Abstract

In this work, physics-informed neural networks are applied to incompressible\ntwo-phase flow problems. We investigate the forward problem, where the\ngoverning equations are solved from initial and boundary conditions, as well as\nthe inverse problem, where continuous velocity and pressure fields are inferred\nfrom scattered-time data on the interface position. We employ a volume of fluid\napproach, i.e. the auxiliary variable here is the volume fraction of the fluids\nwithin each phase. For the forward problem, we solve the two-phase Couette and\nPoiseuille flow. For the inverse problem, three classical test cases for\ntwo-phase modeling are investigated: (i) drop in a shear flow, (ii) oscillating\ndrop and (iii) rising bubble. Data of the interface position over time is\ngenerated by numerical simulation. An effective way to distribute spatial\ntraining points to fit the interface, i.e. the volume fraction field, and the\nresidual points is proposed. Furthermore, we show that appropriate weighting of\nlosses associated with the residual of the partial differential equations is\ncrucial for successful training. The benefit of using adaptive activation\nfunctions is evaluated for both the forward and inverse problem.\n
BibTeX
@misc{buhendwa2021inferring,
  author = {Aaron B. Buhendwa and Stefan Adami and Nikolaus A. Adams},
  title = {{Inferring incompressible two-phase flow fields from the interface motion\textbackslash\{\}n using physics-informed neural networks}},
  year = {2021},
  eprint = {2101.09833},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.09833},
}
Figure