How aadharsh06/pinn works
This repository is a collection of physics-informed neural-network (PINN) implementations for learning PDE solutions, not a single application. The typical workflow is to choose a PDE formulation, train a neural network using initial/boundary-condition and physics-residual losses, then evaluate or plot predictions against reference solutions. The README identifies continuous-time, discrete-time, and coupled-equation examples, including Navier–Stokes in progress. Python training and evaluation sources were sampled for continuous-time examples; notebook-based branches are represented from the tree and README, so their internal wiring is not inferred.
Main entry points: main_burger_pde.py Burgers training · plot_soln.py Burgers plotting · nls_test_and_plot.py NLS evaluation · nls_train.py NLS training
Components 17
Continuous time
- Burgers training
continuous-time-models/Burgers_PDE/main_burger_pde.py - Burgers plotting
continuous-time-models/Burgers_PDE/plot_soln.py - NLS training
continuous-time-models/Non_Linear_Shrodinger/nls_train.py - NLS evaluation
continuous-time-models/Non_Linear_Shrodinger/nls_test_and_plot.py
Discrete time
- Discrete Burgers PINN
discrete-time-models/Burgers_PDE - Allen–Cahn PINN
discrete-time-models/Allen_Cahn/allen_rk_pinn.ipynb
Coupled systems
- Basic coupled PINN
coupled-equations/Basic_Coupled_PDE/Basic_coupling_pinn.ipynb - Navier–Stokes PINN
coupled-equations/Naiver_Stokes
Data and results
- Burgers reference
continuous-time-models/Burgers_PDE/burgers_shock.mat - Burgers weights
continuous-time-models/Burgers_PDE/weights - NLS reference
continuous-time-models/Non_Linear_Shrodinger/NLS.mat - NLS weights
continuous-time-models/Non_Linear_Shrodinger/latest.weights.h5 - Allen–Cahn reference
discrete-time-models/Allen_Cahn/AC.mat - Allen–Cahn weights
discrete-time-models/Allen_Cahn/ac_latest.weights.h5 - Flow references
coupled-equations/Naiver_Stokes - Flow weights
coupled-equations/Naiver_Stokes/latest.weights.h5
Other components
- PINN user
Connections 13
- PINN user → Burgers training: runs training
- Burgers training → Burgers weights: saves weights
- Burgers training → Burgers reference: evaluates against
- Burgers plotting → Burgers weights: loads weights
- Burgers plotting → Burgers reference: plots reference
- PINN user → NLS training: runs training
- NLS training → NLS weights: saves weights
- NLS evaluation → NLS weights: loads weights
- NLS evaluation → NLS reference: evaluates against
- PINN user → Discrete Burgers PINN: chooses model
- PINN user → Allen–Cahn PINN: runs notebook
- PINN user → Basic coupled PINN: runs notebook
- PINN user → Navier–Stokes PINN: explores model