Skip to content

PINNStudio

A graphical platform for forward and inverse physics-informed neural networks

PINNStudio is a desktop application for setting up, training and evaluating physics-informed neural networks (PINNs) without writing code. You describe a problem through the interface: its equations, domain, initial and boundary conditions, the network, and how it should be trained. PINNStudio then generates a training script for DeepXDE and PyTorch, runs it while you watch the losses, and returns the solution, its error against reference data, plots and animations, and the trained model. The same script can be exported and run on its own.

Get started Install Tutorials Examples

See PINNStudio in Action

Six results drawn by PINNStudio itself, each from one illustrative run of a built-in example. They are not the benchmark runs: click a title for the example's equations, settings and benchmark results.

Animation: the three Lorenz coefficients C1, C2, C3 converging to their true values during training

ODEinverse

Lorenz system

C₁, C₂ and C₃ learned from data, approaching their true values as training proceeds.

Animation: the PINN solution u(x, t) of the 1D Burgers equation steepening into a shock at x = 0

1D PDEtime-dependent

Burgers equation

A shock forming at x = 0, with the settings of Raissi et al. (2019).

Animation: the magnitude |h|(x, t) of the 1D nonlinear Schrödinger solution over time

1D PDEcoupled system

Schrödinger equation

The nonlinear Schrödinger equation, solved for its real and imaginary parts; |h| shown.

The velocity component u(x, y) of the 2D Kovasznay flow computed by the PINN

2D PDEsteadycoupled system

Navier–Stokes, Kovasznay flow

Steady laminar flow at Re = 20; velocity u shown (v and p are solved with it).

Animation: the order parameter h(x, y, t) of the 2D Allen-Cahn equation evolving from sin(4πx)cos(4πy)

2D PDEphase field

Allen–Cahn equation

The order parameter evolving from sin(4πx)cos(4πy), the problem of Mattey & Ghosh (2022), with the Tuned settings.

Animation: temperature u(x, y, z, t) in a unit cube heated from one face

3D PDEtime-dependent

Heat equation in 3D

A cube heated from the face x = 1 (u = 1), the other faces insulated.

The PINNStudio main window: the model tree on the left, the settings of the selected page in the middle, and the Start tab with the example list on the right

What PINNStudio does

  • Forward and inverse problems


    Solve a known equation, or recover unknown coefficients from measured data as trainable parameters, with the observation misfit as an additional loss term.

    Forward · Inverse

  • ODEs, PDEs and coupled systems


    ODEs and PDEs in one, two and three space dimensions, steady or time-dependent, with several outputs and equations, typed in a readable form such as du_t + u*du_x - 0.01/pi*du_xx.

    Equations · Coupled systems

  • Domains and conditions


    Intervals, rectangles, disks, polygons, cuboids, spheres and combinations of shapes, with Dirichlet, Neumann, Robin, periodic and point-data conditions, or conditions built exactly into the network.

    Geometry · Boundary conditions

  • Training methods


    Multi-phase training (for example Adam then L-BFGS), residual-based adaptive refinement, RBA and SA-PINN per-point weights, causal training, time windows with transfer learning and bc-PINN, and IC pre-training.

    Training · Adaptive methods

  • Configured in the interface


    Every setting lives in a page of the model tree. The problem is checked before each run, and the settings to fix are marked in the tree.

    User guide

  • Standalone Python scripts


    Each problem can be exported as a plain DeepXDE script for inspection, sharing or running on a cluster; on the built-in examples it was checked to train the same model as Solve.

    Generated scripts

  • Analysis and visualization


    A live loss plot and training log; line, surface and animated solution plots; Error Analysis against reference files or an exact formula (relative \(L_2\), MSE, maximum error); restoring saved models.

    Results · Error Analysis

  • Examples and benchmarks


    Ready-to-run examples, from simple ODEs to phase-field and Navier–Stokes problems, including published PINN benchmarks and DeepXDE's examples. Most come with reference data or an exact solution.

    Example gallery · Reproducibility

Where to start

If you want to… Read
find a reading order for your background (new to PINNs, experienced, developer) Where should I start?
install PINNStudio and run an example Installation, then First run
understand each part of the window User guide
solve your own problem step by step Tutorials, starting with a first forward ODE
look up what a setting does, and its mathematics Feature reference, All settings and Theory
know what PINNStudio can and cannot establish Scope and limitations
reproduce the benchmark results Reproducibility
fix a problem, or understand a poor result Troubleshooting, Diagnosing poor results and FAQ

What PINNStudio does not do

PINNStudio makes it easier to build, train and evaluate PINNs, and it checks that a problem is set up consistently. It does not guarantee that training converges, or that the trained network is an accurate or physically valid solution of an arbitrary problem. Compare results with reference data, an exact solution or a conventional solver whenever you can. See Scope and limitations.

Citing and license

If PINNStudio is useful in your work, please cite it. A paper describing PINNStudio is in preparation. PINNStudio is released under the MIT License (License). PINNStudio is built on DeepXDE (Lu et al., 2021), PyTorch and Qt for Python (PySide6); it is an independent project and is not affiliated with or endorsed by the DeepXDE developers.

Developed in the Computational Materials Design Lab, Boise State University, under the supervision of Prof. Mahmood Mamivand.