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.
BTF-PINN: Enforcing Dirichlet Boundary Conditions Without Boundary Training
Institute of Computational Mathematics and Scientific/Engineering Computing, Academy of Mathematics and System Sciences, Chinese Academy of Sciences(中国科学院数学与系统科学研究院计算数学与科学工程计算研究所);State Key Laboratory of Mathematical Sciences (SKLMS) and State Key Laboratory of Scientific and Engineering Computing (LSEC), Institute of Computational Mathematics and Scientific/Engineering Computing, Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院计算数学与科学工程计算研究所);School of Mathematical Sciences, University of Chinese Academy of Sciences(中国科学院大学数学科学学院)
Enforcing Neumann Boundary Conditions with Polynomial Extension Operators to Acheive Optimal Convergence Rates on Polytopial Meshes in the Finite Element Method
A Wachspress-based transfinite formulation for exactly enforcing Dirichlet boundary conditions on convex polygonal domains in physics-informed neural networks
University of California(加州大学);DS Simulia, Dassault Systèmes Inc.(达索系统公司)
Inverse-Dirichlet Weighting Enables Reliable Training of Physics Informed Neural Networks
Technische Universität Dresden(德累斯顿工业大学);Max Planck Institute of Molecular Cell Biology and Genetics(马克斯·普朗克分子细胞生物学与遗传学研究所);Center for Systems Biology Dresden(德累斯顿系统生物学中心);Flatiron Institute(弗拉蒂伦研究所);Helmholtz Zentrum München(亥姆霍兹慕尼黑中心);Center for Scalable Data Analytics and Artificial Intelligence ScaDS.AI(可扩展数据分析与人工智能中心(ScaDS.AI));Helmholtz-Zentrum Dresden-Rossendorf(亥姆霍兹德累斯顿罗森多夫研究中心);Center for Advanced Systems Understanding (CASUS)(高级系统理解中心(CASUS))
Effective Data Sampling Strategies and Boundary Condition Constraints of Physics-Informed Neural Networks for Identifying Material Properties in Solid Mechanics
Penalty-Free Natural Deep Ritz Method Based on de Rham Complex for High-Dimensional Dirichlet Boundary Value Problems
School of Mathematics and Statistics, Beijing Institute of Technology(北京理工大学数学与统计学院);Beijing Key Laboratory on MCAACI, Beijing Institute of Technology(北京理工大学MCAACI北京市重点实验室);Institute of Computational Mathematics and Scientific/Engineering Computing, Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院计算数学与科学工程计算研究所);University of Chinese Academy of Sciences(中国科学院大学)
INI-VPINN: A Variational Physics-Informed Neural Network with Implicit Neumann and Interface Handling for Multi-Material Domains with Geometric Singularities
Physics-informed post-processing of stabilized finite element solutions for transient convection-dominated problems
Department of Computer Technologies, Antalya Bilim University(安塔利亚比林大学计算机技术系);Institute of Applied Mathematics, Middle East Technical University(中东技术大学应用数学研究所);Department of Mathematics, Indian Institute of Technology Guwahati(印度理工学院古瓦哈提数学系)
Dual-Balancing for Physics-Informed Neural Networks
Department of Computer Science, Hong Kong Baptist University(香港 Baptist 大学计算机科学系);Institute of High Performance Computing (IHPC), Agency for Science, Technology and Research (A*STAR)(高性能计算研究所(IHPC),科技研究局(A*STAR))
WINO: A Weak-Form Physics Informed Neural Operator for Hyperelasticity on Variable Domains
School of Science, Harbin Institute of Technology, Shenzhen, P. R. China(哈尔滨工业大学深圳校区);School of Science, Harbin Institute of Technology, Shenzhen, Guangdong(哈尔滨工业大学深圳校区);Institute of Structural Mechanics, Bauhaus-Universität Weimar(魏玛 Bauhaus 大学结构力学研究所)
Solving Forward and Inverse Problems of Contact Mechanics using Physics-Informed Neural Networks
Institute for Mathematics and Computer-Based Simulation (IMCS), University of the Bundeswehr Munich(慕尼黑联邦国防军大学数学与计算机模拟研究所);Institute for the Protection of Terrestrial Infrastructures, German Aerospace Center (DLR)(德国航空航天中心陆地基础设施保护研究所)
Recovering Sharp Conductivity Features in the Finite-Data Calderón Problem with Physics-Informed Neural Networks
Institut de Ciències del Cosmos (ICCUB), Universitat de Barcelona(巴塞罗那大学宇宙科学研究所);Departament de Física Quàntica i Astrofísica, Universitat de Barcelona(巴塞罗那大学量子物理与天体物理学系);ICREA;School of Mathematics, University of Minnesota(明尼苏达大学数学学院)