arXiv:2609.10983math.NASep 2026

Manuscript Offprint

arXiv:2609.10983

A variational physics-informed graph neural network for heterogeneous solid mechanics

Aashay Rajan Yadav, Amiya Prakash Das, Ratna Kumar Annabattula

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Stress localization in heterogeneous solids is governed by the bimaterial interface, where the displacement field remains C0C^0-continuous, while in-plane stresses jump due to the stiffness mismatch. Coordinate-based physics-informed neural networks (PINNs) represent this jump via a prescribed regularization width or a weighted interface penalty, making their accuracy sensitive to how phase-contrast changes are handled. This work presents a variational, label-free physics-informed graph neural network (PI-GNN) in which the heterogeneity is carried by the discretization rather than by the trial field. The solver operates on a conforming adaptive mesh graph, assigns constitutive behavior per element, and minimizes the discrete total potential energy as a single unweighted objective in which only first derivatives appear. The discrete energy on piecewise-linear elements coincides with the finite element (FE) Ritz functional. Dirichlet conditions are enforced by construction, with no penalty term, no interface weight, and no prescribed transition width. Using one fixed architecture, optimizer, and loss across small-strain elasticity and finite-strain Neo-Hookean hyperelasticity in two and three dimensions, the von Mises error remains below 3.58% across a stiffness-contrast sweep spanning (Einc/Emat∈[10−2,102])(E_{\mathrm{inc}}/E_{\mathrm{mat}} \in [10^{-2}, 10^2]), where a strong-form PINN degrades to 5.58%, and its displacement error reaches 7.66% against 0.49% for the PI-GNN. A trained network halves the (σxx)(\sigma_{xx}) error of an energy-based PINN (5.01% versus 10.94%). Training cost exceeds a single FE solve by more than an order of magnitude, so the construction is a variationally consistent, penalty-free interface representation for parametric surrogates and inverse identification rather than a replacement for a one-off FE analysis.

Keywords: Heterogeneous materials; Neo-Hookean materials; Deep energy method; Variational methods; Physics-informed neural networks; Graph neural networks

1. Introduction

Material heterogeneity arising from inclusions, voids, and bonded interfaces governs stress localization and failure nucleation, so accurate prediction of localized fields is central to material design. The representational difficulty lies at the bimaterial interface: the displacement field is C0C^{0}-continuous, and traction is continuous, whereas in-plane stresses jump across the stiffness mismatch. Smoothing that jump misrepresents the stress gradients that govern damage nucleation [Henkes et al., 2022]. The finite element method (FEM) addresses this structurally by assigning material properties to elements on a conforming mesh.

Data-driven surrogates address this problem space for constitutive learning [Kirchdoerfer and Ortiz, 2016], stress recovery [Go et al., 2025], and composite homogenization [Maurizi et al., 2022, Xia et al., 2025]. Graph neural networks (GNNs) are mesh-native: the FE

∗^{*}Corresponding author

Email addresses: apdas@connect.ust.hk (Amiya Prakash Das), ratna@iitm.ac.in (Ratna Kumar Annabattula)

Preprint

September 11, 2026 mesh becomes a graph whose message-passing layers propagate information along nodal connectivity [Sanchez-Gonzalez et al., 2020, Zhao et al., 2024], enabling learnable physics engines for deformation and crack propagation [Zhou and Feng, 2024, Wang et al., 2025]. Supervised training, however, requires large FE datasets, so the labeling burden is reassigned rather than removed. Physics-informed neural networks (PINNs) eliminate labels by enforcing governing equations directly [Raissi et al., 2019, Haghighat et al., 2021, Cuomo et al., 2022, Henkes et al., 2022, Hu et al., 2024, Ren and Lyu, 2024], but carry two costs: a multi-objective loss requiring ad hoc balancing and noisy second derivatives at steep stress gradients [Bai et al., 2023]. The deep energy method (DEM) removes both by minimizing the total potential energy as a single scalar objective with only first derivatives [Samaniego et al., 2020, Nguyen-Thanh et al., 2020, Fuhg and Bouklas, 2022, Huang and Peng, 2024].

