Neural network-based multiscale modeling of finite strain magneto-elasticity with relaxed convexity criteria

Karl A. Kalina, Philipp Gebhart, Jörg Brummund, Lennart Linden, WaiChing Sun, Markus Kästner

TL;DR

This paper introduces a physics-augmented neural network (PANN) framework for modeling the complex, multiscale behavior of magneto-active polymers (MAPs). By relaxing global physical constraints like polyconvexity into local, weakly enforced requirements, the authors created a model that is both physically consistent and flexible enough to outperform traditional constitutive models.

What Problem Does This Paper Address?

Magneto-active polymers (MAPs) are "smart" materials—typically a soft polymer matrix filled with magnetizable particles—that change their shape or stiffness when exposed to a magnetic field. They are essential for soft robotics, actuators, and medical devices.

However, modeling them is a nightmare for engineers. You have two choices:

  1. Microscopic models: Highly accurate but computationally "expensive" because they simulate every particle interaction.
  2. Macroscopic models: Fast but often too simple (phenomenological) to capture the complex, nonlinear coupling between magnetism and mechanical strain.

Recently, researchers have turned to Neural Networks (NNs) as "surrogate models" to bridge this gap. The problem? Standard NNs are "black boxes" that often violate basic laws of physics (like thermodynamics) or predict unstable material behavior when they see data outside their training set. This paper tackles the challenge of building an NN that is fast, accurate, and physically "well-behaved."

Methods

The authors developed Physics-Augmented Neural Networks (PANNs). Instead of just mapping inputs to outputs, they baked physics directly into the architecture:

  • Invariants as Inputs: The NNs use problem-specific "invariants" (mathematical quantities that don't change with rotation) to automatically satisfy material symmetry.
  • Energy-Based Output: The network predicts a scalar energy potential. Stresses and magnetic fields are then derived from this potential using automatic differentiation, ensuring thermodynamic consistency by construction.
  • Sobolev Training: The model isn't just trained on energy values; it's trained on the derivatives (stresses and magnetic fields), a technique known as Sobolev training, which significantly improves accuracy.

The core innovation lies in how they handle convexity. Convexity is a mathematical requirement that ensures material stability (e.g., a material shouldn't spontaneously collapse). The authors compared three approaches:

  1. Global Polyconvexity: Using Input Convex Neural Networks (ICNNs) to enforce stability everywhere.
  2. Relaxed Local Polyconvexity: Enforcing stability only in the regions of the data space where the material actually operates, using a tailored penalty term in the loss function.
  3. Local Strong Ellipticity: An even weaker local constraint that ensures wave propagation remains physically sensible.

Datasets

Since experimental data for every possible state of a MAP is hard to get, the authors generated a synthetic database using computational homogenization.

  • They simulated 2D Statistical Volume Elements (SVEs) containing 400 particles.
  • They modeled two distinct material types: compressible (gel-like) and quasi-incompressible (elastomer-like) MAPs.
  • They used an invariant-based sampling technique (Latin Hypercube Sampling) to ensure the training data covered a wide and relevant range of mechanical and magnetic states.

Key Insights and Ideas

  • The "Too Rigid" Problem: The authors found that enforcing global polyconvexity (via ICNNs) was actually detrimental. It made the model too "stiff" to capture the nuanced mechanical stress response of MAPs.
  • Relaxation is Key: By moving from global constraints to local ones (enforced via loss terms), the model gained the flexibility needed to fit the data while still remaining stable in practical scenarios.
  • The Vacuum Contribution: The paper highlights that for MAPs, the "vacuum" part of the magnetic energy is non-trainable and must be handled separately to ensure the model doesn't try to "learn" physics that is already known.
  • Interpolation vs. Extrapolation: While all models did well at interpolating (predicting within the training range), the physics-augmented models showed much better physical "common sense" when extrapolating to unseen states.

Key Results

  • Accuracy: The relaxed NN models (Models II and III) achieved near-perfect fits, with coefficients of determination ($R^2$) essentially at 1.00 for magnetization and mechanical stress.
  • Performance vs. Tradition: The PANN approach significantly outperformed the conventional phenomenological model (the Gebhart & Wallmersperger model) used as a benchmark, especially in capturing the "S-shaped" coupling between magnetic fields and mechanical stress.
  • Stability: Even though Model III didn't enforce polyconvexity globally, the "post-training" with a local polyconvexity loss successfully shifted the model's eigenvalues into the stable range without sacrificing accuracy.

Limitations and Future Work

  • 2D vs. 3D: The current study is limited to 2D plane strain states. The authors acknowledge that moving to 3D will increase the number of invariants and the complexity of the Hessian matrix used for stability checks.
  • Dissipative Behavior: The current framework assumes "hyperelastic" (reversible) behavior. Real-world MAPs often exhibit hysteresis and viscoelasticity (energy loss), which the authors plan to address in future "physics-informed" iterations.
  • Anisotropy: The current models assume isotropic particle distributions. Future work will look at "pre-structured" MAPs where particles are arranged in chains, requiring more complex anisotropic invariants.

Summary updated

Abstract

We present a framework for the multiscale modeling of finite strain magneto-elasticity based on physics-augmented neural networks (NNs). By using a set of problem specific invariants as input, an energy functional as the output and by adding several non-trainable expressions to the overall total energy density functional, the model fulfills multiple physical principles by construction, e.g., thermodynamic consistency and material symmetry. Three NN-based models with varying requirements in terms of an extended polyconvexity condition of the magneto-elastic potential are presented. First, polyconvexity, which is a global concept, is enforced via input convex neural networks (ICNNs). Afterwards, we formulate a relaxed local version of the polyconvexity and fulfill it in a weak sense by adding a tailored loss term. As an alternative, a loss term to enforce the weaker requirement of strong ellipticity locally is proposed, which can be favorable to obtain a better trade-off between compatibility with data and physical constraints. Databases for training of the models are generated via computational homogenization for both compressible and quasi-incompressible magneto-active polymers (MAPs). Thereby, to reduce the computational cost, 2D statistical volume elements and an invariant-based sampling technique for the pre-selection of relevant states are used. All models are calibrated by using the database, whereby interpolation and extrapolation are considered separately. Furthermore, the performance of the NN models is compared to a conventional model from the literature. The numerical study suggests that the proposed physics-augmented NN approach is advantageous over the conventional model for MAPs. Thereby, the two more flexible NN models in combination with the weakly enforced local polyconvexity lead to good results, whereas the model based only on ICNNs has proven to be too restrictive.
BibTeX
@inproceedings{kalina2024neural,
  author = {Karl A. Kalina and Philipp Gebhart and Jörg Brummund and Lennart Linden and WaiChing Sun and Markus Kästner},
  title = {{Neural network-based multiscale modeling of finite strain magneto-elasticity with relaxed convexity criteria}},
  booktitle = {Computer},
  year = {2024},
  doi = {10.1016/j.cma.2023.116739},
}
Figure