Rethinking materials simulations: Blending direct numerical simulations with neural operators

Vivek Oommen, Khemraj Shukla, Saaketh Desai, Rémi Dingreville, George Em KarniadakisarXiv 2023 · DOI

Abstract

Predicting microstructure evolution in materials science is computationally intensive, often requiring Direct Numerical Simulations (DNS) that solve complex nonlinear partial differential equations. While accurate, DNS is slow due to the small timesteps needed for high spatial gradients. Conversely, purely data-driven neural surrogates are fast but prone to autoregressive error accumulation. This paper presents a hybrid framework that blends the MEMPHIS DNS solver with a temporally conditioned U-Net. This approach enables "leaping" forward in time with neural operators while periodically re-anchoring the simulation with numerical solvers, achieving up to a 16.5x speedup in Physical Vapor Deposition (PVD) simulations with minimal loss in physical fidelity.

Introduction

The simulation of microstructure evolution, such as during Physical Vapor Deposition (PVD), is a cornerstone of materials design. Traditional DNS methods provide high accuracy but are bottlenecked by computational costs. Recent efforts to use neural networks as surrogates offer speed but struggle with long-term stability. The proposed hybrid solver addresses this by orchestrating a transition between high-fidelity physics-based solvers and fast neural operators.

Methodology: The Hybrid Solver

The framework consists of two primary components:

  1. MEMPHIS (DNS Solver): A high-fidelity finite-difference solver used for initial timesteps and periodic "corrections" to ensure the simulation remains physically bounded and numerically stable.
  2. Temporally Conditioned U-Net: A neural operator designed to predict future material states at arbitrary time intervals ($\Delta t$).

Neural Operator Architecture

Unlike standard U-Nets, the model is augmented with a Multi-Layer Perceptron (MLP) that learns a set of basis functions for time. This allows the model to predict the material state at any future point by "conditioning" the latent representations of the microstructure.

The Temporally Conditioned U-Net architecture, showing hierarchical manifolds (L1-L4) and temporal conditioning via an MLP.

The hierarchical structure of the U-Net (from local dynamics at $\mathcal{L}_1$ to global dynamics at $\mathcal{L}_4$) is crucial for capturing multi-scale features, such as fast-moving solid-vapor interfaces and slow diffusion in the bulk material.

Comparison with Latent Dynamical Models

The researchers evaluated the U-Net approach against several latent-space models, including those based on DeepONet, GRUs, and Transformers. These models typically encode the input into a lower-dimensional latent space where dynamics are evolved before being decoded back to the physical space.

A representative Latent Dynamical Model architecture using pre-trained encoders and decoders to evolve state in a compressed latent space.

While these latent models are effective for some tasks, they often "smooth out" the stochastic noise at vapor-solid interfaces. The U-Net's skip connections and hierarchical processing were found superior for maintaining the high-gradient features essential in materials science simulations.

Results and Discussion

The hybrid framework was tested on a dataset of 2,200 PVD trajectories generated via the phase-field method. Key findings include:

  • Massive Speedup: A "leap-only" configuration achieved a 16.5x speedup compared to pure DNS.
  • High Fidelity: The hybrid implementation (periodic DNS corrections) maintained a mean relative $L^2$ error of spatial autocorrelations below 2%, while still providing a 1.3x speedup.
  • Statistical Accuracy: The model accurately captured prominent features and patterns even in complex test samples, proving it learns the underlying physics of microstructure formation rather than just memorizing data.

Conclusion

Blending DNS with neural operators provides a tunable "knob" for researchers to balance accuracy and speed. Future work will focus on using reinforcement learning to dynamically decide when the simulation needs a "physics check-up" and extending the framework to multi-fidelity digital twins of material processes.

Summary updated

BibTeX
@misc{oommen2023rethinking,
  author = {Vivek Oommen and Khemraj Shukla and Saaketh Desai and Rémi Dingreville and George Em Karniadakis},
  title = {{Rethinking materials simulations: Blending direct numerical simulations with neural operators}},
  year = {2023},
  eprint = {2312.05410},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.05410},
}
Figure