We present a comparison of Physics Informed Neural Networks (PINN) and Variational Physics Informed Neural Networks (VPINN) with higher-order and continuity Finite Element Method (FEM). We focus on the one-dimensional advection-dominated diffusion problem and the two-dimensional Eriksson–Johnson model problem. We show that the standard Galerkin method for FEM cannot solve this problem on uniform grid. We discuss the stabilization of the advection-dominated diffusion problem with the Petrov–Galerkin (PG) formulation and present the FEM solution obtained with the PG method. The main benefit of using a stabilization method is that it can deliver a good-quality approximation to the solution on a mesh that is not fully refined towards the singularity. We employ PINN and VPINN methods, defining several strong and weak loss functions. We compare the training and solutions of PINN and VPINN methods with higher-order FEM methods. We consider a case with uniform FEM and uniform distribution of points for PINN, as well as uniform distribution of test functions for VPINN. We also consider adaptive FEM, refined towards edge singularity, and non-uniform distribution of points for PINN, as well as non-uniform distribution of test functions for VPINN.
Read full abstract