Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-06T00:37:38.707Z Has data issue: false hasContentIssue false

Learning to traverse convective flows at moderate to high Rayleigh numbers

Published online by Cambridge University Press:  15 July 2026

Ao Xu
Affiliation:
Institute of Extreme Mechanics, School of Aeronautics, Northwestern Polytechnical University , Xi’an 710072, PR China National Key Laboratory of Aircraft Configuration Design, Key Laboratory for Extreme Mechanics of Aircraft of Ministry of Industry and Information Technology, Xi’an 710072, PR China
Hua-Lin Wu
Affiliation:
Institute of Extreme Mechanics, School of Aeronautics, Northwestern Polytechnical University , Xi’an 710072, PR China
Ben-Rui Xu
Affiliation:
Institute of Extreme Mechanics, School of Aeronautics, Northwestern Polytechnical University , Xi’an 710072, PR China
Heng-Dong Xi*
Affiliation:
Institute of Extreme Mechanics, School of Aeronautics, Northwestern Polytechnical University , Xi’an 710072, PR China National Key Laboratory of Aircraft Configuration Design, Key Laboratory for Extreme Mechanics of Aircraft of Ministry of Industry and Information Technology, Xi’an 710072, PR China
*
Corresponding author: Heng-Dong Xi, hengdongxi@nwpu.edu.cn

Abstract

Content of image described in text.

We study the navigation of a self-propelled inertial particle in two-dimensional Rayleigh–Bénard convection at Prandtl number $\textit{Pr}=0.71$ and cell aspect ratio $\varGamma =4$ for Rayleigh numbers $Ra$ ranging from $10^7$ to $10^{11}$. A reinforcement-learning (RL) controller selects the propulsive acceleration, subject to an upper bound $\mathcal{A}_{\textit{max}}$, to achieve a prescribed horizontal displacement. We find that the success rate increases abruptly with $\mathcal{A}_{\textit{max}}$ at moderate $Ra$, whereas at higher $Ra$ the transition becomes more gradual and shifts to larger $\mathcal{A}_{\textit{max}}$. Moreover, although the completion time increases with $Ra$, the propulsion energy required for successful traversal decreases. Proper orthogonal decomposition indicates that these performance differences are associated with reorganisation of the carrier flow. At moderate $Ra$, the dominant large-scale circulation partitions the domain through persistent transport barriers, requiring a finite thrust surplus to cross them; at higher $Ra$, energy is distributed across many modes, the barriers fragment and transient plume-assisted pathways emerge. Compared with a constant-heading baseline, the learned policy aligns with local currents and consumes significantly less energy. Lagrangian coherent structure analysis further suggests that the RL agent tends to cross repelling barriers and surf along attracting pathways. Finally, by mapping these behaviours onto the local Eulerian flow topology using Voronoi tessellation and the $Q$-criterion, we distil an interpretable, physics-based heuristic strategy that retains robust navigability. These results connect turbulent-flow organisation with autonomous navigation under bounded actuation.

Information

Type
JFM Papers
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Table 1. A posteriori verification of spatial and temporal resolutions for the present direct numerical simulations. The columns list, from left to right: Rayleigh number Ra$Ra$; grid resolution Nx×Ny$N_x \times N_y$; maximum wall-normal grid spacing relative to the Kolmogorov length scale, (Δg)max/ηK$(\varDelta _g)_{\textit{max}}/\eta _K$, and to the Batchelor length scale, (Δg)max/ηB$(\varDelta _g)_{\textit{max}}/\eta _B$; maximum time step relative to the Kolmogorov time scale, (Δt)max/τη$(\varDelta _t)_{\textit{max}}/\tau _\eta$; volume-averaged Nusselt number Nu$\textit{Nu}$ from the present simulations; and reference Nu$\textit{Nu}$ values from Zhu et al. (2018).Table 1 long description.

Figure 1

Figure 1. Instantaneous dimensionless temperature field T∗$T^*$ at Pr=0.71$\textit{Pr}=0.71$ in a cell of aspect ratio Γ=4$\varGamma =4$ for (a) Ra=107$Ra=10^7$, (b) Ra=108$Ra=10^8$, (c) Ra=109$Ra=10^9$, (d) Ra=1010$Ra=10^{10}$ and (e) Ra=1011$Ra=10^{11}$. Here, T∗=(T−T0)/ΔT$T^*=(T-T_0)/\varDelta _T$, where ΔT$\varDelta _T$ denotes the temperature difference between the heated bottom and cooled top walls.

Figure 2

