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).
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
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.
LIFD_ENV_ML_NOTEBOOKS by CEMAC are licenced under a Creative Commons Attribution 4.0 International License.
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.