AI-TechScienceGovernmentBusinessSportsEntertainment
Science

Neural networks learn to predict shifting viscous fluid flows

A mathematical architecture that mirrors physical balance laws lets operator networks calculate transient fluid motion without standard grid bottlenecks.

14 statements added by Giulio · 3 Dec see what was added
Neural networks learn to predict shifting viscous fluid flows
Source: Wolfram
Published3 Dec 2026, 14:12 Last updated3 Dec 2026, 14:12 Sources
Source mode Marks each sentence drawn from a source or a contributor

When a viscous liquid moves past an obstacle, its velocity and internal pressure shift constantly over time. The fluid resists motion through viscosity, the internal friction between adjacent fluid layers, while pressure forces act across the volume to keep the liquid moving smoothly. Calculating these changing patterns traditionally requires dividing the space into a dense computational grid and calculating forces at each tiny interval. These conventional simulations capture physical reality accurately, but they consume immense computing time whenever a channel shape changes or boundary conditions fluctuate.

The motion of such a liquid follows a clear physical sequence. First, an applied force or pressure difference pushes the fluid at the boundaries of a channel. Next, viscous drag transfers momentum between moving layers, dampening abrupt velocity changes and resisting sharp deformation. Because the fluid is incompressible, meaning its density remains uniform under pressure, any velocity change in one location immediately triggers a redistributing pressure response throughout the entire domain. As time progresses, these momentum and pressure interactions propagate forward together, causing the overall velocity pattern to evolve from one moment to the next.

Fast predictions of shifting motion assist engineers designing pipelines and chemical reactors where testing many geometric configurations is routine. To accelerate these calculations, researchers have turned to operator networks, a class of machine learning models designed to map input conditions directly to continuous physical fields.1 In a preprint posted on September 29, 2026, to the arXiv server, researchers Laura Rinaldi and Giulio Giuseppe Giusteri adapted an approach known as the Variationally Mimetic Operator Network, or VarMiON, to simulate transient viscous flows.2 The accepted manuscript, which has undergone peer review and is now published, investigates whether embedding physical balance laws directly into an operator network architecture can accurately reproduce time-dependent fluid motion.

Why does simulating transient viscous motion challenge standard networks?

Standard neural networks struggle with transient viscous motion because fluid velocity carries both direction and magnitude while changing continuously across time. In fluid dynamics, velocity represents a vector-valued field, meaning the model must predict multiple directional components simultaneously at every spatial coordinate.2 In addition, transient behavior requires tracking how these vector fields evolve over a continuous temporal interval to capture unsteady conditions.2

Neural networks learn to predict shifting viscous fluid flows
Source: Utah

Conventional engineering solvers handle these demands through finite-element methods, which discretize the flow domain into smaller elements and solve algebraic equations at successive time steps.2 While highly accurate, repeated finite-element evaluations create computational bottlenecks during iterative engineering design. When researchers train unconstrained deep learning models to predict these flow patterns, the networks frequently produce unphysical velocities or fail to maintain the strict volume conservation required by incompressibility.

How does the mathematical architecture preserve physical laws?

The system preserves physical laws by structuring its network components to mirror the integral energy balances of variational mechanics.2 In mathematical physics, variational formulations state differential equations through integral relationships that describe how a system balances internal stresses. The Variationally Mimetic Operator Network was first introduced in a 2022 preprint by Dhruv Patel, Deep Ray, Michael R. A. Abdelmalik, Thomas J. R. Hughes, and Assad A. Oberai, who developed the framework to approximate solutions for generic elliptic differential problems.12 Patel and colleagues constructed their model using two dedicated sub-networks, where one branch generates basis functions for the output and the other calculates coefficients for those basis functions, with both sub-networks strictly determined by the variational structure.1

Rinaldi and Giusteri expanded this foundation to fluid mechanics by reformulating the architecture for vector-valued outputs and space-time domains.2 Transient flows require approximations that span both spatial dimensions and temporal duration simultaneously. By tailoring the sub-networks to represent the coupled velocity components of a moving fluid across space and time, the authors ensured that the network preserves the variational structure of viscous flow equations throughout the entire simulated period.2

Giulio explained in response to questions from Primary that enforcing physical principles directly changes the algebraic construction of the surrogate model. Giulio said "the reproduction of the variational structure in the architecture of the operator network leads to underlying algebraic operations, in the process of reconstructing solutions, that involve matrices with a constrained structure." According to Giulio, this design "allows to enforce certain properties such as the positivity of the matrix that represents the energy dissipation."

Neural networks learn to predict shifting viscous fluid flows
Source: Comsol

Giulio also noted that the network must handle space and time jointly rather than relying on sequential corrections. Giulio said "we did not adjust the architecture to cope with training failure issues," explaining that "the important point is to properly include the time dependence of the solution in the learning process, as proposed by Erik Chinellato, Paolo Martin, Laura Rinaldi, and Fabio Marcuzzi in a 2025 article." Giulio added that "in the physical model causality is encoded in the equations, but the VarMiON can only reproduce it through the observation of data," creating the need for "an architecture that treats space and time as a whole."

Where does the new flow approximation succeed and fall short?

