Skip to content

A Physics-Informed Neural Network to solve 2D steady-state heat equation.

Notifications You must be signed in to change notification settings

nkchr123/heat-pinn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heat-PINN

A Physics-Informed Neural Network to solve 2D steady-state heat equation. Based on the methodology introduced in: Physics Informed Deep Learning (Part I): Data-driven Solutions of Nonlinear Partial Differential Equations

Introduction

In this project, a PINN is trained to solve a 2D heat equation and the final results is compared to a solution based on FDM method. For more detailts about the project please read this.

Problem details

The governing equation:

in the following domain:

With following boundary conditions:

Results

Comparing PINN to FDM:

Temperature profiles:

Update: Performance test on a doughnott!

Performance comparison

Results obtained from a 9 layered DNN (1000 epochs) and FDM code on a 100×100 grid. The FDM code is written in Python, a C++ based solver could perform much better.

Method Computation time (s)
PINN 66.35
FDM 77.60

Note

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

About

A Physics-Informed Neural Network to solve 2D steady-state heat equation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%