English

Hard Constraint Projection in a Physics Informed Neural Network

Fluid Dynamics 2026-01-13 v1 Machine Learning

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.

Keywords

Cite

@article{arxiv.2601.06244,
  title  = {Hard Constraint Projection in a Physics Informed Neural Network},
  author = {Miranda J. S. Horne and Peter K. Jimack and Amirul Khan and He Wang},
  journal= {arXiv preprint arXiv:2601.06244},
  year   = {2026}
}

Comments

6 pages, 3 figures, Accepted manuscript of the paper presented at ParCFD2024

R2 v1 2026-07-01T08:58:26.551Z