lamm-mit / FieldCompleter

GAN/convolutional and Transformer models to predict missing mechanical information given limited known data in part of the domain, and further characterize the composite geometries from the recovered mechanical fields for 2D and 3D complex microstructures

Home Page:https://onlinelibrary.wiley.com/doi/10.1002/adma.202301449

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FieldCompleter

Z. Yang, M.J. Buehler, “Fill in the Blank: Transferrable Deep Learning Approaches to Recover Missing Physical Field Information,” Adv. Materials, https://doi.org/10.1002/adma.202301449, 2023

Solving materials engineering tasks is often hindered by limited information, such as in inverse problems with only boundary data information or design tasks with a simple objective but a vast search space. To address these challenges, we leverage multiple deep learning (DL) architectures to predict missing mechanical information given limited known data in part of the domain, and further characterize the composite geometries from the recovered mechanical fields for 2D and 3D complex microstructures. In 2D, we utilize a conditional generative adversarial network (GAN) to complete partially masked field maps and predict the composite geometry with convolutional models with great accuracy and generality by making precise predictions on field data with mixed stress/strain components, hierarchical geometries, distinct materials properties and various types of microstructures including ill-posed inverse problems. In 3D, a Transformer-based architecture is implemented to predict complete 3D mechanical fields from input field snapshots. The model manifests excellent performance regardless of microstructural complexity and recovers the entire bulk field even from a single surface field image, allowing internal structural characterization from only boundary measurements. The frameworks provide efficient ways for analysis and design with incomplete information and allow the direct inverse translation from properties back to materials structures.

Overall workflow

2D Mechanical Field Completion using a DeepFill Model

Working directory

2D_field_completer

Requirements

conda env create -f environment.yml

Dataset

Training

python3 train.py --config configs/train-S11-pretrained.yaml

Testing

3D Mechanical Field Completion using a Transformer model

Working directory

3D_field_completer

Requirements

conda env create -f environment.yml

Dataset

  • Example dataset: Stress field (σ11) in the 3D digital composites with linear elasticity under uniaxial compression.
  • The dataset can be found in the following link: https://www.dropbox.com/sh/5gntfr7ittue5fh/AACE2D-GOeTHhR2zCMcUCXila?dl=0. S11.npy store matrix represent all 3D stress fields. labels_train.npy and labels_test.npy are train/test sequences representing geometries of 3D composites.

Training

  • The training starts from scratch.
  • The hyperparameters and training details can be modified directly in vivit.py.
python3 train.py 

Testing

@article{YangBuehlerAdvMat_2023,
    title   = {Fill in the Blank: Transferrable Deep Learning Approaches to Recover Missing Physical Field Information},
    author  = {Z. Yang and M.J. Buehler},
    journal = {Advanced Materials},
    year    = {2023},
    volume  = {},
    pages   = {},
    url     = {https://doi.org/10.1002/adma.202301449}
}

About

GAN/convolutional and Transformer models to predict missing mechanical information given limited known data in part of the domain, and further characterize the composite geometries from the recovered mechanical fields for 2D and 3D complex microstructures

https://onlinelibrary.wiley.com/doi/10.1002/adma.202301449


Languages

Language:Python 80.9%Language:Jupyter Notebook 19.1%