Manuscript Offprint

arXiv:2610.10862

A mesh-based neural energy method for the simulation of heterogeneous composites

Pius J. M. Wichmann, Stefan Hildebrand, Sandra Klinge

Abstract

Modeling heterogeneous materials remains a challenge for physics-informed neural networks such as the deep energy method (DEM). The DEM and its variants, here collectively referred to as the neural energy method (NEM), offer a differentiable variational framework. However, their conventional collocation-based implementation (C-NEM) often suffers from physically inadmissible displacement oscillations, integration errors, and high computational costs from automatic differentiation. This work introduces the mesh-based neural energy method (M-NEM), extending the NEM through a mesh-based discretization of the displacement field. By interpolating nodal displacements via shape functions, the M-NEM imposes a kinematic constraint that suppresses oscillations. Furthermore, the method replaces automatic differentiation with algebraic shape function derivatives for strain computation and employs high-order Gaussian quadrature for accurate energy integration. On a directly comparable benchmark problem, the M-NEM reduces stress errors by up to three orders of magnitude relative to the C-NEM while being one to two orders of magnitude faster. On two further benchmarks involving extreme stiffness contrasts, only the M-NEM converges. A comparative study of neural architectures reveals that radial basis function neural networks (RBFNNs) yield optimal performance within the M-NEM, resolving sharp gradients at material interfaces with higher accuracy than multi-layer perceptrons (MLPs) with random Fourier feature (RFF) mapping and faster convergence than Kolmogorov-Arnold networks (KANs).

Keywords: Deep energy method, Heterogeneous composites, Radial basis function neural networks, Physics-informed neural networks, Solid body mechanics

1. Introduction

Heterogeneous composites are fundamental to both engineering and nature, ranging from biological tissues to fiber-reinforced industrial structures. The simulation of these materials is numerically challenging due to the discontinuities and stress concentrations caused by substantial contrasts in stiffness [1][1].

In recent years, machine learning approaches for solid mechanics simulations have gained increasing traction [2, 3]. Most notably, physics-informed neural networks (PINNs) [4, 5] stand out for their potential to efficiently solve geometrically complex, high-dimensional or inverse problems [6], demonstrating remarkable versatility in tasks such as parameter identification, material characterization, and design optimization [7, 8, 9]. In this approach, the solution is approximated by a neural network and the loss function is derived from physical laws, typically expressed as the residual of the governing partial differential equations (PDEs) and evaluated on a set of collocation points. To reduce the continuity requirements imposed by strong-form PDEs, variational physics-informed neural networks (vPINNs) have been proposed [10, 11, 12, 13]. In this framework, samples of test functions are evaluated to enforce compliance with the weak form of the PDE.

∗^{*}Corresponding author

Email address: p.wichmann@campus.tu-berlin.de (Pius J. M. Wichmann)

In elastostatics, the principle of minimum potential energy is employed directly by the deep energy method (DEM) [14, 15], eliminating the need to evaluate test functions. In contrast to strong-form PINNs, the DEM requires only first-order derivatives of the displacement field.

The structure of the DEM is largely modular, allowing for the independent exchange of core components [16]. Specifically, the standard multi-layer perceptron (MLP) can be enhanced by input encoding via random Fourier feature (RFF) mapping [17] or replaced by other network architectures, such as radial-basis-function neural networks (RBFNNs) in the shallow energy method (SEM) [18], Kolmogorov-Arnold networks (KANs) [19, 20], and graph neural networks (GNNs) [21, 22, 23]. Alternatively, nodal values in a finite element interpolation are optimized directly [24], or their shape functions constructed by a neural network and optimized together with the mesh coordinates in the HiDeNN-FEM [25]. To unify the terminology, this broad group of energy minimization approaches is referred to as neural energy method (NEM) in the following. The evaluation of the energy functional is conventionally performed on collocation points, and is referred to hereafter as the collocation-based neural energy method (C-NEM). The numerical integration scheme used to compute the total potential energy has been shown to be crucial for the accuracy of the NEM [15]. Various approaches have been implemented, including Monte Carlo sampling [14], Newton-Cotes formulas [15], domain-wide Gaussian quadrature [26], and quadrature based on Delaunay triangulation [27].

Despite these advancements, the application of the C-NEM to heterogeneous composites faces several challenges. (i) Complex structures require a substantial number of collocation points to limit physically inadmissible displacement oscillations, a phenomenon here referred to as geometric overfitting. (ii) Computing the deformation gradient via automatic differentiation increases computational overhead and memory consumption. (iii) In heterogeneous materials where the strain energy density varies abruptly across inclusions, stochastic or low-order integration schemes introduce significant aliasing errors. Finally, a fourth, independent challenge arises from the network architecture itself: conventional MLPs suffer from spectral bias, prioritizing the learning of low-frequency features while struggling to capture the sharp gradients present at material interfaces [28].

To address these issues, the current work proposes the mesh-based neural energy method (M-NEM), extending the NEM through a mesh-based discretization. Shape-function interpolation, algebraic derivatives, and element-level Gaussian quadrature address the first three challenges. The fourth challenge of spectral bias is addressed by investigating the efficacy of alternative network architectures within this framework in a comparative study of MLPs with RFF mapping, KANs, and RBFNNs.

The remainder of this paper is organized as follows: Section 2 outlines the continuum mechanics foundation, the general NEM formulation, and the examined neural network architectures. Section 3 presents the methodology of the M-NEM and details how mesh-based discretization benefits the training process. Section 4 validates the approach through benchmark problems involving stiff inclusions and real-world material composites. Finally, Section 5 summarizes the findings and discusses future directions.

References (50)