Physics-informed neural networks for hidden boundary detection and flow field reconstruction
Yongzheng Zhu, Weizheng Chen, Jian Deng, Xin Bian
TL;DR
This work tackles the inverse problem of detecting hidden solid boundaries and reconstructing surrounding flow from sparse measurements by introducing a physics-informed neural network (PINN) that embeds a body fraction field $\phi$ to distinguish fluid and solid domains. By penalizing NS and Euler dynamics with $\phi$-dependent terms and enforcing appropriate boundary conditions, the method simultaneously recovers boundary geometry, boundary motion (for moving bodies), and full flow fields under both incompressible and compressible regimes. The framework is validated on three benchmarks—steady flow past a fixed cylinder, in-line oscillating cylinder, and subsonic flow over a NACA 0012 airfoil—showing accurate boundary inference, robust flow reconstruction, and reliable estimation of boundary kinematics under sparse and noisy data. These results demonstrate the method’s potential for real-world flow diagnostics and control where direct boundary observations are unavailable, with implications for aero/hydrodynamics, biomedical flow analysis, and underwater acoustics. The approach also provides a foundation for extending PINNs to more complex geometries, 3D flows, and multi-physics scenarios with limited measurements.
Abstract
Simultaneously detecting hidden solid boundaries and reconstructing flow fields from sparse observations poses a significant inverse challenge in fluid mechanics. This study presents a physics-informed neural network (PINN) framework designed to infer the presence, shape, and motion of static or moving solid boundaries within a flow field. By integrating a body fraction parameter into the governing equations, the model enforces no-slip/no-penetration boundary conditions in solid regions while preserving conservation laws of fluid dynamics. Using partial flow field data, the method simultaneously reconstructs the unknown flow field and infers the body fraction distribution, thereby revealing solid boundaries. The framework is validated across diverse scenarios, including incompressible Navier-Stokes and compressible Euler flows, such as steady flow past a fixed cylinder, an inline oscillating cylinder, and subsonic flow over an airfoil. The results demonstrate accurate detection of hidden boundaries, reconstruction of missing flow data, and estimation of trajectories and velocities of a moving body. Further analysis examines the effects of data sparsity, velocity-only measurements, and noise on inference accuracy. The proposed method exhibits robustness and versatility, highlighting its potential for applications when only limited experimental or numerical data are available.