The extended framework reproduces reference solutions in controlled benchmark channels but remains restricted to slower, linearized fluid conditions.2 To evaluate performance, Rinaldi and Giusteri applied their space-time network across three paradigmatic flow geometries, comparing the machine learning outputs against reference solutions produced by finite-element methods.2 Across all three tested geometries, the authors reported very good agreement between the network predictions and the benchmark numerical results, demonstrating that the variational structure can replicate transient velocity fields.2

Giulio told Primary that the relative error achieved by the network prediction has an average value consistently below 2 percent across the test cases. More specifically, the model achieved an average relative error of 1.85 percent for the cavity flow, 0.42 percent for the flow past a cylinder, and 0.91 percent for the contraction flow, measured relative to the finite-element baselines. Giulio added that the implementation code and data have been placed in a public repository on GitHub as part of a collaborative initiative involving Fabio Marcuzzi at the Università degli Studi di Padova.

These initial successes operate within strict physical limits. Rinaldi and Giusteri restricted their investigation to fluid regimes with low-to-moderate Reynolds numbers, a dimensionless ratio measuring the balance between inertial forces and viscous resistance in a flowing fluid.2 In this moderate regime, the nonlinear Navier-Stokes equations can be simplified by linearization into the time-dependent Stokes problem for incompressible fluids.2 Giulio said that in this study "we deliberately confined ourselves to a regime that is well below the values of Reynolds number at which the nonlinearity of the Navier-Stokes equation becomes relevant." The current model does not address turbulent flows where inertia dominates, nor does it account for compressible fluids or irregular material viscosities. In addition, the findings report the accepted version of the manuscript, which has undergone peer review and is now published.

If variationally structured networks prove capable of handling broader fluid regimes, they could offer engineers rapid surrogate models to test piping configurations without the computational cost of meshed numerical solvers. The next test is determining whether the approach can extend beyond the linearized Stokes problem into the full nonlinear Navier-Stokes equations.2 Giulio pointed out that identifying when linear approximations break down will require developing an effective technique to represent nonlinear terms inside the operator network.

The record

23 sentences trace to 2 sources and 1 contributor.

  1. 1 A arxiv.org Paper · arxiv.org Variationally Mimetic Operator Networks Preprint · may not have been peer reviewed See the source
  2. 2 LR Laura Rinaldi, Giulio Giuseppe Giusteri Paper · arxiv.org · 29 Sep 2026 Variationally mimetic operator network approach to transient viscous flows Preprint · may not have been peer reviewed See the source
  3. 3 G Giulio Contributor · interview 2 Oct 2026 · in the article since 3 Dec 2026 Contribution — Giulio 14 statements added to this article

Article history

  1. Published 3 Dec 2026, 14:12
    Assembled by the Primary desk from 2 sources · 1 contributor · 23 cited sentences
  2. Giulio 14 statements added 63 days before publication
    1. Go to the sentence: The system preserves physical laws by structuring its network components to mirror the integral energy balances of variational mechanics.
    2. Go to the sentence: By tailoring the sub-networks to represent the coupled velocity components of a moving fluid across space and time, the authors ensured that the network preserves the variational structure of viscous flow equations throughout the entire simulated period.
    3. Go to the sentence: Giulio said "the reproduction of the variational structure in the architecture of the operator network leads to underlying algebraic operations, in the process of reconstructing solutions, that involve matrices with a constrained structure."
    4. Go to the sentence: According to Giulio, this design "allows to enforce certain properties such as the positivity of the matrix that represents the energy dissipation."
    5. Go to the sentence: Giulio said "we did not adjust the architecture to cope with training failure issues," explaining that "the important point is to properly include the time dependence of the solution in the learning process, as proposed by Erik Chinellato, Paolo Martin, Laura Rinaldi, and Fabio Marcuzzi in a 2025 article."
    6. Go to the sentence: Giulio added that "in the physical model causality is encoded in the equations, but the VarMiON can only reproduce it through the observation of data," creating the need for "an architecture that treats space and time as a whole."
    7. Go to the sentence: The extended framework reproduces reference solutions in controlled benchmark channels but remains restricted to slower, linearized fluid conditions.
    8. Go to the sentence: To evaluate performance, Rinaldi and Giusteri applied their space-time network across three paradigmatic flow geometries, comparing the machine learning outputs against reference solutions produced by finite-element methods.
    9. Go to the sentence: Across all three tested geometries, the authors reported very good agreement between the network predictions and the benchmark numerical results, demonstrating that the variational structure can replicate transient velocity fields.
    10. Go to the sentence: Giulio told Primary that the relative error achieved by the network prediction has an average value consistently below 2 percent across the test cases.
    11. Go to the sentence: More specifically, the model achieved an average relative error of 1.85 percent for the cavity flow, 0.42 percent for the flow past a cylinder, and 0.91 percent for the contraction flow, measured relative to the finite-element baselines.
    12. Go to the sentence: Rinaldi and Giusteri restricted their investigation to fluid regimes with low-to-moderate Reynolds numbers, a dimensionless ratio measuring the balance between inertial forces and viscous resistance in a flowing fluid.
    13. Go to the sentence: Giulio said that in this study "we deliberately confined ourselves to a regime that is well below the values of Reynolds number at which the nonlinearity of the Navier-Stokes equation becomes relevant."
    14. Go to the sentence: The next test is determining whether the approach can extend beyond the linearized Stokes problem into the full nonlinear Navier-Stokes equations.