Figure 2. Representative navigation trajectories for the fixed-displacement task. (a,b) Representative single trajectories and (c,d) trajectory ensembles, for (a) Ra=108$Ra=10^8$ with Amax=1.5$\mathcal{A}_{\textit{max}}=1.5$, (b) Ra=1010$Ra=10^{10}$ with Amax=5.0$\mathcal{A}_{\textit{max}}=5.0$, (c) Ra=108$Ra=10^8$ with Amax=1.0$\mathcal{A}_{\textit{max}}=1.0$ and (d) Ra=1010$Ra=10^{10}$ with Amax=3.0$\mathcal{A}_{\textit{max}}=3.0$. The background contours indicate the instantaneous dimensionless temperature T∗$T^*$. The prescribed horizontal displacement is ℓ=4$\ell =4$, equal to one full domain width (Γ=4$\varGamma =4$), while the final vertical position is unconstrained. Because the lateral boundaries are periodic, the particle traverses the domain once. As a result, the start (blue square) and goal (red star) markers have the same horizontal coordinate in the plotted window; any apparent offset is due to the unconstrained vertical drift.

Figure 3

Figure 3. Figure 3 long description.Success rate S=N1/N0$S=N_1/N_0$ as a function of (a) the maximum dimensionless propulsive acceleration, Amax=max(‖apropel‖/g)$\mathcal{A}_{\textit{max}}=\max (\|\boldsymbol{a}_{\textit{propel}}\|/g)$, and (b) the navigable-area fraction, γ$\gamma$, for Rayleigh numbers 107≤Ra≤1011$10^7 \le Ra \le 10^{11}$. Here, γ$\gamma$ denotes the spatiotemporal mean fraction of the flow domain in which the particle’s active terminal velocity Ut,max∗$U_{t,max }^*$ exceeds the local fluid speed ‖uf∗‖$\|\boldsymbol{u}_{\!f}^*\|$.

Figure 4

Figure 4. Dimensionless completion time tcomp∗$t_{\textit{comp}}^*$ for the fixed-displacement task as a function of (a) the maximum dimensionless propulsive acceleration Amax$\mathcal{A}_{\textit{max}}$ for different Ra$Ra$ and (b) the Rayleigh number Ra$Ra$ for different Amax$\mathcal{A}_{\textit{max}}$.

Figure 5

Figure 5. Figure 5 long description.Dimensionless propulsion energy Epropel∗$E_{\textit{propel}}^*$ for the fixed-displacement task as a function of (a) the maximum dimensionless propulsive acceleration Amax$\mathcal{A}_{\textit{max}}$ for different Ra$Ra$ and (b) the Rayleigh number Ra$Ra$ for different Amax$\mathcal{A}_{\textit{max}}$.

Figure 6

Figure 6. Normalised cumulative modal energy ∑i=1mλi$\sum _{i=1}^m \lambda _i$ as a function of mode number m$m$ for (a) Ra=108$Ra=10^8$ and (b) Ra=1010$Ra=10^{10}$. The vertical dashed lines indicate the number of modes required to capture 99%$99\,\%$ of the total fluctuating kinetic energy. (c) The required number of modes as a function of Ra$Ra$.

Figure 7

Figure 7. Generalisability of the learned policies across Rayleigh numbers. The heatmap shows the success rate S$S$ of policies trained at a given Ra$Ra$ (rows) and evaluated at different testing Ra$Ra$ (columns). All cases are evaluated at Amax=5.0$\mathcal{A}_{\textit{max}}=5.0$.

Figure 8

Figure 8. (a) Average cumulative reward ⟨∑rt⟩$\langle \sum r_t \rangle$ and (b) success rate S$S$ as functions of the reward-weighting ratio R/Q$R/Q$ for different Rayleigh numbers Ra$Ra$.

Figure 9

Figure 9. Figure 9 long description.(a) Average cumulative reward components and (b) their relative variations, σ(∑rt)/⟨∑rt⟩$\sigma (\sum r_t)/\langle \sum r_t \rangle$. The curves show how the total reward decomposes into the time-efficiency term ∑RVeff∗$\sum R V_{\textit{eff}}^*$ (squares) and the actuation-penalty term ∑Q‖apropel∗‖$\sum Q\|\boldsymbol{a}_{\textit{propel}}^*\|$ (triangles), as functions of the reward-weighting ratio R/Q$R/Q$ at Ra=109$Ra=10^9$.

Figure 10

Figure 10. Trajectories illustrating the limiting behaviours of the reward formulation for two actuation bounds. (a,b) The time-reward-only limit (R/Q→∞$R/Q \to \infty$) and (c,d) the energy-penalty-only limit (R/Q→0$R/Q \to 0$), for (a,c) Amax=2.5$\mathcal{A}_{\textit{max}}=2.5$ and (b,d) Amax=10$\mathcal{A}_{\textit{max}}=10$. The background contours indicate the instantaneous dimensionless temperature T∗$T^*$, and the colour along each trajectory indicates the dimensionless particle speed ‖up∗‖$\|\boldsymbol{u}_{\!p}^*\|$.

Figure 11