Neither the residual nor the energy formulation addresses the representational bias of the coordinate-based MLP (Multi-Layer Perceptron) used as the trial field. A single smooth network cannot reproduce a stress jump, so the contrast is regularized through a prescribed transition width [Henkes et al., 2022]. Domain decomposition assigns separate networks per phase, but compatibility and traction matching re-enter as penalty terms [Jagtap and Karniadakis, 2020, Jagtap et al., 2020, Sarma et al., 2024]. Alternative trial spaces—hp-VPINNs [Kharazmi et al., 2021], mixed-form PINNs [Rezaei et al., 2022, Ren and Lyu, 2024]—still interpolate from a global coordinate map with no information about where phases meet. Evaluating the loss on an FE discretization [Zhang et al., 2025, Xiong et al., 2025, Wu et al., 2026, Rezaei et al., 2025] lets the mesh carry geometry and material assignment, but the trial field remains a dense coordinate-to-value map in which neighboring nodes exchange nothing during the forward pass.

GNNs close this gap by moving the discretization into the architecture. When the trial field is parametrized on the mesh graph, each message-passing step updates a nodal state based on its neighbors. Hence, a stiffness contrast between adjacent elements is visible during the forward pass, not only in the assembled objective. Existing energy-based graph solvers remain single-phase: Gao et al. [2022] and He et al. [2023] minimize variational or energy functionals on mesh graphs under small and finite strain, respectively; Dalton et al. [2023] scales to three-dimensional (3D) geometry with anisotropic hyperelasticity; and further applications address thermal simulation [Würth et al., 2024], phase-field fracture [Feng and Zhou, 2025], laminated shells [Hu et al., 2026], and elastohydrodynamic lubrication [Brumand-Poor et al., 2025]. The most direct two-phase graph work [Guevara Garban et al., 2025] trains on FE stress labels with equilibrium as a weighted penalty. Label-free two-phase solvers remain coordinate-based [Henkes et al., 2022, Sarma et al., 2024, Rezaei et al., 2022], representing the interface through a penalty or transition width. What has not been reported is a variational graph solver, trained without labels, in which material heterogeneity is carried by the discretization itself—with no interface penalty and no transition width—under a single construction covering linear elasticity and finite-strain hyperelasticity.

This paper presents a physics-informed graph neural network (PI-GNN) that operates on a conforming mesh graph and minimizes the discrete total potential energy. Constitutive behavior is assigned per element, so the bimaterial interface emerges from the stiffness contrast between adjacent elements exactly as in FEM. Because the discrete energy on P1P_{1} elements coincides with the FE Ritz functional, the converged FE field is the exact minimizer of the training objective; FEM is therefore the benchmark, with training and inference costs reported separately.

The main contributions are:

• Heterogeneity carried by the discretization. A single unweighted energy functional is minimized across phases with no interface penalty or transition width. Across a sweep Einc/Emat∈[10−2,102]E_{\text{inc}}/E_{\text{mat}} \in [10^{-2}, 10^2] with all settings frozen, the von Mises error stays below 3.58% and displacement error below 0.5%; a strong-form PINN with fixed transition width reaches 5.58% and 7.66% (Section 3.2.2).

• Isolation of the message-passing contribution. At a fixed training budget, message passing lowers the error by 19-43% across a mesh sweep, with the margin widening as the mesh coarsens. At convergence, both variants settle on a similar loss, proving that message passing is a faster approach to the shared Ritz minimizer (Section 3.2.3).

• Benchmarking on a shared unseen mesh. The PI-GNN roughly halves the σxx\sigma_{xx} error of an energy-based PINN (5.01% versus 10.94%; 7.57% versus 15.08%), with errors measuring transfer to an unseen discretization (Sections 3.2.1 and 3.2.2).

• Robustness under one fixed model. All verification and application examples—smooth and re-entrant inclusions, combined loading, and 3D torsion—use identical architecture, hyperparameters, and loss, with displacement L2L^{2} errors below 1.5% in both 2D and 3D (Sections 3 and 4).

The remainder of the paper is organized as: Section 2 sets out the kinematics, constitutive relations, and variational GNN formulation. Section 3 reports verification and isolates the message-passing effect. Section 4 applies the framework to re-entrant inclusions, and 3D torsion; Section 5 closes with findings and future directions.

References (19)