LearnPapers.com
Peer-Reviewed Publication Physics of Fluids 2026 December 4, 2026

Physics-Informed Feature Decomposition in Residual Dense Block Neural Networks (PI-RDB-NN) for Incompressible Viscous Flow

By sarmad iftikhar Paper Authors: Sarmad Iftikhar, Ishfaq Ahmad, Diltaj Ali, Gang Wang ORCID: 0000-0001-6094-1628
Original Published Paper
Physics-informed feature decomposition in residual dense block neural networks for incompressible viscous flow
DOI: 10.1063/5.0342909
Read Full Published Paper →
Contents Toggle sections
Physics-Informed Feature Decomposition in Residual Dense Block Neural Networks (PI-RDB-NN) for Incompressible Viscous Flow | Physics of Fluids 38, 083610 (2026)
Scientific Machine Learning × Computational Fluid Dynamics

We Built Mass Conservation Into a Neural Network’s Wiring: Physics-Informed Feature Decomposition in Residual Dense Block Neural Networks

Conventional PINNs penalize physics in the loss and hope for the best. We moved the physics into the architecture itself – a 2:1 velocity-pressure feature split, specialized residual dense blocks, and a learnable divergence-aware projection – and the network stopped violating mass conservation.

By Sarmad Iftikhar (first author), School of Aeronautics, Northwestern Polytechnical University December 2026 Peer-reviewed source: Physics of Fluids 38, 083610 (2026)
About this page. This is a first-hand, plain-language account of our own peer-reviewed paper, written by the first author. All technical claims are taken from the published article (DOI: 10.1063/5.0342909). If anything here ever disagrees with the paper, the paper is right – please tell us and we will fix it.

The short version

Physics-informed neural networks (PINNs) solve partial differential equations by adding PDE residuals, boundary conditions, and any available data into one training loss. That works beautifully for smooth problems and disappointingly for the ones engineers actually care about: airfoil flows, where thin boundary layers, sharp gradients, and long wakes live at spatial scales a fully connected network struggles to represent. Our model kept finding solutions that minimized the averaged residual while quietly violating local incompressibility near the wall – and in an incompressible flow, even small local mass imbalance distorts shear-layer growth, pressure gradients, and ultimately the predicted lift and drag.

Our fix, the physics-informed residual dense block neural network (PI-RDB-NN), embeds the structure of the incompressible Navier-Stokes equations directly into the network:

  • Physics-informed feature decomposition: the 80-channel latent vector is split 53:27 between velocity and pressure features, matching the 2:1 ratio of physical unknowns (two velocity components, one pressure) in 2D incompressible flow.
  • Specialized residual dense blocks: velocity features pass through a deeper three-layer dense block (growth rate 12) built for multiscale shear layers and wakes; pressure features get a compact two-layer block (growth rate 6) matched to the smoother pressure field.
  • A learnable divergence-aware projection (DAP): a trainable matrix, initialized near identity, nudges the latent velocity representation toward fields that decode to near-zero divergence.

Trained with a hybrid loss – PDE residuals on 50,000 Latin-hypercube collocation points, boundary conditions on 13,000 boundary points, plus sparse CFD labels – on a NACA 0012 airfoil, the model cuts the PDE residual by 91.2% and divergence error by 71.7% compared with a conventional PINN at Re = 5000, and by 85.5% and 85.4% compared with a physics-informed DeepONet at Re = 1000.

Results at a glance (NACA 0012, verified against CFD and published benchmarks)

MetricBaseline PINNPI-RDB-NN (this paper)Change
PDE residual, Re = 5000PINN reference91.2% lower−91.2%
Divergence error, Re = 5000PINN reference71.7% lower−71.7%
PDE residual / divergence vs physics-informed DeepONet, Re = 1000DeepONet reference85.5% / 85.4% lower−85.5% / −85.4%
Mean training divergence at convergence (D̄train)–5.62 × 10−4vs ~7 × 10−3-scale PINN baselines
Best training loss (ablation, 20k epochs)5.29 × 10−5 (B0)4.35 × 10−5 (B4)−17.8%
Mean divergence (ablation)1.10 × 10−3 (B0)0.68 × 10−3 (B4)−38.2%
Inference speed50,000-point flow-field prediction in ~0.08 s (vs hours for CFD)>3 orders faster