Figure 11. Figure 11 long description.Comparison of the learned RL policy with the constant-heading baseline for the fixed-displacement task. Trajectories obtained with (a) the RL policy and (b) the constant-heading baseline at Ra=1010$Ra=10^{10}$ and Amax=5.0$\mathcal{A}_{\textit{max}}=5.0$. The background contours indicate the instantaneous dimensionless temperature T∗$T^*$, and the colour along each trajectory indicates the dimensionless particle speed ‖up∗‖$\|\boldsymbol{u}_{\!p}^*\|$. As in figure 2, the start marker (blue square) and goal marker (red star) have the same horizontal coordinate because of the periodic lateral boundaries; in (b), they overlap visually because the particle returns to its initial vertical position on completing the task. (c) The dimensionless propulsion energy Epropel∗$E_{\textit{propel}}^*$ versus Ra$Ra$ for both strategies. (d) The relative propulsion cost ERL∗/Ebaseline∗$E_{\textit{RL}}^*/E_{\textit{baseline}}^*$ as a function of Ra$Ra$.

Figure 12

Figure 12. The p.d.f.s of the instantaneous alignment angle ϕ$\phi$ between the particle’s propulsive vector and the local fluid-velocity vector. The data are computed over all successful trajectories obtained with (a) the learned RL policy and (b) the constant-heading baseline for different Rayleigh numbers Ra$Ra$.

Figure 13

Figure 13. Instantaneous snapshots of the LCS at t∗=9.00$t^*=9.00$ for (a,c) Ra=108$Ra=10^8$ and (b,d) Ra=1010$Ra=10^{10}$. (a,b) The attracting LCS (blue regions). (c,d) The repelling LCS (red regions).

Figure 14

Figure 14. (a) Representative trajectory of the RL agent at Ra=108$Ra=10^8$ with Amax=1.25$\mathcal{A}_{\textit{max}}=1.25$, corresponding to the learned policy used for this regime. The upper panel shows the repelling LCS over the full domain, whereas the lower panel provides a magnified view of the dashed region and highlights a barrier-crossing event. Coloured markers indicate five representative instants, t1$t_1$–t5$t_5$, along the trajectory. (b) Corresponding time history of the dimensionless instantaneous propulsion cost Et∗$E_t^*$ as a function of dimensionless time t∗$t^*$.

Figure 15

Figure 15. Figure 15 long description.(a) Representative trajectory of the RL agent at Ra=1010$Ra=10^{10}$ with Amax=4.0$\mathcal{A}_{\textit{max}}=4.0$, corresponding to the learned policy used for this regime. The upper panel shows the repelling LCS over the full domain, whereas the lower panel provides a magnified view of the dashed region and highlights a typical event in which the trajectory crosses a repelling LCS. Coloured markers indicate five representative instants, t1$t_1$–t5$t_5$, along the trajectory. (b) Corresponding time history of the dimensionless instantaneous propulsion cost Et∗$E_t^*$ as a function of dimensionless time t∗$t^*$.

Figure 16

Figure 16. Instantaneous Voronoi tessellations of the distributions of (a,b) passive tracers and (c,d) active navigators at t∗=9.00$t^*=9.00$. (e, f) The corresponding temporal evolution of the clustering index CV$C_V$ for the reference actuation conditions. The Voronoi cells are coloured by the instantaneous background temperature field T∗$T^*$. (a,c,e) Rayleigh number Ra=108$Ra=10^8$ with Amax=1.25$\mathcal{A}_{\textit{max}}=1.25$ and (b,d, f) Ra=1010$Ra=10^{10}$ with Amax=4.0$\mathcal{A}_{\textit{max}}=4.0$.

Figure 17

Figure 17. Figure 17 long description.Joint probability distributions of the Voronoi-cell area A$A$ and the local Q$Q$-value at t∗=9.00$t^*=9.00$ for the reference actuation conditions. Passive tracers at (a) Ra=108$Ra=10^8$ and (b) Ra=1010$Ra=10^{10}$; (c,d) active navigators at the corresponding Rayleigh numbers. The colour scale in (a–d) denotes the joint probability density p(Q,A/⟨A⟩)$p(Q, A/\langle A \rangle )$, where ⟨A⟩$\langle A \rangle$ is the mean Voronoi-cell area. The corresponding instantaneous particle distributions at t∗=9.00$t^*=9.00$, overlaid on the instantaneous Q∗$Q^*$ field for (e) Ra=108$Ra=10^8$ and ( f) Ra=1010$Ra=10^{10}$.

Figure 18

