This repository contains Python code and Jupyter notebooks that demonstrate the use of Physics-Informed Neural Networks (PINNs) for solving Partial Differential Equations (PDEs).
Solving PDEs using traditional numerical methods can be computationally expensive, especially for high-dimensional problems. PINNs offer an alternative approach that leverages the power of neural networks to solve PDEs using limited data. In this project, i have demonstrate the use of PINNs for solving a variety of PDEs.I also implemented a methodology similar to PINNs (Raissi) i.e Lagaris Approach. These are the papers I used methodologies from.
- Lagaris et. al. (1997) https://arxiv.org/pdf/physics/9705023.pdf
- Raissi et. al. (2017) https://arxiv.org/pdf/1711.10561.pdf [PINNs]
The following examples are included in this repository:
-
1D-Advection.ipynb: Solving the 1D Advection equation using a PINN.
-
PDE_using_Lagaris_Approch.ipynb: we solved one PDE given in the paper using Lagrais Approch using one dense layer and 10 neurons.
-
PDE_using_PINNs.ipynb : We took same PDE as above and solved using PINNs (Raissi Approch) , as given the PINNs paper
PDE solution using PINNs | PDE solution using Lagaris Approch |
---|---|
![]() |
![]() |
1D-Advenction using PINNs |
---|
![]() ![]() |
|
Contributions to this project are welcome. If you would like to contribute, please fork the repository and submit a pull request.