H-SPAR: Hydrodynamic-aware Simulation for Particle Transport and Autonomous Robots

arXiv:2610.01985 · cs.RO · Submitted 2026-10-01 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.

Rosa: Today's paper: "H-SPAR: Hydrodynamic-aware Simulation for Particle Transport and Autonomous Robots".

Dev: H-SPAR is an open-source, hydrodynamic-aware simulation framework designed to evaluate autonomous marine sampling missions by jointly modeling spatio-temporally varying flow fields, Lagrangian particle transport,

Rosa: First, who's behind it and why it matters.

Paper summary: Rosa: So, to conclude our discussion on "H-SPAR: Hydrodynamic-aware Simulation for Particle Transport and Autonomous Robots," the authors present a framework that integrates spatio-temporally varying velocity fields with Lagrangian particle transport, probabilistic sampling, and USV autonomy within ROS two/Gazebo.

Dev: The core contribution is showing how this unified approach allows for the joint evaluation of mission cost and sampling performance under consistent hydrodynamic conditions across planning, execution, and sampling levels.

Taro: The implication is that researchers can design autonomous strategies with a much deeper understanding of the interplay between water currents affecting robot motion and particle availability simultaneously.

Rosa: In simpler terms, this paper provides a single system where you can test if a sampling mission will succeed by looking at how the flow affects the robot's journey *and* where the particles are moved while it's there.

Dev: And when we consider the title, "H-SPAR: Hydrodynamic-aware Simulation for Particle Transport and Autonomous Robots," it really emphasizes that this isn't just about one aspect; it’s about the entire coupled system being hydrodynamic aware.

Taro: The impact could be in how quickly we can validate autonomous sampling missions in realistic marine environments before deploying hardware into the field.

Rosa: It suggests a powerful tool for designing effective, robust strategies by allowing us to see mission cost and sampling efficiency as one cohesive metric, rather than separate evaluations.

Dev: Ultimately, this work provides a platform where the complexities of dynamic marine flow fields are managed systematically within a simulation environment that supports real-time control concepts.

Conclusion: Rosa: So, we've seen how H-SPAR integrates flow modeling and particle tracking to evaluate marine missions, and now we need to talk about what that title actually means for us as field roboticists.

Dev: I agree, Rosa; the name itself suggests a very specific level of integration—that it’s not just simulating water or just simulating a robot; it’s the coupling of both under hydrodynamic awareness.

Taro: From an autonomy standpoint, the implication is that we can finally test planning algorithms not just on simple straight lines, but on trajectories that actively try to avoid strong currents while also optimizing particle collection paths.

Rosa: Exactly! It means we move past testing in a calm lab environment and start having some real confidence about how these systems will behave when they hit those unpredictable, messy ocean conditions out there in the field.

Dev: And from an engineering standpoint, that consistency across planning, execution, and sampling levels is what really matters for deployment; it reduces the kind of nasty surprises we get when you try to run a complex loop on actual hardware.

Taro: I think the big picture impact is that this level of simulation allows us to push autonomy into environments where the physics are constantly changing due to currents, which is where most current planning methods fall apart.

Rosa: It’s about building systems that are inherently more robust because they've been tested against these complex physical interactions before they ever touch the open water.

Dev: And we need to keep pushing on that loop rate and latency when we move toward real-world validation; if this simulation works well in H-SPAR, we need to ensure our control systems can handle the actual demands of that fidelity.

Taro: It opens up a whole new class of mission design where the primary constraint isn't just battery life or sensor noise, but how effectively the robot navigates and samples within those dynamic flow fields.

Rosa: It certainly gives us a solid foundation to start asking those big questions about how long these models hold up when you move from simulated currents to real-world turbulence.

Dev: That brings us nicely into the next part where we need to discuss the specific authors of this work and what their background suggests about the technical rigor applied here.

Navid Zarrabi, Nariman Yousefi, Sajad Saeedi

Department of Mechanical, Industrial, and Mechatronics Engineering, Toronto Metropolitan University · Department of Chemical Engineering, Toronto Metropolitan University · Department of Computer Science, University College London

cs.RO

Submitted: 2026-10-01

Updated: 2026-10-01

Comments: 20 pages, 4 Figures, 3 Tables

Code: https://github.com/naviiidz/h-spar-sim

Project page: https://sites.google.com/view/h-spar

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 77/100

