PINNStudio
A graphical platform for forward and inverse physics-informed neural networks
Documentation · Installation · Tutorials · Examples · Troubleshooting · FAQ
PINNStudio is an open-source desktop application for configuring, training, and evaluating physics-informed neural networks (PINNs) through a graphical interface. It supports forward and inverse problems for ordinary and partial differential equations, including coupled systems in up to three spatial dimensions. Users can define governing equations, geometries, initial and boundary conditions, neural network architectures, and training strategies without writing problem-specific Python scripts.
Built on DeepXDE and PyTorch, PINNStudio generates executable training scripts and provides live training monitoring, solution visualization, reference-based error analysis, and model restoration. Scripts can also be exported and run independently, making numerical workflows easier to inspect, reproduce, and extend.
The Burgers 1D example after training: the model tree on the left, the equation in the middle, the loss and the solution on the right, and the Training Log below.
See PINNStudio in Action
Explore solutions and parameter-estimation results generated with PINNStudio's built-in examples. These illustrative runs are separate from the benchmark experiments. Select an example to view its equations, configuration, and reported results.
Lorenz system ODE · inverse |
Burgers equation 1D PDE · time-dependent |
Schrödinger equation 1D PDE · coupled system |
Navier–Stokes, Kovasznay flow 2D PDE · steady |
Allen–Cahn equation 2D PDE · phase field |
Heat equation in 3D 3D PDE · time-dependent |
Key capabilities
- Forward and inverse problems. Solve a known equation, or learn unknown coefficients or a whole unknown field from measured data while the solution is found. Learn more: forward problems, inverse problems, parameter-estimation tutorial.
- ODEs and PDEs in 1D, 2D and 3D. Steady or time-dependent equations and coupled systems, fractional
equations, and integro-differential ODEs (Volterra integrals), typed as residuals such as
du_t + u*du_x - 0.01/pi*du_xx. Learn more: equations, coupled systems. - Domains and conditions. Built-in shapes and combinations of them, or a domain drawn in the Sketch (2D, or boxes and spheres in 3D) or imported from a 2D DXF or SVG drawing; Dirichlet, Neumann, Robin, periodic, point-data and operator conditions, or conditions imposed exactly through the network output. Learn more: geometry, boundary conditions, exact constraints.
- Training methods. Multi-phase training (for example Adam, then L-BFGS), residual-based adaptive refinement, time windows and bc-PINN, causal training, RBA and SA-PINN point weights, and an exact initial condition or exact periodicity. Learn more: choosing a training strategy, RAR, RBA and SA-PINN, causal training, time windows.
- Parameter sweeps. Vary network, sampling, training, loss-weight and equation-constant settings one at a time, in all combinations, as paired values or with a Bayesian search, and compare the runs on one plot. Full guide.
- Error analysis and plots. Relative L₂, MSE, maximum and mean absolute error against reference data or an exact formula, with line and surface plots, animations and a history of every saved run. Learn more: Error Analysis, error metrics.
- Standalone scripts and restore. Every problem exports as a DeepXDE/PyTorch script. In the project's check of the built-in examples (Tuned settings, shortened CPU runs, fixed seeds), the script trained the same model as Solve in all 89 configurations compared: 88 independent comparisons with bitwise-identical losses and weights, and one identical by construction. The other 4 of the 93 configurations do not apply to the comparison (three inverse modes that do not exist and the parameter-sweep example) (export check). A saved model can be reloaded and plotted again without retraining. Learn more: generated scripts, checkpoints and restoring.
- 64 built-in examples. From simple ODEs to the Navier-Stokes equations in 3D: 49 of DeepXDE's documented PINN examples and 15 PINNStudio templates, several following published PINN benchmarks, almost all with an exact solution or reference data. Example gallery.
Installation
PINNStudio needs Python 3.11 or newer. In a Python environment you already have (a virtual or conda environment is recommended):
pip install pinnstudio
Or install with one command, without installing Python first. The installer sets up PINNStudio with its own Python and the PyTorch build that matches your computer's GPU (or a CPU-only build), and adds PINNStudio to the Start menu and desktop (Windows), the Applications folder in your home folder (macOS) or the app menu (Linux). Python and git do not need to be installed.
macOS / Linux (in a terminal):
curl -LsSf https://raw.githubusercontent.com/AsfandyarKhan72/PINNStudio/main/get-pinnstudio.sh | sh
Windows (in PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/AsfandyarKhan72/PINNStudio/main/get-pinnstudio.ps1 | iex"
You can read the scripts before running them: get-pinnstudio.sh
and get-pinnstudio.ps1.
The install takes a few minutes, and at the end it says which version was installed and whether training will run
on the GPU. Running the same command again updates PINNStudio. The installer installs the latest release from
PyPI; the CHANGELOG lists what each release
changed.
A GPU is optional. On the test PC (RTX 4090) the GPU trained four of the five timed problems 3 to 19 times faster than the CPU, but a small ODE problem trained faster on the CPU (training speed). PINNStudio is tested on GitHub Actions on Linux, Windows and macOS (x64 and ARM) with Python 3.11 to 3.14.
The installation guide covers choosing a CUDA build of PyTorch, the source install for development, the systems PINNStudio is tested on, Intel Macs and Windows on ARM, updating and uninstalling, and common installation problems.
Quick start
- Open PINNStudio from its icon, or run
pinnstudioin a terminal. It opens on the Start tab. - Under Examples on the Start tab, click Heat 1D – Dirichlet. Every setting fills in, and the model tree on the left shows each part of the problem.
- Press Solve (or Ctrl+Enter). The loss is plotted while the model trains (Results → Live loss).
- When the run finishes, Results → Overview shows the loss and the solution, and Results → Error analysis gives the relative L₂ error against the exact solution, with comparison plots.
The first-run guide walks through the same steps in more detail, and the tutorials set up problems from an empty window.
Examples
A selection of the 64 built-in examples: DeepXDE's documented examples, templates that follow published papers, and PINNStudio's own templates. Each loads from the toolbar's Examples list with one of two settings: Default, the source's own settings (DeepXDE's, the paper's method or the template's), or Tuned, the setup selected from the benchmarked alternatives by the accuracy and run-time rules in benchmarks/README.md. When the Default settings are within those margins, Tuned keeps them.
| Example | Dimension | What it shows |
|---|---|---|
| Lorenz ODE – unknown C₁, C₂, C₃ | ODE | Three coefficients of the Lorenz system learned from data |
| Burgers 1D – Raissi et al. | 1D, time-dependent | The Burgers benchmark of Raissi et al. (2019), forward and inverse |
| Schrödinger 1D | 1D, time-dependent | A coupled system for the real and imaginary parts |
| Poisson 2D – L-shape | 2D, steady | A polygon domain with a re-entrant corner |
| Helmholtz 2D – square with hole | 2D, steady | A domain with a hole and a Neumann condition on its edge |
| Linear elasticity 2D – plate | 2D, steady | Displacements and stresses as five coupled outputs |
| Allen-Cahn 2D – Mattey & Ghosh | 2D, time-dependent | A phase-field problem, by default with the paper's bc-PINN method |
| Navier-Stokes 3D – Beltrami flow | 3D, time-dependent | Incompressible flow with velocity and pressure outputs |
The example gallery describes every example: its equations, domain, conditions and settings. The results and figures of each example are in benchmarks/examples.md.
Documentation
- Documentation website: getting started, the user guide for every page of the window, the feature reference and the theory behind the methods.
- Tutorials: step-by-step problems, from a first ODE to inverse problems, adaptive methods and exported scripts, and a walkthrough for an equation of your own.
- Example gallery: all 64 built-in examples.
- Troubleshooting and FAQ.
- How PINNStudio works, the repository and the source code of each feature, and how fast it trains.
- Demo video on YouTube.
Reproducibility and benchmarks
The examples were trained with their Default settings and, for the 41 examples with the largest errors, with the changes tried in the tuning study (55 entries there, which counts an example's forward and inverse modes, and the templates' best-setup starts, separately), and the records are kept in the repository, together with problem files that load the tuned setups. benchmarks/README.md compares, for each example, the source's settings with PINNStudio's best and, for templates taken from a paper, with the error the paper reports. The Reproducibility section of the website describes how the reference solutions were computed, how seeds, precision and hardware are handled, and how the exported scripts are checked against Solve. The errors reported there are relative L₂ errors of the main output at the last reference time (papers' errors over all times are given separately), from seed 2026, or the median of seeds 1, 2 and 2026 where a setting was run three times. Runs use a fixed random seed by default, and each run saves its settings next to its results.
Citation
If PINNStudio is useful in your work, please cite it — see
CITATION.cff; if you used a released
version, add its number (version = {…}). A paper describing PINNStudio is in preparation.
@software{khan2026pinnstudio,
author = {Khan, Asfandyar and Mamivand, Mahmood},
title = {PINNStudio: A graphical platform for forward and inverse physics-informed neural networks},
year = {2026},
url = {https://github.com/AsfandyarKhan72/PINNStudio}
}
Acknowledgment
PINNStudio is built on DeepXDE (Lu et al., 2021), PyTorch and Qt for Python (PySide6). We are especially grateful to Lu Lu and the DeepXDE developers: DeepXDE is the physics-informed learning library that every script PINNStudio generates runs on, and its documented examples are included among PINNStudio's examples, each linked to its original script. PINNStudio is an independent project and is not affiliated with or endorsed by the DeepXDE developers.
The examples that reproduce published benchmarks follow the problem setups of the original papers: Burgers 1D – Raissi et al. follows Raissi, Perdikaris & Karniadakis (2019); Burgers 2D – Mathias et al. follows Mathias et al. (2022); the Allen-Cahn and Cahn-Hilliard examples follow Wight & Zhao (2021) and Mattey & Ghosh (2022); and Poisson 2D – L-shape is the demonstration example of the DeepXDE paper (Lu et al., 2021). Full references are listed on the website's Scientific references page.
Authors: Asfandyar Khan and Mahmood Mamivand. Developed under the supervision of Prof. Mahmood Mamivand, Computational Materials Design Lab, Boise State University.
The authors acknowledge support from the National Science Foundation under Award No. 2602175. We would like to acknowledge the high-performance computing support of the Borah compute cluster (DOI: 10.18122/oit/3/boisestate) provided by Boise State University's Research Computing Department.
Contributing
Bug reports, feature requests, and pull requests are welcome — see CONTRIBUTING.md.
Contact
Asfandyar Khan
PhD Candidate, Materials Science and Engineering
Boise State University
Email: asfandyarkhan@u.boisestate.edu
License
PINNStudio is released under the MIT License. Copyright (c) 2026 Asfandyar Khan. Every release has been published under this license.
Generated scripts. PINNStudio writes a Python script for each problem: the script Export script saves, and the script Solve runs. You may use, change and share a generated script, including the parts of PINNStudio's code templates it contains, under terms of your choice. The libraries it imports (such as DeepXDE, PyTorch, NumPy and Matplotlib) keep their own licenses.
Your input and your results. What you enter into PINNStudio (equations, constants, settings, geometry, data) and what you produce by running PINNStudio or a generated script (data files, figures, animations, trained model weights, logs) are not part of PINNStudio, and PINNStudio's copyright holder claims no rights in them.
Third-party software. PINNStudio's interface is built on Qt for Python (PySide6-Essentials, with shiboken6 and the Qt 6 libraries), used under the GNU Lesser General Public License version 3 (LICENSES/LGPL-3.0.txt, which refers to LICENSES/GPL-3.0.txt). PINNStudio also runs on DeepXDE (LGPL-2.1), PyTorch (BSD-3-Clause), NumPy, SciPy, Matplotlib and pandas. All of these are installed as separate packages and keep their own licenses; some of the interface's icons are derived from Lucide (ISC) and Feather (MIT). PINNStudio is an independent project, not affiliated with or endorsed by the developers of these packages. See THIRD_PARTY_LICENSES.md.
Application icon and reference data. The PINNStudio application icon was created for PINNStudio, with the assistance of Claude (Anthropic), and is part of PINNStudio under the same license. The reference solutions in reference_data/ were computed for PINNStudio by its author, with the scripts in tools/ (see THIRD_PARTY_LICENSES.md), using the numerical methods documented on the website's Reference data page.
Metadata
Release files for pinnstudio 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pinnstudio-1.6.0.tar.gz | 13.1 MB | Without provenance | Details for pinnstudio-1.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pinnstudio-1.6.0-py3-none-any.whl | Python 3 | none | any | Details for pinnstudio-1.6.0-py3-none-any.whl |
Total release size: 26.4 MB
Release files / pinnstudio-1.6.0.tar.gz
| Download URL | pinnstudio-1.6.0.tar.gz |
|---|---|
| Size | 13.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a23746519c7a8bab770e898db988fba346275be89e7669015982b6cb427f14b2
|
|
BLAKE2b-256 checksum How to use checksums |
91fa8a0f3e71729fb91f2c5aa17b51c5614f61e5519df1feefcfe5ac8e4ee3ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.5
|
Release files / pinnstudio-1.6.0-py3-none-any.whl
| Download URL | pinnstudio-1.6.0-py3-none-any.whl |
|---|---|
| Size | 13.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d423823cb7e2bbea93b30ba436398ad2be9511c676c7c2a560b4a1160c1a5f31
|
|
BLAKE2b-256 checksum How to use checksums |
fe5fa5bb50f5533567e7e9af9ad3180ef0e2307a6647ef362b18757de71faf99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.5
|
Security for pinnstudio 1.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.