Code Monkey home page Code Monkey logo

labelfree-dnn-surrogate's Introduction

LabelFree-DNN-Surrogate

Surrogate Modeling for Fluid Flows Based on Physics-Constrained Label-Free Deep Learning

Luning Sun, Han Gao, Shaowu Pan, Jian-Xun Wang

TensorFlow and PyTorch implementation of Physics-Constrained Label-Free Deep Learning

Parametric Pipe Flow

Small Aneurysm Middle Aneurysm Large Aneurysm

Dependencies

  • python 3
  • PyTorch 0.4 and above
  • TensorFlow 1.15
  • matplotlib
  • seaborn

Installation

  • Install PyTorch, TensorFlow and other dependencies

  • Clone this repo:

git clone https://github.com/Jianxun-Wang/LabelFree-DNN-Surrogate.git
cd LabelFree-DNN-Surrogate

Uncertainty Propagation

Perform UQ tasks, compare the distribution of Quantity of Interest (QoI) between DNN model and OpenFOAM benchmar, including:

  • Parametric Pipe Flow
  • Parametric Geometry Aneurysm (To Be Added)

Example :

cd Tutorial
python pipe_post.py
Parametric Pipe Flow

Training

Parametric Pipe Flow

Train a parametric DNN surrogate for pipe flow

cd Tutorial
python poiseuillePara.py

Parametric Aneurysmal Flow

Train a parametric DNN surrogate for aneurysmal flow

cd ParametricAneurysm
python main.py

Citation

If you find this repo useful for your research, please consider to cite:

@article{SUN2020112732,
title = "Surrogate modeling for fluid flows based on physics-constrained deep learning without simulation data",
journal = "Computer Methods in Applied Mechanics and Engineering",
volume = "361",
pages = "112732",
year = "2020",
issn = "0045-7825",
doi = "https://doi.org/10.1016/j.cma.2019.112732",
url = "http://www.sciencedirect.com/science/article/pii/S004578251930622X",
author = "Luning Sun and Han Gao and Shaowu Pan and Jian-Xun Wang"
}

Acknowledgments

Thanks for all the co-authors and Dr. Yinhao Zhu for his valuable discussion.

Code is inspired by cnn-surrogate

labelfree-dnn-surrogate's People

Contributors

luningsun avatar jianxun-wang avatar

Watchers

James Cloos 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.