Giter VIP home page Giter VIP logo

turbulence-predictions's Introduction

Convolutional-network models to predict wall-bounded turbulence from wall quantities

Introduction

The code in this repository features a Python/Tensorflow implementation of a convolutional neural network to the model to predict the two-dimensional velocity-fluctuation fields at different wall-normal locations in a turbulent open channel flow, using the wall-shear-stress components and the wall pressure as inputs. Input data are generated using the pseudo-spectral solver SIMSON. More details about the implementation and the results from the training are available in "Convolutional-network models to predict wall-bounded turbulence from wall quantities", L. Guastoni, A. Güemes, A.Ianiro, S. Discetti, P. Schlatter, H. Azizpour, R. Vinuesa (2021, Journal of Fluid Mechanics)

Pre-requisites

The code was run successfully using Tensorflow>=2.6.0, using 1 GPU for the training at Reτ=180 and 2 GPUs at Reτ=550

Data

The dataset used for training and testing are available in order to ensure the reproducibility of the results. Please, get in touch using the email address for correspondance in the paper to arrange the transfer.

Training and inference

The FCN training can be performed after cloning the repository

git clone https://github.com/KTH-FlowAI/FCN-turbulence-predictions-from-wall-quantities.git
cd src
python3 train.py

All the training parameters are defined in the config file (the file needs to be renamed config.py)

Inference can be performed as follows:

cd src
python3 evaluate.py

Inference parameters are also set in the config file.

Additional information

  • Currently, only the FCN implementation is provided. FCN-POD will be added in the future, please get in touch if you are interested in the latter architecture

turbulence-predictions's People

Contributors

lguas 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.