Hard Constraint Projection in a Physics Informed Neural Network
Abstract
In this work, we embed hard constraints in a physics informed neural network (PINN) which predicts solutions to the 2D incompressible Navier Stokes equations. We extend the hard constraint method introduced by Chen et al. (arXiv:2012.06148) from a linear PDE to a strongly non-linear PDE. The PINN is used to estimate the stream function and pressure of the fluid, and by differentiating the stream function we can recover an incompressible velocity field. An unlearnable hard constraint projection (HCP) layer projects the predicted velocity and pressure to a hyperplane that admits only exact solutions to a discretised form of the governing equations.
Fields of Study & Subjects
Model Reduction and Neural Networks
Neural Networks and Applications
Advanced Numerical Methods in Computational Mathematics
Publication details
- Journal / source
- arXiv (Cornell University)
- Publication date
- 9 January 2026
- Document type
- Preprint