The gist: H-SPAR is an open-source, hydrodynamic-aware simulation framework designed to evaluate autonomous marine sampling missions by jointly modeling spatio-temporally varying flow fields, Lagrangian

Key concepts

Unified System Architecture
H-SPAR uses a two-part structure: a ROS 2 backend for planning and flow modeling, and a Gazebo frontend for simulating the physical environment. This separation allows the system to model complex environmental dynamics independently from the vehicle's motion physics, ensuring modularity.
Environmental Velocity Field
The simulation models water movement using fine-grained velocity fields derived from depth-averaged Shallow Water Equations (SWE). These fields describe local water motion across a mesh, balancing high detail with computational efficiency for simulating large currents.
Current-Aware Path Planning
Path planning algorithms are modified to consider the local flow field. Planners like VF-RRT* query the velocity field along potential paths to select trajectories that align with favorable currents or avoid strong opposing flows, improving mission success.
Lagrangian Particle Transport
The movement of individual particles is tracked using Eulerian velocity fields interpolated at particle locations. This transport model accounts for both the bulk advection by the flow and optional stochastic diffusion, accurately predicting where particles will travel over time.

Terminology

Summary

H-SPAR is an open-source, hydrodynamic-aware simulation framework designed to evaluate autonomous marine sampling missions by jointly modeling spatio-temporally varying flow fields, Lagrangian particle transport, and closed-loop Uncrewed Surface Vehicle (USV) autonomy. This integrated approach addresses the limitations of existing simulators by enabling the evaluation of mission cost and sampling performance under consistent hydrodynamic conditions across planning, execution, and sampling levels.

The gist: H-SPAR integrates spatially and temporally varying velocity fields, Lagrangian particle transport, probabilistic sampling, and ROS 2/Gazebo-based uncrewed surface vehicle (USV) autonomy to evaluate particle-sampling missions under marine flow conditions.

Unified System Architecture

H-SPAR integrates a hydrodynamic-aware backend implemented in ROS 2 with a physics-aware frontend implemented in Gazebo, as shown in Fig. 2. This architecture separates the environmental modeling from the vehicle dynamics, allowing for modularity and independent incorporation of disturbances. The system utilizes a shared fine-grained velocity field representation generated using Firedrake [16] and provided as input to H-SPAR.

The framework operates through a pipeline where the ROS 2 backend hosts current-aware path and motion planning, hydrodynamic flow modeling, and Lagrangian particle transport. Gazebo provides the simulated aquatic environment, including USV models with rigid-body dynamics, virtual sensors, obstacles, and plugins for buoyancy and hydrodynamic effects. Sensor measurements are transmitted from Gazebo to ROS 2 via the ROS 2–Gazebo bridge.

Environmental Velocity Field

H-SPAR represents the hydrodynamic environment using fine-grained velocity fields that describe the local water motion. These fields can be obtained from various sources, including physics-based hydrodynamic solvers [18], analytical flow models [2], and data-driven predictors [19]. The computational domain is discretized using an unstructured triangular mesh generated with Gmsh [20].

To balance fidelity and scalability, the velocity fields used in this study are generated using the depth-averaged Shallow Water Equations (SWE) [23]. This formulation captures large-scale horizontal flow structures while remaining computationally tractable for mission-level robotic simulation, making it appropriate for scenarios where particle advection and USV motion are primarily influenced by large-scale horizontal currents.

Current-Aware Path Planning

Water currents significantly affect the hydrodynamic difficulty of missions, necessitating planning that accounts for this influence. H-SPAR implements and evaluates geometry-based RRT∗ planner and two current-aware variants, VF-RRT∗ [1] and SVF-RRT∗ [2]. These planners additionally query the environmental velocity field along candidate path segments, allowing them to favor trajectories that are more aligned with the local flow and avoid regions with strong opposing currents.

The hydrodynamic difficulty is quantified using an upstream-cost metric adapted from Eq. (1) of SVF-RRT∗ [2], which depends on the motion of the USV relative to the local current field, evaluated along the generated path using the local velocity field at planning level.

Current-Aware USV Dynamics

H-SPAR estimates current-induced drag based on the spatial and temporal state of each USV. This is achieved by querying the corresponding local current velocity and computes the resulting drag force and moment at each simulation time step. The hydrodynamic drag is modeled using a quadratic damping formulation to represent surge, sway, and yaw effects [9].

