Physics-informed neural network with weighted loss and hard constraints for hyperbolic conservation laws
Mahshid Sadat Ghoreishi, H. Naderan
Amirkabir University of Technology
Key points
From the paper's conclusion- WHC-PINN solves hyperbolic equations with the aid of a gradient weighting approach and by applying hard constraints.
Abstract
In this study, we proposed a weighted loss hard constraint physics-informed neural networks (PINNs) called WHC-PINN. WHC-PINN solves hyperbolic equations with the aid of a gradient weighting approach and by applying hard constraints. Euler equations are chosen for analysis and validation of WHC-PINN, as they represent a common and useful model for compressible fluid flow that includes shock waves and contact discontinuities. This is an important test case from a practical point of view, as resolving discontinuities with PINNs remains challenging. Accordingly, we explore two well-known fundamental problems of Euler equations, i.e., Riemann, and the converging-diverging nozzle. While solvers in other studies have successfully addressed one of the converging-diverging nozzle or Riemann problems with different formulations, our proposed solver can tackle both problems with the unified conservative formulations by incorporating specific features. Furthermore, given the distinct nature of the two selection problems, WHC-PINN solver is capable of addressing both initial value and boundary value problems, and we think that WHC-PINN is a step forward in using PINNs as a general-purpose compressible flow solver. Through comparing WHC-PINN results and analytical solutions, WHC-PINN could accurately capture the shock locations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- WF-PINNs: solving forward and inverse problems of burgers equation with steep gradients using weak-form physics-informed neural networksScientific Reports · 2025
- Gen-PINNs: Generative Adversarial Physics Informed Neural Networks for solving partial differential equationsarXiv · 2026
- Feature tracking in physics-informed neural networks via joint optimization of nonlinear deformation manifolds: application to shocksarXiv · 2026
- Hard Constraint Projection in a Physics Informed Neural Network (Burgers)arXiv · 2026
- Review of Physics-Informed Neural Networks: Challenges in Loss Function Design and Geometric IntegrationMathematics · 2025
- PINN-LPCDD: Physics-Informed Neural Network with Learnable and Physically Consistent Domain Decomposition for Compressible Multi-Medium FlowsarXiv · 2026