Skip to content

Jupyter notebook tutorial on Design Optimisation with Metamodels

License

Notifications You must be signed in to change notification settings

cemac/LIFD_DesignOptimisation

Repository files navigation

Leeds Institute for Fluid Dynamics Machine Learning For Earth Sciences

Design Optimisation with Metamodels

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 machine-learning metamodels can be used to solve fluid mechanical design optimisation problems. Here, design optimisation refers to the process of finding the best solution to an engineering problem within constraints using mathematical techniques. Metamodels allow us to explore parameter space to find optimal solutions to Partial Differential Equations (PDEs) while only running a relatively small number of costly Computational Fluid Dynamics (CFD) simulations. This notebook contains an example application to coronary bypass anastomosis, a surgical procedure used to treat coronary artery disease (Lassila et al., 2013).

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 DO.yml and the code below will install, activate and launch the notebook. The .yml file has been tested on the latest version of Ubuntu Linux. Windows and macOS are not officially supported, although Windows users can alternatively use the Windows Subsystem for Linux.

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

Installation and requirements

This notebook is designed to run on a laptop with no special hardware required. Even on modest hardware, the CFD simulations should only take a few minutes to run. 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 Toni Lassila 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 Design Optimisation with Metamodels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published