Skip to content

Predicting 2D Steady State Fluid Flow Fields using Convolutional Neural Networks

Notifications You must be signed in to change notification settings

sguerin13/CNN_2D_CFD_ECE_228

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Steady Fluid Flow Via Convolutional Neural Network

Group Project for UCSD ECE 228 - Predicting 2D Steady state fluid flow fields with Convolutional Neural Networks.


Three different styles of architectures were examined:

  • Feed Forward Encoder-Decoder:

  • ResNet:

  • U-Net:


The network models were trained on data generated using the PyLBM library and consisted of open fluid domains with elementary objects included in the fluid domain.

The flow field was encoded using signed-distance functions:

The Networks were able to adeqauately predict the flow fields given an elementary object in the flow fields. Future work will involve multiple objects and more complex geometries as the functionality becomes available in the 2D fluid solvers.

To run the Encoder-Decoder model, download the steady state data from https://drive.google.com/file/d/1KBQAjNUeEm7JcbpA7uK18aAsL7nDr75P/view?usp=sharing. Put the data in the same directory as the symmetrical_ae.py and run the script.

To run the U-NET model, uncompress UNET.7z, move the data into that folder, and run the train.py script inside. To run the Resnet-18 model, repeat the same process as used for the U-Net model.

About

Predicting 2D Steady State Fluid Flow Fields using Convolutional Neural Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published