Enforcing boundary conditions for physics-informed neural operators

Niklas Göschel, Sebastian Götschel, Daniel Ruprecht
10/28/2025
math.NAcs.LG

No confident code implementation found for this paper.

Abstract

Machine-learning based methods like physics-informed neural networks and physics-informed neural operators are becoming increasingly adept at solving even complex systems of partial differential equations. Boundary conditions can be enforced either weakly by penalizing deviations in the loss function or strongly by training a solution structure that inherently matches the prescribed values and derivatives. The former approach is easy to implement but the latter can provide benefits with respect to accuracy and training times. However, previous approaches to strongly enforcing Neumann or Robin boundary conditions require a domain with a fully $C^1$ boundary and, as we demonstrate, can lead to instability if those boundary conditions are posed on a segment of the boundary that is piecewise $C^1$ but only $C^0$ globally. We introduce a generalization of the approach by Sukumar \& Srivastava (doi: 10.1016/j.cma.2021.114333), and a new approach based on orthogonal projections that overcome this limitation. The performance of these new techniques is compared against weakly and semi-weakly enforced boundary conditions for the scalar Darcy flow equation and the stationary Navier-Stokes equations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gschel2025enforcing,
  title  = {Enforcing boundary conditions for physics-informed neural operators},
  author = {Niklas Göschel and Sebastian Götschel and Daniel Ruprecht},
  year   = {2025},
  eprint = {2510.24557},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.24557v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.24557.svg)](https://codeofpaper.com/paper/2510.24557)

Discussion