All models

NSFnet

Physics-informed fully-connected network mapping flow coordinates to velocity and pressure for Navier-Stokes flows.

Physics and weather · 9 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (12 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
44.3K
Operations
9
Framework
PyTorch
Recurrent
No
Published
Journal of Computational Physics (arXiv 2020)
Cited by
1,219 (as of 29 October 2026)
Authors
Xiaowei Jin, Shengze Cai, Hui Li, George Em Karniadakis
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18699
Graph hash
2fbd81a5ca76e7fc04d7f6e5eb08d9f3532f77a4484df88430a6e5434377e9a2
Skeleton hash
92e2899bfccefe0f6fc2deab1ffb32639a388018e00f0ce6a103a1594879b174
Architecture hash
3cabb846941bcacb2ef48c60da6f094dc6d4ff6d6ad3dff9c7d928f993879bff
Diagram SHA-256
da8fc9ce1b73f41d7be2216ec914758a6e4fb55bd32b4ebc402dd8eceb5262de
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

NSFnets (Navier-Stokes flow nets) are physics-informed neural networks (PINNs) that simulate incompressible flows, from laminar to turbulent. The network takes spatial and temporal coordinates as input: the velocity-pressure form (VP-NSFnet) outputs the instantaneous velocity and pressure fields, and the vorticity-velocity form (VV-NSFnet) outputs velocity and vorticity.

The network itself is a fully-connected network with tanh as its activation function. The Navier-Stokes equations, together with the initial and boundary conditions, are embedded in the loss function. The partial derivatives in the equation residuals are computed by automatic differentiation. No pressure data is given to VP-NSFnet, where pressure is a hidden state obtained via the incompressibility constraint.

The paper simulates two-dimensional steady Kovasznay flow, two-dimensional unsteady cylinder wake and three-dimensional unsteady Beltrami flow with both forms. For these laminar solutions it reports that the VV formulation is more accurate than the VP formulation. It also studies the weights on the data and physics terms of the loss, including a way of computing them dynamically during training. The repository behind this model applies the original NSFnet and an entropy-viscosity regularized ev-NSFnet to the 2D steady cavity flow.

Key idea. NSFnets apply physics-informed neural networks to the incompressible Navier-Stokes equations in velocity-pressure and vorticity-velocity forms, embedding the equations and boundary conditions in the loss.

  • NSFnets
  • NSFnet
  • Navier-Stokes flow nets
  • VP-NSFnet
  • VV-NSFnet
  • physics-informed neural network
  • PINN
  • incompressible Navier-Stokes
  • cavity flow
  • fluid simulation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{jin2020nsfnetsnavierstokesflownets,
      title={NSFnets (Navier-Stokes Flow nets): Physics-informed neural networks for the incompressible Navier-Stokes equations}, 
      author={Xiaowei Jin and Shengze Cai and Hui Li and George Em Karniadakis},
      year={2020},
      eprint={2003.06496},
      archivePrefix={arXiv},
      primaryClass={physics.comp-ph},
      doi={https://doi.org/10.1016/j.jcp.2020.109951},
      url={https://arxiv.org/abs/2003.06496}, 
}