The relative flow velocity for each hull i is calculated as:

urel,i = ui/vi + −ωiry,i / ωirx,i - uw, (1)

where uw is the current velocity vector expressed in the hull body frame. The drag force in surge and sway directions is modeled by Eq. (2), and the yaw torque is defined by Eq. (3). The resulting hydrodynamic wrench is then applied to the USV model through the bridge.

Lagrangian Particle Transport

The fine-grained Eulerian velocity fields are interpolated at each particle location to update the motion of Lagrangian particles in the water. Particle transport accounts for both advection by the local flow velocity and diffusion [28], modeled by:

dx/dt = u(x, t) + R(t), (7)

where x(t) denotes particle position, u(x, t) the interpolated velocity field, and R(t) an optional stochastic term for subgrid-scale turbulent diffusion.

Probabilistic Particle Sampling Model

To evaluate monitoring missions, H-SPAR includes a mission-level probabilistic sampling model that estimates whether particles encountered by the USV are sampled based on their relative motion with respect to the robot. A particle is considered inside the sampling region if its position in the robot frame satisfies∥ rxp∥ ≤ rs.

Improvements for AI systems

Here are the specific improvements that could be made to AI systems based on the H-SPAR framework, along with what those improved systems could accomplish:


The core contribution of H-SPAR is enabling closed-loop simulation where environmental flow, vehicle dynamics, particle transport (Lagrangian), and sampling probability are evaluated simultaneously. This capability moves AI from optimizing single stages (planning OR execution) to optimizing the entire mission lifecycle under realistic physical coupling.

Here are specific improvements and capabilities:

  1. Unified Closed-Loop Mission Optimization:

This system integrates a planning module (like VF-RRT/SVF-RRT) with an execution module (DWA/ROS 2 control) that is directly informed by the Lagrangian particle transport model and current-induced drag forces.

Improvement: Instead of treating planning and execution as separate optimization steps, the AI optimizes a single objective function that minimizes a combined cost:

Cost = (Planning-level Upstream Cost) + (Execution-level Trajectory Deviation) + (Sampling Efficiency Metric).

Capabilities: The resulting USV can generate paths that are not only geometrically efficient but also robust against unmodeled current variations and optimized specifically for maximizing particle capture probability, leading to significantly lower mission costs and higher sampling rates than traditional planners.

  1. Hydrodynamic-Aware Path Planning with Temporal Robustness:

Improvement: Implement path planning algorithms (RRT variants) that can explicitly handle the discrepancy between the flow field used during planning (time-averaged) and the actual time-varying flow field encountered during execution, as demonstrated by Experiment 1. This involves developing a mechanism to quantify flow uncertainty or temporal mismatch.

Capabilities: AI systems will be able to generate paths that maintain high performance even when environmental conditions change rapidly over the mission duration, reducing trajectory deviation and ensuring consistent upstream cost across dynamic environments.

  1. Coverage Strategy Optimization based on Particle Dynamics:

Improvement: Develop a coverage planning module that evaluates different sweep orientations (e.g., 0°, 45°, 90°) not just based on geometric line-of-sight, but by simulating the resulting particle encounter probability derived from the Lagrangian transport and relative velocity models.

Capabilities: AI systems will intelligently select optimal survey patterns (e.g., sweep direction) that maximize the actual number of successfully sampled particles, rather than just maximizing mission duration or geometric coverage area.

  1. Physics-Informed Sampling Decision Making:

Improvement: Integrate a probabilistic sampling module directly into the AI's decision loop for particle collection, using the capture probability function derived from relative velocity and pump design (Eq. 10).

Capabilities: The robot can make real-time decisions on whether to target a specific particle based on its calculated likelihood of capture, allowing for smart sampling strategies that prioritize particles most likely to be successfully collected, leading to higher data quality per unit of energy expenditure.

  1. Open-Source Simulation and Benchmarking Infrastructure:

Improvement: Leverage the open-source ROS 2/Gazebo framework and the standardized metrics (Path Deviation, Executed Upstream Cost) to create a standardized benchmark suite for evaluating autonomous marine sampling AI algorithms across various hydrodynamic conditions.

Capabilities: Researchers can rapidly iterate on new planning or control algorithms by testing them against a high-fidelity, coupled simulation environment that accurately reflects real-world hydrodynamic challenges without needing expensive, full CFD runs for every test case.

Related papers