These set of notebooks explore Physics Informed Neural Networks to explore partial differential equations
This tutorial has been split into 3 tutorials.
If you are unfamiliar with some of the concepts covered in this tutorial it's recommended to read through the background reading below either as you go through the notebook or beforehand. These links are also contained within the notebooks
- Introduction to Neural Networks
- Physics Guided Neural Networks
- Physics-Informed Neural Networks: A Deep LearningFramework for Solving Forward and Inverse ProblemsInvolving Nonlinear Partial Differential Equations
If you're already familiar with git, anaconda and virtual environments the environment you need to create is found in PINN.yml and the code below to install activate and launch the notebook. The .yml file has been tested on the latest linux, macOS and windows operating systems.
This notebook is based on two papers: Physics-Informed Neural Networks: A Deep LearningFramework for Solving Forward and Inverse ProblemsInvolving Nonlinear Partial Differential Equations and Hidden Physics Models: Machine Learning of NonlinearPartial Differential Equations with the help of Fergus Shone and Michael Macraild.
These tutorials will go through solving Partial Differential Equations using Physics Informed Neuaral Networks focusing on the Burgers Equation and a more complex example using the Navier Stokes Equation
git clone --recurse-submodules -j8 [email protected]:cemac/LIFD_Torch_PINNS.git
cd LIFD_Torch_PINNS
conda env create -f PINN_pytorch.yml
conda activate PINN
jupyter-notebook
This notebook is designed to run on a laptop with no special hardware required therefore recommended to do a local installation as outlined in the repository howtorun and jupyter_notebooks sections.
These notebooks require some additional data from the PINNs repository
If you have not already then in your gitbash or terminal please run the following code in the LIFD_ENV_ML_NOTEBOOKS directory via the terminal(Mac or Linux) or git bash (windows)
git submodule init
git submodule update --init --recursive
If this does not work please clone the PINNs repository into your Physics_Informed_Neural_Networks folder on your computer
LIFD_ENV_ML_NOTEBOOKS by cemac is licensed under a Creative Commons Attribution 4.0 International License.