Skip to content

Main repository for MSc Thesis on Data Assimilation and Uncertainty Quantification Using Generative Models Applied to Fluid Flows

License

Notifications You must be signed in to change notification settings

mustaphajola/msc-irp

Repository files navigation

msc-irp

(M.sc. Individul Research Project)

Prediction and Data Assimilation Using Generative Models for 2D Turbulent Fluid Modelling

About The Project

This project was completed as part of fulfillment of Msc in Applied Computational Science and Engineering (ACSE) requirement at the Department of Earth Science and Engineering, Imperial College London.

Dataset

The dataset in this project comprises of 12,000 trajectories of 2-d vortices representing parameter varying flow in a box. The domain is a 256-by-256 grid cells with a time domain of 100s and 0.01s time discretisation. Snapshots of the data are captured every 2s resulting in 50 snapshots per trajectory. A sample trajectory is shown below. The parameters used in generating the dataset are as follows:

  • Re = 5000
  • Constant viscosity
  • Boundary condition: no slip walls

Trajectory

trajectory.mp4

Time snapshots of the sample trajectory

vort_snapshot

Generative Models

Methodology

WGAN- GP

Architecture and Hyperparameter

GAN_pt2

Prediction Methodology using WGAN-GP

AAE

Architecture and Hyperparameter

Prediction Methodology using AAE AAE_workflow

image

Prerequisites

More info can be found in the environment.yml file.

Results

Sample generation using WGAN-GP

image

AAE Reconstruction Performance

image

Prediction

Forward prediction was performed using the above algorithm. The input to each generative model is the series of snapshots from time t=0 to t=30. Time levels t=35 to t=45 are multiple time predictions from both models. We see from the results that the AAE has low mismatch and a better performance compared to the WGAN-GP.

Original snapshots of trajectory

image

The bottom row images show the magnitude of the vortices projected unto a 1D linear domain. The vertical axis is the magnitude of the vortices while the horizontal axis represents the spatial dimension. Vorticity in blue plots represents the original trajectory while orange plots represent the preedicted trajectory.

WGAN-GP Prediction Results

image

AAE Prediction Results

image

License

Distributed under the MIT license. See License for more information.

Contact

Acknowledgements

  • Prof. Christopher Pain
  • Dr. Claire Healy
  • Vinicius, Santos Silva (Ph.D. student).
  • Royal School of Mines

I would also like to acknowledge the contributions of Nenko Nenov, Lily Hua and Danhui Shao through discussions and resource-sharing.

Mustapha Jolaade 08/26/2021

About

Main repository for MSc Thesis on Data Assimilation and Uncertainty Quantification Using Generative Models Applied to Fluid Flows

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published