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 条
[41]   Multiple scattering simulation via physics-informed neural networks [J].
Nair, Siddharth ;
Walsh, Timothy F. ;
Pickrell, Greg ;
Semperlotti, Fabio .
ENGINEERING WITH COMPUTERS, 2025, 41 (01) :31-50
[42]   Application of Physics-Informed Neural Networks to River Silting Simulation [J].
Omarova, Perizat ;
Amirgaliyev, Yedilkhan ;
Kozbakova, Ainur ;
Ataniyazova, Aisulyu .
APPLIED SCIENCES-BASEL, 2023, 13 (21)
[43]   Exact Dirichlet boundary Physics-informed Neural Network EPINN for solid mechanics [J].
Wang, Jiaji ;
Mo, Y. L. ;
Izzuddin, Bassam ;
Kim, Chul-Woo .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 2023, 414
[44]   Fundamentals of Physics-Informed Neural Networks Applied to Solve the Reynolds Boundary Value Problem [J].
Almqvist, Andreas .
LUBRICANTS, 2021, 9 (08)
[45]   Application of improved physics-informed neural networks for nonlinear consolidation problems with continuous drainage boundary conditions [J].
Lan, Peng ;
Su, Jing-jing ;
Ma, Xin-yan ;
Zhang, Sheng .
ACTA GEOTECHNICA, 2024, 19 (01) :495-508
[46]   Physics-informed neural networks and functional interpolation for stiff chemical kinetics [J].
De Florio, Mario ;
Schiassi, Enrico ;
Furfaro, Roberto .
CHAOS, 2022, 32 (06)
[47]   Physics-Informed Neural Networks for Cantilever Dynamics and Fluid-Induced Excitation [J].
Lee, Jeongsu ;
Park, Keunhwan ;
Jung, Wonjong .
APPLIED SCIENCES-BASEL, 2024, 14 (16)
[48]   Self-adaptive loss balanced Physics-informed neural networks [J].
Xiang, Zixue ;
Peng, Wei ;
Liu, Xu ;
Yao, Wen .
NEUROCOMPUTING, 2022, 496 :11-34
[49]   Physics-informed neural networks for the shallow-water equations on the sphere [J].
Bihlo, Alex ;
Popovych, Roman O. .
JOURNAL OF COMPUTATIONAL PHYSICS, 2022, 456
[50]   Exact enforcement of temporal continuity in sequential physics-informed neural networks [J].
Roy, Pratanu ;
Castonguay, Stephen T. .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 2024, 430