/burger-pinn

A Physics-Informed Neural Network for solving Burgers' equation.

Primary LanguageJupyter Notebook

burger-pinn

A Physics-Informed Neural Network for solving Burgers' equation.

Ref.: Physics Informed Deep Learning (Part I): Data-driven Solutions of Nonlinear Partial Differential Equations
Author's Github page: https://maziarraissi.github.io/PINNs/

Check out my other PINN project: heat-pinn

Introduction

This work is an implementation of the reference paper above. In this work, a neural network is trained to solve Burgers' equation, a well-known PDE, for a given set of BCs and an IC.
To train this model, certain number of points on the both boundaries and on the initial timestep were sampled, as input data, called data points, to compute MSE loss function, in addition to another set of points on the main domain of the problem, or collocation points to penalize the network in case the prediction on this set is not consistent with the governing PDE.

Problem details

The governing PDE is:

Burgers' equation

Which is solved in the following spatial and temporal domain:

0<=t<=1 -1<=x<=+1

Regarding the following initial and boundary conditions:

ICBC

Results

u(t, x) profile (Figure 1. in reference or author's Github page)
profile

u(t, x) in Cartesian coordinates for (Figure 1. in reference or author's Github page)
plots

u(t, x) in Cartesian coordinates for more t values

u-constant-time.png

Note

This implementation is based on Tensorflow 2.0 package and made possible by Google Colabratory GPU.