Skip to content

Jupyter notebook tutorial on Modal Decomposition for Reduced Order Modelling

License

Notifications You must be signed in to change notification settings

cemac/LIFD_ModalDecomposition

Repository files navigation

Leeds Institute for Fluid Dynamics Machine Learning For Earth Sciences

Modal Decomposition for Reduced Order Modelling

GitHub release GitHub top language GitHub issues GitHub last commit GitHub All Releases GitHub DOI

LIFD_ENV_ML_NOTEBOOKS Binder Open In Colab

This Jupyter notebook demonstrates how modal decomposition methods can be used for flow feature extraction in fluid mechanics datasets. Modal decomposition techniques, such as Proper Orthogonal Decomposition (POD) and Dynamic Mode Decomposition (DMD), help identify coherent structures in fluid flows, providing a useful dimension reduction for subsequent reduced order modelling. The example application focuses on the classic problem of fluid flow past a cylinder, showing how these methods can simplify complex flow fields into a manageable number of modes. This dimension reduction enables efficient and accurate reduced order modelling using Sparse Identification of Nonlinear Dynamics (SINDy).

Quick look

Quick start

Binder and Colab buttons

Will launch this tutorial in binder or Google Colab.

Running locally

If you're already familiar with Git, Anaconda and virtual environments, the environment you need to create is found in MD.yml and the code below will install, activate and launch the notebook. The .yml file has been tested on the latest Linux, macOS and Windows operating systems.

git clone [email protected]:cemac/LIFD_ModalDecomposition.git
cd LIFD_ModalDecomposition
conda env create -f MD.yml
conda activate MD
jupyter-notebook

Installation and requirements

This notebook is designed to run on a laptop with no special hardware required. It is recommended to do a local installation as outlined in the repository howtorun and jupyter_notebooks sections. Otherwise, online compute platforms (e.g. Google Colab) are also supported.

Licence Information

Creative Commons License
LIFD_ENV_ML_NOTEBOOKS by CEMAC are licenced under a Creative Commons Attribution 4.0 International License.

Acknowledgements

Thanks to Calum Skene for providing code and material for this notebook. This tutorial is part of the LIFD_ENV_ML_NOTEBOOKS series. Please refer to the parent repository for full acknowledgements.

About

Jupyter notebook tutorial on Modal Decomposition for Reduced Order Modelling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published