Exact imposition of boundary conditions with distance functions in physics-informed deep neural networks

被引:189
作者
Sukumar, N. [1 ]
Srivastava, Ankit [2 ]
机构
[1] Univ Calif Davis, Dept Civil & Environm Engn, Davis, CA 95616 USA
[2] IIT, Dept Mech Mat & Aerosp Engn, Chicago, IL 60616 USA
基金
美国国家科学基金会;
关键词
Deep learning; Meshfree method; Distance function; R-function; Transfinite interpolation; Exact geometry; DATA APPROXIMATION SCHEME; FINITE-ELEMENTS; INTERPOLATION; MULTIQUADRICS; CONSTRUCTION; ALGORITHM; GEOMETRY;
D O I
10.1016/j.cma.2021.114333
中图分类号
T [工业技术];
学科分类号
120111 [工业工程];
摘要
In this paper, we introduce a new approach based on distance fields to exactly impose boundary conditions in physics-informed deep neural networks. The challenges in satisfying Dirichlet boundary conditions in meshfree and particle methods are well-known. This issue is also pertinent in the development of physics informed neural networks (PINN) for the solution of partial differential equations. We introduce geometry-aware trial functions in artificial neural networks to improve the training in deep learning for partial differential equations. To this end, we use concepts from constructive solid geometry (R-functions) and generalized barycentric coordinates (mean value potential fields) to construct phi(x), an approximate distance function to the boundary of a domain in R-d. To exactly impose homogeneous Dirichlet boundary conditions, the trial function is taken as phi(x) multiplied by the PINN approximation, and its generalization via transfinite interpolation is used to a priori satisfy inhomogeneous Dirichlet (essential), Neumann (natural), and Robin boundary conditions on complex geometries. In doing so, we eliminate modeling error associated with the satisfaction of boundary conditions in a collocation method and ensure that kinematic admissibility is met pointwise in a Ritz method. With this new ansatz, the training for the neural network is simplified: sole contribution to the loss function is from the residual error at interior collocation points where the governing equation is required to be satisfied. Numerical solutions are computed using strong form collocation and Ritz minimization. To convey the main ideas and to assess the accuracy of the approach, we present numerical solutions for linear and nonlinear boundary-value problems over convex and nonconvex polygonal domains as well as over domains with curved boundaries. Benchmark problems in one dimension for linear elasticity, advection-diffusion, and beam bending; and in two dimensions for the steady-state heat equation, Laplace equation, biharmonic equation (Kirchhoff plate bending), and the nonlinear Eikonal equation are considered. The construction of approximate distance functions using R-functions extends to higher dimensions, and we showcase its use by solving a Poisson problem with homogeneous Dirichlet boundary conditions over the four-dimensional hypercube. The proposed approach consistently outperforms a standard PINN-based collocation method, which underscores the importance of exactly (a priori) satisfying the boundary condition when constructing a loss function in PINN. This study provides a pathway for meshfree analysis to be conducted on the exact geometry without domain discretization. (C) 2021 Elsevier B.V. All rights reserved.
引用
收藏
页数:50
相关论文
共 113 条
[1]  
Abadi M, 2016, PROCEEDINGS OF OSDI'16: 12TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P265
[2]  
Anisimov D., 2017, BARYCENTRIC COORDINA, P3
[3]  
[Anonymous], 2007, MESHFREE APPROXIMATI
[4]  
[Anonymous], 2019, Variational physics-informed neural networks for solving partial differential equations
[5]   Local maximum-entropy approximation schemes:: a seamless bridge between finite elements and meshfree methods [J].
Arroyo, M ;
Ortiz, M .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2006, 65 (13) :2167-2202
[6]  
Arroyo M., 2007, MESHFREE METHODS PAR, V57, P1
[7]  
Babuska I., 2003, Acta Numerica, V12, P1, DOI 10.1017/S0962492902000090
[8]  
Babuska I, 1997, INT J NUMER METH ENG, V40, P727, DOI 10.1002/(SICI)1097-0207(19970228)40:4<727::AID-NME86>3.0.CO
[9]  
2-N
[10]  
Barthe L., 2004, International Journal of Shape Modeling, V10, P135, DOI 10.1142/S021865430400064X