Recasting material constitutive model using Graph Neural Network (GNN)
Motivation
Graph neural networks (GNNs) can be considered an advanced form of convolutional neural networks (CNNs). While CNNs operate by utilizing the values of neighboring pixels, GNNs allow for the manual selection of which neurons are considered neighbors. This distinction makes CNNs particularly effective for handling regular datasets, such as images, whereas GNNs excel in managing irregular datasets as well as regular datasets across spatial and temporal dimensions. In this article, we leverage the unique characteristics of graph neural networks to reformulate the material constitutive model.
Hyperelastic model
Figure 1. Hyperelastic material model
Training step
- Randomly generate strain values, ($\varepsilon_{ij}$), within the desired range
- Calculate the volumetric strain, ($\varepsilon_{v}$), and deviatoric strain, ($\varepsilon_{s}$), at each strain point.
- Randomly select a number of data points, ranging from 3 to 10
- Construct a graph using Delaunay triangulation in the ($\varepsilon_{v}$, $\varepsilon_{s}$) space
Figure 2. Structure of GNN
Figure 3. Loss curve for training 1, 2, and 3
Three cases were analyzed as indicated in Figure 3:
- First Analysis:
- Utilizes the ( $L_2$ ) loss with the strain energy at the state.
- Second Analysis:
- Also employs the ( $L_2$ ) loss, but with the stress state at each strain state.
- Third Analysis:
- Implements Sobolev training, using the ( $L_2$ ) loss with the strain energy and its derivative, which should be equal to the stress.
The information is summarized in the following table:
case | Loss |
---|---|
Training 1 | $ \mathcal{L} = \text{MSE}( W^{\text{pred} } - W^{\text{ref} } ) $ |
Training 2 | $ \mathcal{L} = \text{MSE}( \boldsymbol{S}^{\text{pred} } - \boldsymbol{S}^\text{ref} ) $ |
Training 3 | $ \mathcal{L} = \text{MSE}( W^{\text{pred} } - W^{\text{ref} } ) + \text{MSE}( \dfrac{\partial W^{\text{pred} } }{\partial \boldsymbol{E}} - \boldsymbol{S}^\text{ref} ) $ |
Result
Figure 4. Result
In Figure 4, all three analyses align closely with the analytical solution. However, in the second and third figures, the first analysis exhibits the largest absolute error for both strain energy and stress. The second analysis is unable to compute the strain energy under the given conditions, which prevents the calculation of its absolute error for strain energy, but it does show a smaller absolute error for stress. In contrast, the third analysis, utilizing Sobolev training, demonstrates the smallest absolute errors for both strain energy and stress.
ElastoPlastic model
J2 Plasticity (see PyFEM)
Training step
- Randomly generate a loading path
- Generate the dataset by Randomly selecting data points from the loading path
Figure 4. Example of a loading path and input and output for GNN
Result
Figure 5. Loss curve, strain stress curve, and plastic multiplier loading step curve
As shown in Figure 5, the graph neural network could effectively capture the behavior of history-dependent material, demonstrating its ability to model complex relationships and dependencies over time.
Conclusion
- The features of Graph Neural Networks (GNNs) enable effective recasting of constitutive models
- Self-loops and directed graphs are employed to represent history-dependent material models
- GNNs are capable of handling irregular data
- Sobolev training enhances the quality of training by imposing physical laws into the neural networks
Comments powered by Disqus.