Numerical Approximation of Electrohydrodynamics Model: A Comparative Study of PINNs and FEM
Mara Martinez, B. Veena S. N. Rao, S. M. Mallikarjunaiah
TL;DR
This study compares physics-informed neural networks (PINNs) to the finite element method (FEM) for solving a nonlinear one-dimensional Electrohydrodynamic boundary-value problem. By embedding the governing ODE residual and boundary conditions into a total $L^2$-type loss, the PINN learns the solution without requiring an exact analytical form, enabling a mesh-free, data-efficient approach. A comprehensive hyperparameter sweep identifies an optimal PINN configuration (100 collocation points, two hidden layers with 16 neurons, Sigmoid activation, Adamax with $\eta=0.001$) that achieves an $L^2$-error of the order $10^{-4}$, and in a direct comparison, it attains a slightly lower error with far fewer degrees of freedom than a high-resolution FEM run (1024 cells). The results demonstrate the competitive accuracy and parameter efficiency of PINNs, while also highlighting the enduring rigor and convergence guarantees of FEM. The work points to the potential of PINNs for scalable, mesh-free simulations in higher dimensions and more complex multiphysics problems, with future work focusing on theoretical convergence and scalability analyses.
Abstract
The accurate representation of numerous physical, chemical, and biological processes relies heavily on differential equations (DEs), particularly nonlinear differential equations (NDEs). While understanding these complex systems necessitates obtaining solutions to their governing equations, the derivation of precise approximations for NDEs remains a formidable task in computational mathematics. Although established techniques such as the finite element method (FEM) have long been foundational, remarkable promise for approximating continuous functions with high efficacy has recently been demonstrated by advancements in physics-informed deep-learning feedforward neural networks. In this work, a novel application of PINNs is presented for the approximation of the challenging Electrohydrodynamic (EHD) problem. A specific $L^2$-type \textit{total loss function} is employed, notably without reliance on any prior knowledge of the exact solution. A comprehensive comparative study is conducted, juxtaposing the approximation capabilities of the proposed neural network with those of the conventional FEM. The PINN training regimen is composed of two critical steps: forward propagation for adjustments to gradient and curvature, and backpropagation for the refinement of hyperparameters. The critical challenge of identifying optimal neural network architectures and hyperparameter configurations for efficient optimization is meticulously investigated. Excellent performance is shown to be delivered by the neural network even with a limited training dataset. Simultaneously, it is demonstrated that the accuracy of the FEM can be substantially enhanced through the judicious selection of smaller mesh sizes.