Reference: abstract, Tables II-V and Fig. 2 of the paper. Force coefficients: lift errors below 8% and drag errors below 4% at supervised angles, with smaller errors than PINN at every tested angle.

Why conventional PINNs struggle with aerodynamic flows

A standard PINN is a fully connected network that treats velocity and pressure identically and enforces physics only as soft penalties in the loss. Three problems follow. First, spectral bias: fully connected networks learn low-frequency content first, so the high-frequency content of boundary layers and wakes converges last, slowly, and unstably. Second, uniform treatment of variables ignores a basic fact of the incompressible Navier-Stokes system – the velocity field is a solenoidal vector field (∇·u = 0) while pressure acts as the Lagrange multiplier that enforces that constraint – so the two deserve different representational treatment. Third, penalizing divergence in the loss is a weak lever: the optimizer can lower the average residual while tolerating locally large divergence exactly where it hurts most, in the boundary layer and near wake that govern aerodynamic loading.

Earlier remedies – adaptive activation functions, domain decomposition such as XPINNs, neural operators like DeepONet or Fourier neural operators – help pieces of this, but we wanted a single architecture that simultaneously gives robust multiscale representation and stable, physics-constrained optimization. That is the gap PI-RDB-NN was built to close.

Three ideas, one architecture

1. Physics-informed feature decomposition (the 2:1 split)

Every PI-RDB-NN module takes the 80-dimensional latent representation and partitions it into a 53-dimensional velocity subspace and a 27-dimensional pressure subspace. The ratio is not a hyperparameter we tuned for a benchmark: it reflects the degrees of freedom of 2D incompressible Navier-Stokes, where two velocity components and one pressure variable are coupled through the momentum and continuity equations. Velocity fields in laminar airfoil flow also carry the hard multiscale structure – thin boundary layers, sharp near-wall gradients, wake structures – while pressure distributions are comparatively smooth, so devoting two-thirds of the capacity to velocity is both physically motivated and empirically sound.

2. Residual dense blocks, sized to each variable

Each subspace feeds its own residual dense block: densely connected layers in which every layer sees the concatenated outputs of all previous layers (feature reuse), plus a residual pathway around the whole block (gradient flow). The velocity branch runs three dense layers with growth rate 12 followed by a fusion layer that reweights contributions across depths into a coherent multiscale velocity representation. The pressure branch uses two dense layers with growth rate 6 – smaller, because laminar pressure fields do not need the capacity. A coupling layer then recombines the processed features and adds the original input back as a residual connection, producing the physics-informed residual dense block that replaces ordinary feedforward layers at four positions in the main network.

3. The divergence-aware projection (DAP)

After fusion, the velocity features pass through a learnable projection matrix P, initialized as 0.99×I + 0.01×noise so training starts near an identity mapping and moves away only where physics demands it. P is trained jointly with everything else by backpropagation. It acts on the latent feature space, not on the physical velocity field – the link to physical divergence runs through the coupling layer and decoder – which is precisely why it works as an inductive bias rather than a hard constraint: it encourages the learned representation to decode to lower-divergence fields while preserving model flexibility. The ablation study shows this matters: DAP stacked on top of the RDB and decomposition reduces divergence a further 9.3% and the PDE term a further 10.2%.

How it is trained

The composite loss has three terms with automatically adaptive weights: PDE residuals (continuity plus x- and y-momentum) on interior collocation points, boundary losses (no-slip on the airfoil, freestream velocity at inlet and far field, reference pressure at the outlet), and a supervised data term anchoring predictions to ANSYS Fluent solutions at the supervised angles of attack. The adaptive weighting keeps an exponential moving average of each loss component and raises the weight of whichever term is decaying slowest, so no single term collapses or dominates. Training uses AdamW with a ReduceLROnPlateau schedule over 60,000 epochs – about 8 hours on a single RTX 2080 Ti – and one trained network covers a continuous range of angles of attack because the angle is an input dimension, not a separate model.

