Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks
arXiv:2210.14795 · doi:10.1016/j.heliyon.2023.e18820
Abstract
In this paper, we present and compare four methods to enforce Dirichlet boundary conditions in Physics-Informed Neural Networks (PINNs) and Variational Physics-Informed Neural Networks (VPINNs). Such conditions are usually imposed by adding penalization terms in the loss function and properly choosing the corresponding scaling coefficients; however, in practice, this requires an expensive tuning phase. We show through several numerical tests that modifying the output of the neural network to exactly match the prescribed values leads to more efficient and accurate solvers. The best results are achieved by exactly enforcing the Dirichlet boundary conditions by means of an approximate distance function. We also show that variationally imposing the Dirichlet boundary conditions via Nitsche's method leads to suboptimal solvers.
arXiv comment22 pages, 45 figures
References in corpus (13)
- Artificial Neural Networks for Solving Ordinary and Partial Differential Equations
- DGM: A deep learning algorithm for solving partial differential equations
- Solving high-dimensional partial differential equations using deep learning
- B-PINNs: Bayesian Physics-Informed Neural Networks for Forward and Inverse PDE Problems with Noisy Data
- Physics-Constrained Deep Learning for High-dimensional Surrogate Modeling and Uncertainty Quantification without Labeled Data
- hp-VPINNs: Variational Physics-Informed Neural Networks With Domain Decomposition
- Physics-informed neural networks for inverse problems in nano-optics and metamaterials
- PhyGeoNet: Physics-Informed Geometry-Adaptive Convolutional Neural Networks for Solving Parameterized Steady-State PDEs on Irregular Domain
- Artificial Neural Network Methods in Quantum Mechanics
- An overview on deep learning-based approximation methods for partial differential equations
- Variational Physics Informed Neural Networks: the role of quadratures and test functions
- Adaptive deep density approximation for Fokker-Planck equations
- Solving PDEs by Variational Physics-Informed Neural Networks: an a posteriori error analysis
Cited by in corpus (4)
- Finite element interpolated neural networks for solving forward and inverse problems
- Optimizing Variational Physics-Informed Neural Networks Using Least Squares
- Meshfree Variational Physics Informed Neural Networks (MF-VPINN): an adaptive training strategy
- Unfitted finite element interpolated neural networks