A Simple but Efficient Transformer-Based Physics-Informed Neural Network for Incompressible Navier--Stokes Equations
Abstract
Traditional computational fluid dynamics and physics-informed neural networks (PINNs) often suffer from high computational cost, mesh sensitivity, and reduced accuracy for strongly nonlinear and time-dependent flows. To address these limitations, we propose PhysicsFormer, a simple and efficient Transformer-based physics-informed neural network framework for complex fluid flow simulations. The proposed architecture employs encoder--decoder multi-head attention to capture long-range temporal dependencies and enhance spatio-temporal information propagation. Unlike conventional multilayer perceptron-based PINNs, PhysicsFormer utilizes pseudo-sequential spatio-temporal representations together with a dynamics-weighted loss formulation to improve convergence, stability, and predictive accuracy. Owing to its lightweight architecture and parallel learning strategy, the proposed framework achieves faster training and lower computational cost than existing Transformer-based PINN models. The performance of the proposed framework is demonstrated on the convection equation, Burgers' equation, lid-driven cavity flow at Re=100, and inverse Navier--Stokes and flow reconstruction problems for flow past a circular cylinder at Re=100 and Re=3900. For the inverse Navier--Stokes problem at Re=100, the proposed framework simultaneously reconstructs the flow field and identifies governing equation parameters with nearly 0\% absolute error under both clean and noisy data conditions. Furthermore, for the high-Reynolds-number case at Re=3900, PhysicsFormer accurately reconstructs the velocity and pressure fields using only 25 spatial measurements per snapshot over 100 temporal snapshots. The obtained results demonstrate that PhysicsFormer provides an accurate, robust, and computationally efficient framework for complex time-dependent fluid flow problems.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.