Git Product home page Git Product logo

shallowdecoder's Introduction

Shallow Decoder for flow reconstruction with limited sensors and limited data

Flow reconstruction is an important problem across the physical, biological, and engineering sciences. Given some sensor sensor measurements (e.g., orange points in the image below) the aim is it to reconstruct the corresponding high-dimensional flow field.

Traditionally, modal approximation techniques, such as the proper orthogonal decomposition (POD), are used for this task. Here, we propose a neural network-based methodology. Indeed, the reconstruction quality of the shallow decoder outperforms traditional methods. For instance, the following image shows the reconstructed flow field using only 5 sensors:

For comparison, the reconstructed flow field using the traditional POD technique:

Example

Start by cloning the git repository:

git clone https://github.com/erichson/ShallowDecoder

Then, you can run a simple examples as follows (without plotting the results):

python flow_driver.py --data flow_cylinder --sensor wall --n_sensors 5 --epochs 4000 

Or optional you can plot the results:

python flow_driver.py --data flow_cylinder --sensor wall --n_sensors 5 --epochs 4000 --plotting True  

Required packages

  • PyTorch
  • scikit-learn
  • For plotting you need in addition the cmocean package: pip install cmocean

References

Coming soon!

shallowdecoder's People

Contributors

erichson avatar

Watchers

 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.