Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks

被引:12
作者
Berrone, S. [1 ]
Canuto, C. [1 ]
Pintore, M. [1 ]
Sukumar, N. [2 ]
机构
[1] Politecn Torino, Dipartimento Sci Matemat, Corso Duca Abruzzi 24, I-10129 Turin, Italy
[2] Univ Calif Davis, Dept Civil & Environm Engn, Davis, CA 95616 USA
关键词
Dirichlet boundary conditions; PINN; VPINN; Deep neural networks; Approximate distance function; DEEP LEARNING FRAMEWORK; ALGORITHM;
D O I
10.1016/j.heliyon.2023.e18820
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
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.
引用
收藏
页数:20
相关论文
共 50 条
[31]   Parallel physics-informed neural networks via domain decomposition [J].
Shukla, Khemraj ;
Jagtap, Ameya D. ;
Karniadakis, George Em .
JOURNAL OF COMPUTATIONAL PHYSICS, 2021, 447
[32]   Physics-informed neural networks for PDE problems: a comprehensive review [J].
Luo, Kuang ;
Zhao, Jingshang ;
Wang, Yingping ;
Li, Jiayao ;
Wen, Junjie ;
Liang, Jiong ;
Soekmadji, Henry ;
Liao, Shaolin .
ARTIFICIAL INTELLIGENCE REVIEW, 2025, 58 (10)
[33]   Enhancement of physics-informed neural networks in applications to fluid dynamics [J].
Mochalin, Ievgen ;
Wang, Jinxia ;
Cai, Jiancheng ;
E, Shiju .
PHYSICS OF FLUIDS, 2025, 37 (05)
[34]   Physics-Informed Neural Networks for the Heat Equation with Source Term under Various Boundary Conditions [J].
Bowman, Brett ;
Oian, Chad ;
Kurz, Jason ;
Khan, Taufiquar ;
Gil, Eddie ;
Gamez, Nick .
ALGORITHMS, 2023, 16 (09)
[35]   Physics-informed neural networks (PINNs) for fluid mechanics: a review [J].
Cai, Shengze ;
Mao, Zhiping ;
Wang, Zhicheng ;
Yin, Minglang ;
Karniadakis, George Em .
ACTA MECHANICA SINICA, 2021, 37 (12) :1727-1738
[36]   Physics-informed neural networks for modeling atmospheric radiative transfer [J].
Zucker, Shai ;
Batenkov, Dmitry ;
Rozenhaimer, Michal Segal .
JOURNAL OF QUANTITATIVE SPECTROSCOPY & RADIATIVE TRANSFER, 2025, 331
[37]   Physics-informed neural networks for an optimal counterdiabatic quantum computation [J].
Ferrer-Sanchez, Antonio ;
Flores-Garrigos, Carlos ;
Hernani-Morales, Carlos ;
Orquin-Marques, Jose J. ;
Hegade, Narendra N. ;
Cadavid, Alejandro Gomez ;
Montalban, Iraitz ;
Solano, Enrique ;
Vives-Gilabert, Yolanda ;
Martin-Guerrero, Jose D. .
MACHINE LEARNING-SCIENCE AND TECHNOLOGY, 2024, 5 (02)
[38]   PINNeik: Eikonal solution using physics-informed neural networks [J].
bin Waheed, Umair ;
Haghighat, Ehsan ;
Alkhalifah, Tariq ;
Song, Chao ;
Hao, Qi .
COMPUTERS & GEOSCIENCES, 2021, 155
[39]   Physics-informed neural networks for parametric compressible Euler equations [J].
Wassing, Simon ;
Langer, Stefan ;
Bekemeyer, Philipp .
COMPUTERS & FLUIDS, 2024, 270
[40]   Physics-informed neural networks for incompressible flows with moving boundaries [J].
Zhu, Yongzheng ;
Kong, Weizhen ;
Deng, Jian ;
Bian, Xin .
PHYSICS OF FLUIDS, 2024, 36 (01)