TrajectoryFlowNet: Lagrangian-Eulerian learning of flow field and trajectories

Jiang Wan, Hongping Wang, Bo Liu, Guowei He, Yang Liu, Cai, Shengze, He, Guowei, Liu, YangarXiv 2025 · DOI · arXiv

TL;DR

TrajectoryFlowNet is a hybrid physics-informed neural network (PINN) that simultaneously reconstructs full-field fluid dynamics (Eulerian) and long-range particle trajectories (Lagrangian) from sparse, noisy data. By embedding Navier-Stokes constraints and a novel "compatibility loss," it achieves high-fidelity flow imaging even in complex, real-world scenarios like cardiovascular blood flow.

What Problem Does This Paper Address?

In fluid mechanics, we usually look at flow in two ways: Eulerian (watching the velocity at fixed points, like a sensor in a river) or Lagrangian (following individual particles as they move).

Standard experimental tools have major trade-offs. Particle Image Velocimetry (PIV) gives you the Eulerian field but requires high-density seeding and doesn't track individual paths well. Particle Tracking Velocimetry (PTV) tracks particles but struggles with long-range continuity and sparse data. Meanwhile, traditional CFD (Computational Fluid Dynamics) is computationally expensive and requires precise knowledge of boundary conditions that might be unknown in clinical or field settings.

The authors tackle the challenge of reconstructing a complete, physically consistent picture of fluid motion when you only have a few scattered particle "breadcrumbs" to work with, especially in geometries with irregular or moving boundaries.

Methods

The core of the paper is TrajectoryFlowNet, which uses a dual-block architecture:

  1. The Trajectory Block (Lagrangian): This network learns to map a particle's initial position and time to its future displacement. It uses a residual connection to ensure stable long-range tracking.
  2. The Flow Field Block (Eulerian): This network predicts the "stream function" ($\psi$) and pressure ($p$). By predicting the stream function rather than velocity directly, the model mathematically guarantees that the flow is incompressible (satisfying the continuity equation by design).

The "Secret Sauce": * Physics-Informed Loss: The model isn't just fitting curves; it's penalized if its predictions violate the Navier-Stokes equations. * Compatibility Loss: A crucial innovation that forces the derivative of the predicted particle positions ($dx/d\tau$) to match the predicted velocity field ($u$). This "bridges" the Lagrangian and Eulerian blocks. * Fourier Feature Mapping (FFM): Neural networks naturally suffer from "spectral bias," preferring low-frequency (smooth) solutions. FFM allows the model to capture the high-frequency, fine-scale turbulence and sharp gradients found in real flows.

Datasets

The model was validated across four increasingly difficult scenarios:

  • Lid-driven Cavity Flow: A standard numerical benchmark of fluid in a square box.
  • Complex Cylinder Flow: A numerical simulation of water flowing around a cylinder in an irregular duct at a high Reynolds number ($Re \approx 146,000$).
  • Experimental Aortic Blood Flow: Real-world data from a 3D-printed silicone model of an aorta during a heart valve replacement simulation.
  • Experimental Left Ventricle Flow: Data captured from a laboratory setup mimicking the complex, pulsating environment of the human heart's left ventricle.

Key Insights and Ideas

  • Grid-Free Learning: Unlike traditional CFD, TrajectoryFlowNet is point-wise. It doesn't need a mesh, making it exceptionally good at handling the "messy" irregular boundaries of biological vessels.
  • Implicit Boundary Conditions: One of the most impressive features is that the model does not need explicit boundary conditions (like "the velocity at the wall is zero"). It infers these constraints directly from the sparse particle data and physics laws.
  • Pressure from Motion: Even though the training data only contained particle positions and velocities, the model successfully reconstructed pressure fields by leveraging the momentum balance in the Navier-Stokes equations.

Key Results

  • High Precision: In numerical tests, the model achieved Pearson correlation coefficients above 0.99 for both trajectories and velocity fields.
  • Robustness to Sparsity: In the left ventricle case, the model worked with an average of fewer than 92 sample points per time step, yet maintained a correlation of 0.9 for trajectory prediction.
  • Superiority over Baselines: When compared to "AI Velocimetry" (AIV), TrajectoryFlowNet showed significantly higher fidelity in complex regions. AIV completely failed to capture the dynamics in the high-Reynolds-number cylinder case, while TrajectoryFlowNet identified the correct flow trends.
  • Temporal Consistency: Relative $L^2$ error for trajectories remained below 1.3% over long durations in the cavity test, proving the model doesn't "drift" significantly over time.

Limitations and Future Work

  • 2D vs. 3D: The current study is confined to 2D configurations. Real-world turbulence is inherently 3D, which will require significantly more computational power and multi-view camera data.
  • Scalability: The point-wise architecture may face challenges when scaling to massive, high-resolution 3D turbulent datasets. The authors suggest integrating Graph Neural Networks (GNNs) to better encode spatial connectivity.
  • Uncertainty Quantification: The model currently provides a "best guess." Future versions could benefit from probabilistic frameworks (like Bayesian NNs) to tell researchers how much they should trust a specific prediction in a noisy region.
  • Reynolds Number Sensitivity: The model's performance slightly degrades during periods of rapid Reynolds number fluctuation, suggesting a need for more adaptive parameter estimation.

Summary updated

Abstract

Predicting particle transport in complex flows is traditionally achieved by solving the Navier-Stokes equations. While various numerical and experimental methods exist, they typically require deep physical insights and incur high computational costs. Machine learning offers an alternative by learning predictive patterns directly from data, avoiding explicit physical modeling. However, purely data-driven approaches often lack interpretability, physical consistency, and generalizability in sparse data regimes. To this end, we propose TrajectoryFlowNet, a Lagrangian-Eulerian physics-informed neural network architecture, for fluid flow velocimetry and imaging via learning to predict spatiotemporal flow fields and long-range particle trajectories. The salient features of our model include its ability to handle complex flow patterns with irregular boundaries, predict the full-field flows, image the long-range flow trajectory of any arbitrary particle, and ensure physical consistency in predictions based only on very scarce measurement of flow trajectories. We validate TrajectoryFlowNet via both numerical examples (e.g., lid-driven cavity flow and complex cylinder flow) and experimental test cases (e.g., aortic and ventricle blood flows) across diverse flow scenarios. The results demonstrate our model's effectiveness in capturing intricate particle-laden flow dynamics, enabling long-range tracking of particles and accurate construction of flow fields in real-world applications.
BibTeX
@misc{wan2025trajectoryflownet,
  author = {Jiang Wan and Hongping Wang and Bo Liu and Guowei He and Yang Liu and Cai, Shengze and He, Guowei and Liu, Yang},
  title = {{TrajectoryFlowNet: Lagrangian-Eulerian learning of flow field and trajectories}},
  year = {2025},
  eprint = {2507.09621},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.09621},
  howpublished = {arXiv},
}
Figure