Using neural networks to approximate the solutions of differential equations

Bachelor Thesis (2021)
Author(s)

C.A. van Vliet (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Contributor(s)

S. Kenjeres – Mentor (TU Delft - ChemE/Transport Phenomena)

C. Vuik – Mentor (TU Delft - Numerical Analysis)

B. Bera – Graduation committee member (TU Delft - ChemE/Transport Phenomena)

J.L.A. Dubbeldam – Graduation committee member (TU Delft - Mathematical Physics)

Faculty
Electrical Engineering, Mathematics and Computer Science
Copyright
© 2021 Christiaan van Vliet
More Info
expand_more
Publication Year
2021
Language
English
Copyright
© 2021 Christiaan van Vliet
Graduation Date
07-07-2021
Awarding Institution
Delft University of Technology
Faculty
Electrical Engineering, Mathematics and Computer Science
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

In this work neural networks are used to approximate the solutions of multiple differential equa- tions. Three main differential equations are investigated: the mass-spring equation, the heat equation and the Navier-Stokes equations coupled with the continuity equation. Each of these equations are approached differently with the current methods, therefore these equations test the applicability of the newly proposed method on a general differential equation. The results of various experiments performed in this work show that the method is able to approximate to great precision the mass-spring equation as well as the heat equation. However, the method does not perform well on the Navier-Stokes equations coupled with the continuity equation. The main advantage of this method is that meshes used by this method can often be very small compared to other approximation algorithms. When a slight decrease in performance is allowed, the method can be made completely mesh free. A huge drawback of the method is that there is no guarantee that the method will generate a reasonable approximation, for a given neural network configuration. This makes it necessary to look for a good configuration of the neural network. At this moment, this can only be done using trial and error and is therefore very time-consuming. Sometimes no good configuration is found at all. Another drawback is that the generated approximation does not satisfy the boundary and initial conditions. Multiple ways are proposed in this work to tackle this problem, but they introduce much more complexity and a performance decrease. The neural networks used in this work are generated using software called PyTorch, which comes with an automatic analytic differentiation tool. This part of PyTorch makes it possible to approximate differential equations using neural networks.

Files

License info not available