GithubHelp home page GithubHelp logo

lamm-mit / fieldcompleter Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 4.0 250 KB

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

Python 80.93% Jupyter Notebook 19.07%
analysis computer-vision convolutional-neural-networks deep-learning deep-neural-networks design engineering fracture materials materials-informatics

fieldcompleter's Introduction

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}
}

fieldcompleter's People

Contributors

lamm-mit avatar zhenzey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.