maziarraissi/pinns

Physics Informed Deep Learning: Data-driven Solutions and Discovery of Nonlinear Partial Differential Equations

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 55 minutes ago
Added to GitGenius on September 10th, 2026
Created on January 21st, 2018
Open Issues & Pull Requests: 51 (+0)
GitHub issues: Enabled
Number of forks: 1,608
Total Stargazers: 6,142 (+0)
Total Subscribers: 130 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.3 hours
Mean response time: 30.0 days
90th percentile: 76.1 days
Tracked items: 4

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,044 days
Stale 30+ days: 6
Stale 90+ days: 6

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

PINNs is a deep learning framework that trains neural networks to solve supervised learning tasks while respecting physical laws described by nonlinear partial differential equations.

The framework addresses the problem of solving and discovering partial differential equations by encoding physical constraints directly into neural network training. Rather than treating PDEs as separate from machine learning, PINNs embed the governing equations as prior information within the network's loss function. This approach works by training networks on data while simultaneously enforcing that predictions satisfy the underlying physics, creating data-efficient surrogate models that are fully differentiable with respect to all input coordinates and parameters. The framework handles two main problem classes: data-driven solution of PDEs, where the equations are known and solutions must be inferred, and data-driven discovery of PDEs, where the governing equations themselves must be learned from observational data. The implementation provides both continuous time and discrete time model variants depending on the nature and arrangement of available data.

Developers working on inverse problems, surrogate modeling, or scientific computing where physical laws constrain the solution space should consider this approach. It suits projects where traditional numerical methods are computationally expensive or where limited experimental data must be leveraged effectively. The framework is particularly valuable when you need fully differentiable models that can serve as building blocks in larger computational pipelines.

The repository is no longer under active maintenance. The README explicitly recommends using implementations available in PyTorch, JAX, and TensorFlow v2 instead of this original codebase.