An Energy Approach to the Solution of Partial Differential Equations in Computational Mechanics via Machine Learning: Concepts, Implementation and Applications
Esteban SamaniegoCosmin AnitescuSomdatta GoswamiVien Minh Nguyen-ThanhHongwei GuoKhader HamdiaTimon RabczukXiaoying Zhuang
Proposes a deep learning approach for solving partial differential equations in computational mechanics by minimizing the potential energy of mechanical systems, providing a mesh-free alternative to finite element and collocation-based methods.
Computational modeling of mechanical systems relies heavily on partial differential equations to predict structural behavior, deformation, and failure. Traditional discretization techniques like the finite element method can face significant implementation overhead, particularly when dealing with complex geometries, coupled physics, or higher-order derivatives. While deep learning has recently emerged as an alternative numerical tool, most early machine learning solvers apply point-wise collocation against the strong form of governing equations, which often struggle with non-smooth behaviors and derivative constraints. The article evaluates the Deep Energy Method, a framework that uses deep neural networks to approximate unknown physical fields by directly minimizing the system's total variational potential energy.
To establish this framework, the article implemented deep feed-forward neural networks across open-source machine learning platforms. Rather than training on pre-existing simulation datasets to build surrogate models, the networks serve directly as the continuous approximation space. The training loss function corresponds to the potential energy computed across integration points in the domain, optimized via first-order gradient descent combined with quasi-Newton solvers. The method was validated across a comprehensive suite of computational mechanics benchmarks, including two- and three-dimensional linear elasticity, elastodynamics, 3D hyperelasticity under finite deformation, phase-field fracture modeling, piezoelectric coupling, and fourth-order Kirchhoff plate bending.
The findings demonstrate that the energy-based approach consistently matches or exceeds the accuracy of traditional point collocation methods while requiring less computational overhead. In linear elastic benchmarks, displacement errors remained between 0.5% and 1.8%, while energy norm errors remained around 3.2% to 5.3%. In fracture modeling, the energy method captured crack profiles with an error of 2.88%, whereas collocation produced an error of 70.6% and required ten times as many training iterations due to sharp gradient transitions. For fourth-order plate bending problems, tailoring the neural network activation functions and integrating autoencoder architectures significantly improved convergence, achieving relative deflection errors as low as 0.001% without requiring the difficult C1 continuity constraints demanded by conventional mesh-based methods.
These results show that the Deep Energy Method offers an effective, mesh-free alternative for complex physical simulations. By embedding physical principles directly into the optimization objective, standard machine learning platforms can solve coupled and high-order partial differential equations with minimal code complexity and automatic handling of natural boundary conditions. However, the resulting discrete optimization problems are non-convex, and the current training times remain slower than optimized traditional solvers. Decision-makers should view this framework as a promising foundational method, with future technical efforts needed to accelerate training pipelines and enhance optimization stability for large-scale industrial use cases.
- Paper: DGM: A deep learning algorithm for solving partial differential equations, Justin Sirignano et al. (2017). Sirignano and Spiliopoulos introduce the Deep Galerkin Method (DGM), establishing foundational concepts for solving partial differential equations with meshfree deep neural networks that the source adapts to an energy-based formulation.
- Paper: Automatic differentiation in machine learning: a survey, Atilim Gunes Baydin et al. (2018). This survey provides essential background on automatic differentiation, which forms the computational backbone for evaluating differential operators and energy functionals in neural network PDE solvers.
- Paper: DeepXDE: A Deep Learning Library for Solving Differential Equations, Lu Lu et al. (2019). DeepXDE expands the machine learning framework for solving differential equations into an open-source library supporting automatic differentiation and residual-based adaptive refinement across scientific benchmarks.
- Paper: Scientific Machine Learning Through Physics–Informed Neural Networks: Where we are and What’s Next, Salvatore Cuomo et al. (2022). This comprehensive review surveys physics-informed neural networks and collocation-based methodologies, offering a broader perspective on modern scientific machine learning architectures and extensions.
- Paper: Fourier Neural Operator for Parametric Partial Differential Equations, Zongyi Li et al. (2020). The Fourier Neural Operator extends neural PDE approximation from single-instance solutions to learning mesh-invariant mappings between continuous function spaces for parametric systems.
- Paper: Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators, Lu Lu et al. (2021). DeepONet generalizes function approximation for differential equations to learning infinite-dimensional nonlinear operators via branch and trunk subnetworks.
- Paper: KAN: Kolmogorov-Arnold Networks, Ziming Liu et al. (2025). Kolmogorov-Arnold Networks introduce learnable spline-based activation functions that improve accuracy and parameter efficiency over standard MLPs when solving PDEs and scientific problems.
- Paper: Neural means and kernel corrections for operator learning, Yitzchak Shmalo (2026). This text develops hybrid operator learning frameworks combining neural networks with kernel methods to enhance accuracy and representation for forward physical systems.
