A trial solution for imposing boundary conditions of partial differential equations in physics-informed neural networks

被引:1
|
作者
Manavi, Seyedalborz [1 ]
Fattahi, Ehsan [1 ]
Becker, Thomas [1 ]
机构
[1] Tech Univ Munich, Chair Brewing & Beverage Technol, Res Grp Fluid Dynam, Freising Weihenstephan, Germany
关键词
Hard constraint; Surrogate modelling; Physics-informed neural networks; Partial differential equations;
D O I
10.1016/j.engappai.2023.107236
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This article proposes an auxiliary function for imposing the boundary and initial conditions in physics-informed neural network models in a hard manner that accelerates the learning process. This auxiliary function consists of two pre-trained neural networks and a main deep neural network with trainable parameters. The novelty of this new auxiliary function is the input of main deep neural network, which takes the outputs of distance function and boundary function as inputs in addition to the spatiotemporal variables. We demonstrate the efficacy and general applicability of the proposed model by applying it to several benchmark-forward problems namely, advection, Helmholtz and Klein-Gordon equations. The accuracy of predictions is examined by comparison with exact solutions. Our findings imply the superiority of the proposed model because of the improvement of the loss convergence to lower values by one order of magnitude for the same number of epochs. In the case of the advection equation, the relative L2 error has been reduced from 0.025 to 0.0201, and from 0.016 to 0.0152. When applied to the Helmholtz equation, our novel model achieved an error of 8.67 x 10-3, surpassing the conventional model's performance, which yielded an error of 6.04 x 10-2. Furthermore, for the Klein-Gordon equation, our new model led to a remarkable reduction in the relative L2 error, from 0.18 to an impressive 4.2 x 10-2.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] Control of Partial Differential Equations via Physics-Informed Neural Networks
    Carlos J. García-Cervera
    Mathieu Kessler
    Francisco Periago
    Journal of Optimization Theory and Applications, 2023, 196 : 391 - 414
  • [2] Control of Partial Differential Equations via Physics-Informed Neural Networks
    Garcia-Cervera, Carlos J.
    Kessler, Mathieu
    Periago, Francisco
    JOURNAL OF OPTIMIZATION THEORY AND APPLICATIONS, 2023, 196 (02) : 391 - 414
  • [3] Physics-informed kernel function neural networks for solving partial differential equations
    Fu, Zhuojia
    Xu, Wenzhi
    Liu, Shuainan
    NEURAL NETWORKS, 2024, 172
  • [4] Physics-informed neural networks combined with polynomial interpolation to solve nonlinear partial differential equations
    Tang, Siping
    Feng, Xinlong
    Wu, Wei
    Xu, Hui
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2023, 132 : 48 - 62
  • [5] Surrogate-Based Physics-Informed Neural Networks for Elliptic Partial Differential Equations
    Zhi, Peng
    Wu, Yuching
    Qi, Cheng
    Zhu, Tao
    Wu, Xiao
    Wu, Hongyu
    MATHEMATICS, 2023, 11 (12)
  • [6] Automatically imposing boundary conditions for boundary value problems by unified physics-informed neural network
    Luong, Khang A.
    Le-Duc, Thang
    Lee, Jaehong
    ENGINEERING WITH COMPUTERS, 2024, 40 (03) : 1717 - 1739
  • [7] Invariant Physics-Informed Neural Networks for Ordinary Differential Equations
    Arora, Shivam
    Bihlo, Alex
    Valiquette, Francis
    JOURNAL OF MACHINE LEARNING RESEARCH, 2024, 25 : 1 - 24
  • [8] Discovering physics-informed neural networks model for solving partial differential equations through evolutionary computation
    Zhang, Bo
    Yang, Chao
    SWARM AND EVOLUTIONARY COMPUTATION, 2024, 88
  • [9] Physics-informed neural networks with adaptive loss weighting algorithm for solving partial differential equations
    Gao, Bo
    Yao, Ruoxia
    Li, Yan
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2025, 181 : 216 - 227
  • [10] Symmetry group based domain decomposition to enhance physics-informed neural networks for solving partial differential equations
    Liu, Ye
    Li, Jie-Ying
    Zhang, Li-Sheng
    Guo, Lei-Lei
    Zhang, Zhi-Yong
    CHAOS SOLITONS & FRACTALS, 2024, 189