A Hands-on Introduction to Physics-Informed Neural Networks

By Ilias Bilionis1; Atharva Hans2

1. Mechanical Engineering, Purdue University, West Lafayette, IN 2. Design Engineering Lab, Purdue University, West Lafayette, IN

Published on

Abstract

Run the Tool: Physics-Informed Neural Networks Can you make a neural network satisfy a physical law? There are two main types of these laws: symmetries and ordinary/partial differential equations. I will focus on differential equations in this short presentation. The simplest way to bake information about a differential equation with neural networks is to create a regularization term for the loss function used in training. I will explain the mathematics of this idea. I will also talk about applying physics-informed neural networks to a plethora of applications spanning the range from solving differential equations for all possible parameters in one sweep (e.g., solve for all boundary conditions) to calibrating differential equations using data to design optimization. Then, we will work on a hands-on activity that shows you to implement the ideas in PyTorch. I am assuming some familiarity with how conventional neural networks are trained (stochastic gradient descent).

Also, you need to know the basics of PyTorch to follow along. Going over this tutorial should be sufficient: https://pytorch.org/tutorials/beginner/pytorch_with_examples.html.

This tutorial uses the Jupyter notebook A Hands-on Introduction to Physics-Informed Neural Networks found on nanoHUB.

Bio

Atharva finished his undergraduate from Purdue University in 2019 and started his Ph.D., wherein he is working towards developing models to estimate an individual’s state of knowledge about a specific engineering field.

Sponsored by

Cite this work

Researchers should cite this work as follows:

  • Ilias Bilionis, Atharva Hans (2021), "A Hands-on Introduction to Physics-Informed Neural Networks," https://nanohub.org/resources/35060.

    BibTex | EndNote

Time

Tags