Neural Networks to solve Partial Differential Equations: a Comparison with Finite Elements

01/10/2022
by   Andrea Sacchetti, et al.
0

We compare the Finite Element Method (FEM) simulation of a standard Partial Differential Equation thermal problem of a plate with a hole with a Neural Network (NN) simulation. The largest deviation from the true solution obtained from FEM (0.015 for a solution on the order of unity) is easily achieved with NN too without much tuning of the hyperparameters. Accuracies below 0.01 instead require refinement with an alternative optimizer to reach a similar performance with NN. A rough comparison between the Floating Point Operations values, as a machine-independent quantification of the computational performance, suggests a significant difference between FEM and NN in favour of the former. This also strongly holds for computation time: for an accuracy on the order of 10^-5, FEM and NN require 54 and 1100 seconds, respectively. A detailed analysis of the effect of varying different hyperparameters shows that accuracy and computational time only weakly depend on the major part of them. Accuracies below 0.01 cannot be achieved with the "adam” optimizers and it looks as though accuracies below 10^-5 cannot be achieved at all. In conclusion, the present work shows that for the concrete case of solving a steady-state 2D heat equation, the performance of a FEM algorithm is significantly better than the solution via networks.

READ FULL TEXT

page 4

page 6

page 7

page 8

research
06/16/2021

Application of a High Order Accurate Meshless Method to Solution of Heat Conduction in Complex Geometries

In recent years, a variety of meshless methods have been developed to so...
research
06/11/2022

Local Randomized Neural Networks with Discontinuous Galerkin Methods for Partial Differential Equations

Randomized neural networks (RNN) are a variation of neural networks in w...
research
02/17/2022

Enhanced DeepONet for Modeling Partial Differential Operators Considering Multiple Input Functions

Machine learning, especially deep learning is gaining much attention due...
research
11/17/2017

Solving Poisson's Equation on the Microsoft HoloLens

We present a mixed reality application (HoloFEM) for the Microsoft HoloL...
research
11/10/2021

Error Estimate for the Heat Equation on a Coupled Moving Domain in a Fully Eulerian Framework

We introduce an unfitted finite element method with Lagrange-multipliers...
research
09/25/2022

Deep Reinforcement Learning for Adaptive Mesh Refinement

Finite element discretizations of problems in computational physics ofte...

Please sign up or login with your details

Forgot password? Click here to reset