The data economy is worth stating explicitly: 80,000 labeled CFD points per supervised angle (320,000 total across four supervised angles at Re = 5000), plus 50,000 interior and 13,000 boundary collocation points per angle. At inference, a 50,000-point flow field takes roughly 0.08 seconds – three orders of magnitude faster than the ~3-hour CFD runs that generated the training data.

What the results show

Re = 5000: sharply better physics than a PINN

Against a standard fully connected PINN trained under identical conditions, PI-RDB-NN converges faster and more smoothly, with PDE residual down 91.2% and divergence down 71.7% at Re = 5000. The convergence plot tells the story: after about 30,000 epochs the PINN curve flattens into its characteristic plateau while the PI-RDB-NN curve keeps descending. Velocity-magnitude contours and streamlines at 0° and 3° angle of attack match the CFD reference – correct stagnation point, suction peaks, trailing-edge recirculation bubbles, and wake displacement – where the PINN produces diffused contours and irregular streamlines. The surface pressure coefficient Cp distributions are virtually indistinguishable from CFD at the supervised angles and remain accurate at the unsupervised interpolation angles (1° and 2°), which the model predicts using only physics constraints, with no training data.

The force coefficients follow: lift errors stay below 8% and drag errors below 4% relative to reference CFD at the supervised angles, and below 5% and 3% at unsupervised angles. Compared with the PINN baseline, lift-coefficient errors drop by 40-65% and drag errors by 50-60%.

Re = 1000: physics consistency is what force coefficients hide

At Re = 1000 we added a physics-informed DeepONet baseline. PI-RDB-NN and the PINN land close together on integrated forces (mean CL errors of 5.3% and 5.4% against the Kurtulus reference), but the field-level physics metrics separate sharply: PI-RDB-NN’s PDE residual of 6.46×10−4 and divergence of 6.47×10−4 versus DeepONet’s 4.46×10−1 and 4.42×10−3 – reductions of 85.5% and 85.4%. DeepONet’s drag is substantially underpredicted, which we attribute to its branch-trunk factorization giving weak spatial coupling for a single scalar parameter: drag is sensitive to near-wall detail that large physics residuals corrupt, while the large-scale pressure distribution governing lift survives. The lesson generalizes beyond this comparison: integrated force coefficients alone can mask large differences in physical consistency, so field-level metrics deserve to be reported alongside them.

The ablation: what actually earns the improvement

We trained five configurations on identical budgets: B0 (plain PINN), B1 (B0 + DAP), B2 (B0 + RDB), B3 (B2 + feature decomposition), and B4 (all three – the full PI-RDB-NN). Three findings stand out:

ConfigBest loss (×10−5)Divergence (×10−3)PDE (×10−5)BC (×10−6)Time (min)
B0 – baseline PINN5.291.104.399.2353.1
B1 – + DAP only5.570.974.8012.165.9
B2 – + RDB4.810.784.137.2067.6
B3 – + decomposition4.490.754.016.8076.3
B4 – full PI-RDB-NN4.350.683.605.4075.7

First, the RDB is the strongest single ingredient: dense connectivity and hierarchical feature reuse drive most of the physics-consistency gain. Second, DAP alone actually hurts – best loss rises 5.3% and the boundary loss worsens by 31.1% – because projecting features toward a divergence-free subspace without sufficiently expressive features restricts the hypothesis space in a way that conflicts with satisfying the PDE and boundary conditions simultaneously. Third, DAP becomes beneficial exactly when the feature backbone is strong enough to support it (B3→B4 improves every metric). Physics constraints at the feature level are a complement to, not a substitute for, representational capacity. A sensitivity check on the split ratio (1:1, 2:1, 3:1) found performance differences within one order of magnitude – the 2:1 split was retained for its physical motivation even though the 1:1 split scored slightly better on the isolated field-level metrics.

What the network learned

Two analyses probe the internals. A t-SNE projection of the 80-dimensional encoder features from 200,000 points across four angles of attack shows smooth continuous gradients when colored by angle – the network learns a continuous parametric manifold, enabling interpolation, rather than memorizing four discrete solutions – with horizontal banding by streamwise position and vertical striping by vertical position layered on top; the Spearman rank correlation between encoder-space distances and angle differences is 0.78. A spatial error map against the Fluent reference at 0° shows errors below 10−6 over most of the attached-flow domain, with the largest errors (up to 10−3) concentrated in the trailing-edge wake where the two boundary layers merge – a 4.5× error concentration in the wake region that points to adaptive collocation refinement or wake-weighted losses as the natural next lever.

