Table of Contents
Fetching ...

Extended Physics Informed Neural Network for Hyperbolic Two-Phase Flow in Porous Media

Saif Ur Rehman, Wajid Yousuf

TL;DR

This work tackles the challenge of solving nonlinear hyperbolic PDEs with sharp fronts using physics-informed learning. It introduces Extended Physics-Informed Neural Networks (XPINNs) that decompose the computational domain in space and time into evolving pre-shock and post-shock regions, with subnetworks coupled via the Rankine-Hugoniot condition. Across Buckley-Leverett tests, XPINN consistently outperforms standard PINNs and variants (diffusivity, Welge, Oleinik) in accurately resolving shocks without artificial diffusion, using the Adam optimizer. The results demonstrate XPINN’s robustness and scalability for challenging hyperbolic problems, with potential applications in two-phase flow in porous media and reservoir engineering.

Abstract

The accurate solution of nonlinear hyperbolic partial differential equations (PDEs) remains challenging due to steep gradients, discontinuities, and multiscale structures that make conventional solvers computationally demanding. Physics-Informed Neural Networks (PINNs) embed the governing equations into the learning process, enabling mesh-free solution of PDEs, yet they often struggle to capture steep gradients, discontinuities, and complex nonlinear wave interactions. To address these limitations, we employ the Extended Physics-Informed Neural Network (XPINN) framework to solve the nonlinear Buckley-Leverett equation with a nonconvex flux, modeling immiscible two-phase flow in porous media. The computational domain is dynamically decomposed in space and time into evolving pre-shock and post-shock subdomains, allowing localized subnetworks to efficiently learn distinct flow behaviors, with coupling enforced via the Rankine-Hugoniot jump condition to ensure physically consistent flux continuity. We compare XPINN with standard PINNs and its variants, including PINN with artificial viscosity, PINN with Welge construction, and PINN with the Oleinik entropy condition, and across all cases, XPINN consistently outperforms the other methods, accurately resolving sharp fronts and capturing the correct physical behavior. Importantly, XPINN achieves this using the simpler Adam optimizer, whereas some PINN variants require more complex or higher-order strategies such as L-BFGS to reach comparable accuracy, demonstrating that XPINN is a robust and scalable approach for challenging hyperbolic PDEs without artificial diffusion or entropy corrections. The code is available at github.com/saifkhanengr/XPINN-for-Buckley-Leverett.

Extended Physics Informed Neural Network for Hyperbolic Two-Phase Flow in Porous Media

TL;DR

This work tackles the challenge of solving nonlinear hyperbolic PDEs with sharp fronts using physics-informed learning. It introduces Extended Physics-Informed Neural Networks (XPINNs) that decompose the computational domain in space and time into evolving pre-shock and post-shock regions, with subnetworks coupled via the Rankine-Hugoniot condition. Across Buckley-Leverett tests, XPINN consistently outperforms standard PINNs and variants (diffusivity, Welge, Oleinik) in accurately resolving shocks without artificial diffusion, using the Adam optimizer. The results demonstrate XPINN’s robustness and scalability for challenging hyperbolic problems, with potential applications in two-phase flow in porous media and reservoir engineering.

Abstract

The accurate solution of nonlinear hyperbolic partial differential equations (PDEs) remains challenging due to steep gradients, discontinuities, and multiscale structures that make conventional solvers computationally demanding. Physics-Informed Neural Networks (PINNs) embed the governing equations into the learning process, enabling mesh-free solution of PDEs, yet they often struggle to capture steep gradients, discontinuities, and complex nonlinear wave interactions. To address these limitations, we employ the Extended Physics-Informed Neural Network (XPINN) framework to solve the nonlinear Buckley-Leverett equation with a nonconvex flux, modeling immiscible two-phase flow in porous media. The computational domain is dynamically decomposed in space and time into evolving pre-shock and post-shock subdomains, allowing localized subnetworks to efficiently learn distinct flow behaviors, with coupling enforced via the Rankine-Hugoniot jump condition to ensure physically consistent flux continuity. We compare XPINN with standard PINNs and its variants, including PINN with artificial viscosity, PINN with Welge construction, and PINN with the Oleinik entropy condition, and across all cases, XPINN consistently outperforms the other methods, accurately resolving sharp fronts and capturing the correct physical behavior. Importantly, XPINN achieves this using the simpler Adam optimizer, whereas some PINN variants require more complex or higher-order strategies such as L-BFGS to reach comparable accuracy, demonstrating that XPINN is a robust and scalable approach for challenging hyperbolic PDEs without artificial diffusion or entropy corrections. The code is available at github.com/saifkhanengr/XPINN-for-Buckley-Leverett.

Paper Structure

This paper contains 20 sections, 25 equations, 12 figures, 4 tables.

Figures (12)

  • Figure 1: Schematic of the XPINN architecture and loss components.
  • Figure 2: Training Data Distribution for XPINN.
  • Figure 3: Dynamic Domain Decomposition in Space and Time, here $\epsilon = 0.007$.
  • Figure 4: Model results for Architecture 1.
  • Figure 5: Model results for Architecture 2.
  • ...and 7 more figures