GithubHelp home page GithubHelp logo

pp1565156 / application-of-dl-to-cfd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neoaksa/application-of-dl-to-cfd

0.0 1.0 0.0 186.31 MB

Application of Deep Learning to Computational Fluid Dynamics

Python 100.00%

application-of-dl-to-cfd's Introduction

Abstract

The modeling of complex physical and biological phenomena has long been the domain of computational fluid dynamics. Beginning with the Navier-Stokes equations describing fluid motion, numerous solvers have been derived and applied to various time-based modeling problems. Given the recent success of deep learning models in a variety of application areas, this project attempted to determine if a deep neural network could be used to predict fluid motion. The neural net architecture employed in this research was the ConvLSTM. It used a convolutional layer to discover spatial features, and a Long Short-Term Memory layer to learn time-based patterns. It contained almost 7 million parameters, which took about 100 minutes to train on Ghost (Titan V GPU w/5120 cores). Two models were trained: Prednet(t+1) (predict next frame), and Prednet(t+10) (predict next 10 frames). Using these models, three prediction strategies were developed. Results indicate that two of the strategies generate predictions visually indistinguishable from ground truth (defined as the results obtained using the Pisofoam incompressible flow solver). Standard video prediction metrics (Peak Signal to Noise Ratio) showed that the Prednet(t+10) model was able to extrapolate rolling predictions for 10 seconds with reasonable accuracy in a controlled environment. Further experiments and training with a variety of samples (velocity, mesh, features) would be needed to determine if the models have the ability to generalize over a wide range of conditions.

Application-of-DL-to-CFD

Structure

Training

  • Openfoam-prednet(t+1).py: Train for PredNet(t+1)
  • Openfoam-prednet(t+n).py: Train for PredNet(t+n)

Prediction

  • Openfoam-prediction-prednet(t+1)w(t+1).py: output 1 timestep prediction through trained PredNet(t+1)
  • Openfoam-prediction-prednet(t+n)w(t+10).py: output rolling 10 timestep prediction through trained PredNet(t+1) or PredNet(t+n)

Validation

  • Openfoam-validation-prednet(t+1)w(t+1).py: validation result for 1 timestep prediction through trained PredNet(t+1)
  • Openfoam-validation-prednet(t+n)w(t+10).py: validation result for rolling 10 timestep prediction through trained PredNet(t+1) or PredNet(t+n)

Model

  • openfoam.h5: PredNet(t+1)
  • openfoam_stepforward.h5: PredNet(t+n)

Result

  • Application of Deep Learning to Computational Fluid Dynamics.docx
  • Application of Deep Learning to Computational Fluid Dynamics.pptx
  • Poster.pptx

Thanks to:

Dr.Greg Wolffe

DEN: Distributed Execution Network

Roberto Sanchez

poster

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.