Figure 18. Comparison of representative trajectories and performance between the distilled heuristic strategy and the learned RL policy. (a,b) Representative trajectories of the heuristic strategy at the reference actuation bounds: (a) Ra=108$Ra=10^8$ with Amax=1.25$\mathcal{A}_{\textit{max}}=1.25$ and (b) Ra=1010$Ra=10^{10}$ with Amax=4.0$\mathcal{A}_{\textit{max}}=4.0$. The background colour indicates the instantaneous temperature field T∗$T^*$. The blue square and red star mark the start and goal locations, respectively. Green solid lines denote the drift mode, whereas magenta dotted lines denote the thrust mode. (c) The propulsion energy Epropel∗$E_{\textit{propel}}^*$ as a function of Ra$Ra$ for both the RL policy and the heuristic strategy. (d) The corresponding energy ratio ERL∗/EHeuristic∗$E_{\textit{RL}}^*/E_{\textit{Heuristic}}^*$. (e) The mean completion time t¯∗$\bar {t}^*$ and ( f) the success rate S$S$ as functions of Ra$Ra$. The heuristic strategy uses a single fixed set of normalised thresholds for all Rayleigh numbers considered here, with Q~th=0.3$\widetilde {Q}_{\textit{th}}=0.3$ and u~y,th=0.2$\widetilde {u}_{y,\textit{th}}=0.2$.

Figure 19

Table 2. Hyperparameters used to train the SAC agent.Table 2 long description.

Figure 20

Figure 19. Success rate S$S$ for different observation state spaces at (a) Ra=108$Ra=10^8$ and (b) Ra=1010$Ra=10^{10}$, evaluated at the corresponding optimal values of Amax$\mathcal{A}_{\textit{max}}$. Four baseline observation sets are considered: O1={uf∗}$\mathcal{O}_1=\{\boldsymbol{u}_{\!f}^*\}$, O2={uf∗,Tf∗}$\mathcal{O}_2=\{\boldsymbol{u}_{\!f}^*,T_{\!f}^*\}$, O3={uf∗,up∗}$\mathcal{O}_3=\{\boldsymbol{u}_{\!f}^*,\boldsymbol{u}_{\!p}^*\}$ and O4={uf∗,up∗,Tf∗}$\mathcal{O}_4=\{\boldsymbol{u}_{\!f}^*,\boldsymbol{u}_{\!p}^*,T_{\!f}^*\}$. For each baseline set Oi$\mathcal{O}_i$, three augmentations are considered: the inclusion of spatial information X$\mathcal{X}$, the inclusion of gradient information ∇Oi$\boldsymbol{\nabla }\mathcal{O}_i$ and the inclusion of both. This yields four configurations per baseline: Oi(1)=Oi$\mathcal{O}_i^{(1)}=\mathcal{O}_i$, Oi(2)=X∪Oi$\mathcal{O}_i^{(2)}=\mathcal{X}\cup \mathcal{O}_i$, Oi(3)=Oi∪∇Oi$\mathcal{O}_i^{(3)}=\mathcal{O}_i\cup \boldsymbol{\nabla }\mathcal{O}_i$ and Oi(4)=X∪Oi∪∇Oi$\mathcal{O}_i^{(4)}=\mathcal{X}\cup \mathcal{O}_i\cup \boldsymbol{\nabla }\mathcal{O}_i$, giving 16 configurations in total.

Figure 21

Figure 20. Sample learning curves showing the averaged cumulative reward ∑rt$\sum r_t$ as a function of training time steps for Ra=108$Ra=10^8$. The panels compare training convergence for different observation sets: (a) the four baseline sets Oi$\mathcal{O}_i$, (b) baselines augmented with spatial information X$\mathcal{X}$, (c) baselines augmented with gradient information ∇Oi$\boldsymbol{\nabla }\mathcal{O}_i$ and (d) baselines augmented with both X$\mathcal{X}$ and ∇Oi$\boldsymbol{\nabla }\mathcal{O}_i$. Shaded regions represent the standard deviation across training seeds.

Figure 22

Figure 21. Figure 21 long description.Sample learning curves showing the averaged cumulative reward ∑rt$\sum r_t$ as a function of training time steps for Ra=1010$Ra=10^{10}$. The panels compare training convergence for different observation sets: (a) the four baseline sets Oi$\mathcal{O}_i$, (b) baselines augmented with spatial information X$\mathcal{X}$, (c) baselines augmented with gradient information ∇Oi$\boldsymbol{\nabla }\mathcal{O}_i$ and (d) baselines augmented with both X$\mathcal{X}$ and ∇Oi$\boldsymbol{\nabla }\mathcal{O}_i$. Shaded regions represent the standard deviation across training seeds.

Supplementary material: File

Xu et al. supplementary movie 1

Comparison of navigation trajectories at Ra1e8
Download Xu et al. supplementary movie 1(File)
File 10.2 MB
Supplementary material: File

Xu et al. supplementary movie 2

Comparison of navigation trajectories at Ra1e10
Download Xu et al. supplementary movie 2(File)
File 10.1 MB