8
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

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

      research-article

      Read this article at

          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          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.

          Related collections

          Most cited references40

          • Record: found
          • Abstract: not found
          • Article: not found

          Physics-Informed Neural Networks: A Deep Learning Framework for Solving Forward and Inverse Problems Involving Nonlinear Partial Differential Equations

            Bookmark
            • Record: found
            • Abstract: not found
            • Article: not found

            Artificial neural networks for solving ordinary and partial differential equations

              Bookmark
              • Record: found
              • Abstract: not found
              • Article: not found

              DGM: A deep learning algorithm for solving partial differential equations

                Bookmark

                Author and article information

                Contributors
                Journal
                Heliyon
                Heliyon
                Heliyon
                Elsevier
                2405-8440
                02 August 2023
                August 2023
                02 August 2023
                : 9
                : 8
                : e18820
                Affiliations
                [a ]Dipartimento di Scienze Matematiche, Politecnico di Torino, Corso Duca degli Abruzzi 24, 10129 Torino, Italy
                [b ]Department of Civil and Environmental Engineering, University of California, Davis, CA 95616, USA
                Author notes
                [* ]Corresponding author. moreno.pintore@ 123456polito.it
                Article
                S2405-8440(23)06028-0 e18820
                10.1016/j.heliyon.2023.e18820
                10432987
                64ad3976-4c90-426a-82eb-5026edc366c4
                © 2023 The Author(s)

                This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).

                History
                : 13 July 2023
                : 29 July 2023
                : 29 July 2023
                Categories
                Research Article

                35a15,65l10,65l20,65k10,68t05,dirichlet boundary conditions,pinn,vpinn,deep neural networks,approximate distance function

                Comments

                Comment on this article