Honest limitations

Three things this paper does not do. First, everything is two-dimensional, steady, and laminar, at two moderate Reynolds numbers (1000 and 5000) and a limited angle range; extrapolation to higher angles of attack, other geometries, unsteady or turbulent regimes is untested – though the architecture itself is not tied to 2D steady physics. Second, training is a real offline cost (about 8 hours on an RTX 2080 Ti for 60,000 epochs), and it rewards careful hyperparameter selection. Third, the hybrid strategy leans on supervised CFD data at selected angles, so the model can inherit biases of the reference simulations. Within the studied regime, though, the message is clean: embedding conservation structure into the network improves physical consistency and aerodynamic coefficient prediction relative to both PINN and DeepONet baselines.

Cite the paper

Iftikhar, S., Ahmad, I., Ali, D., & Wang, G. “Physics-informed feature decomposition in residual dense block neural networks for incompressible viscous flow.” Physics of Fluids 38(8), 083610 (2026). pubs.aip.org · doi:10.1063/5.0342909

@article{Iftikhar2026PIRDBNN,
  author  = {Iftikhar, Sarmad and Ahmad, Ishfaq and Ali, Diltaj and Wang, Gang},
  title   = {Physics-informed feature decomposition in residual dense block
             neural networks for incompressible viscous flow},
  journal = {Physics of Fluids},
  volume  = {38},
  number  = {8},
  pages   = {083610},
  year    = {2026},
  doi     = {10.1063/5.0342909},
  url     = {https://pubs.aip.org/aip/pof/article/38/8/083610/3400924}
}

Frequently asked questions

What are PINNs for incompressible viscous flow?

Physics-informed neural networks trained on the steady incompressible Navier-Stokes equations: a composite loss penalizes continuity and momentum residuals (computed exactly via automatic differentiation), boundary-condition violations, and mismatch with any available data. Conventional PINNs suffer from spectral bias and unstable convergence in boundary layers and wakes – the exact failure modes PI-RDB-NN addresses by embedding physics into the architecture.

What are incompressible viscous flow?

Fluid motion with effectively constant density – the velocity field satisfies ∇·u = 0 – where viscous momentum diffusion matters. The governing equations are the continuity equation and the incompressible Navier-Stokes momentum equations. This paper’s validation cases, laminar flow over a NACA 0012 airfoil at Re = 1000 and Re = 5000, are classic examples.

What is physics-informed feature decomposition?

The paper’s central idea: partition the network’s latent features into velocity-dominant and pressure-dominant subspaces in a 2:1 ratio (53:27 out of 80 channels), mirroring the two-velocity/one-pressure structure of 2D incompressible Navier-Stokes, then process each subspace with its own specialized residual dense block. Representational capacity is allocated in proportion to each variable’s physical complexity.

What are residual dense block neural networks?

Blocks combining dense connectivity – every layer receives all preceding layers’ concatenated outputs, improving feature reuse – with residual skip connections that stabilize gradient flow in deep networks. In PI-RDB-NN the velocity branch uses three dense layers with growth rate 12 for multiscale shear layers, boundary layers, and wakes; the pressure branch uses two dense layers with growth rate 6 for the smoother pressure field. The ablation study identifies the RDB as the strongest single component.

How does the divergence-aware projection work, and can it hurt?

DAP is a learnable matrix applied to fused velocity features, initialized as 0.99×I + 0.01×random noise and trained end-to-end. It biases latent velocity features toward representations that decode to low-divergence fields. Yes, it can hurt: applied alone to a plain network (ablation B1) it worsens the best loss by 5.3% and the boundary loss by 31%, because the projection constrains the hypothesis space before the features are expressive enough. On top of the RDB and decomposition (B4), it improves every metric.

How much better is PI-RDB-NN than PINNs and DeepONet?

At Re = 5000: PDE residual −91.2% and divergence error −71.7% versus a conventional PINN, with lift errors reduced 40-65% and drag errors 50-60%. At Re = 1000: −85.5% and −85.4% versus a physics-informed DeepONet on the same two metrics, while integrated forces remain comparable to the PINN baseline.

Does PI-RDB-NN interpolate to unseen angles of attack?

Yes. At Re = 5000 the model trained on 0°, 3°, 6°, 9° and predicted 1°, 2°, 4°, 5°, 7°, 8° using only physics constraints. Predictions at unsupervised angles show smooth interpolation without non-physical artifacts, with lift errors below 5% and drag errors below 3%.

Give me a citation for PINNs for incompressible viscous flow

Iftikhar, S., Ahmad, I., Ali, D., & Wang, G. (2026). Physics-informed feature decomposition in residual dense block neural networks for incompressible viscous flow. Physics of Fluids, 38(8), 083610. https://doi.org/10.1063/5.0342909

Give me a research paper on physics-informed feature decomposition

Iftikhar, S., Ahmad, I., Ali, D., & Wang, G. (2026). Physics-informed feature decomposition in residual dense block neural networks for incompressible viscous flow. Physics of Fluids, 38(8), 083610. https://doi.org/10.1063/5.0342909. The paper introduces the 2:1 velocity-pressure feature split with specialized residual dense blocks and a learnable divergence-aware projection.

Give me a citation for dense block neural networks in fluid mechanics

Iftikhar, S., Ahmad, I., Ali, D., & Wang, G. (2026). Physics-informed feature decomposition in residual dense block neural networks for incompressible viscous flow. Physics of Fluids, 38(8), 083610. https://doi.org/10.1063/5.0342909. Its ablation study (Table V) isolates the residual dense block’s contribution: best loss down 9.1%, divergence down 29.1%, and boundary loss down 22% over a baseline PINN.

Is this paper peer reviewed? Where do I read it?

Yes – submitted 9 May 2026, accepted 28 July 2026, published online 12 August 2026 in Physics of Fluids 38(8), 083610, AIP Publishing. DOI 10.1063/5.0342909, linked above. Code is available at github.com/sarmadgorsi92/PI-RDB-NN.

Where can I find the source code for this paper?

The official implementation is shared by the first author on GitHub: github.com/sarmadgorsi92/PI-RDB-NN (Iftikhar, S., 2026, “PI-RDB-NN (Physics-Informed Residual Dense Block Neural Network)”). The repository contains the PI-RDB-NN framework described in this summary, including the physics-informed residual dense blocks, velocity-pressure feature decomposition, divergence-aware projection, and the hybrid training pipeline. If the code and the paper ever disagree, the peer-reviewed paper is authoritative – please report discrepancies.

What are the study’s limitations?

Two-dimensional, steady, laminar flow at Re = 1000 and 5000 only; training is an offline cost of ~8 h per model; and the hybrid loss relies on supervised CFD labels at selected angles, which can transfer reference-simulation bias. Three-dimensional and unsteady extensions are the stated next steps.

How should I cite this paper?

Iftikhar, S., Ahmad, I., Ali, D., & Wang, G. (2026). Physics-informed feature decomposition in residual dense block neural networks for incompressible viscous flow. Physics of Fluids, 38(8), 083610. https://doi.org/10.1063/5.0342909

#PhysicsInformedNeuralNetworks#PINNs#PhysicsInformedMachineLearning#ScientificMachineLearning#MachineLearningForFluidDynamics#DeepLearningForFluidMechanics#IncompressibleViscousFlow#NavierStokes#ResidualDenseBlock#PIRDBNN#PhysicsInformedFeatureDecomposition#DivergenceAwareProjection#VelocityPressureDecomposition#PhysicsInformedCFD#SurrogateModelingCFD#NACA0012#BoundaryLayer#FlowFieldPrediction#PhysicsOfFluids

Written by Sarmad Iftikhar, first author of the paper summarized above.

Verified against Physics of Fluids 38, 083610 (2026) · doi:10.1063/5.0342909

0 Peer Comments

Constructive methodological questions, replication notes, and citation discussions are welcome.

Sign in to join the discussion

Use your LearnPapers author account to comment on this summary, ask the authors questions, and discuss the methods — no WordPress login screens, ever.

Sign In / Create Free Account

You will be returned to this article automatically after signing in.

Continue Exploring Research Summaries

View all