“…First, we develop a mathematical model of the positions and orientations of both the fish by considering all the passive hydrodynamic interactions in the system. The behaviour of each fish is modelled as a vortex dipole in a two-dimensional flow under the finite-dipole paradigm of Tchieu, Kanso, and Newton (2012), which has been extensively used in the past to study the hydrodynamics of swimming animals (Filella et al., 2018; Gazzola, Tchieu, Alexeev, de Brauer, & Koumoutsakos, 2016; Kanso & Tsang, 2014; Porfiri, Karakaya, Sattanapalle, & Peterson, 2021; Porfiri et al., 2022). Instead of considering a fish to be a passive body that does not affect the flow, we model their effect on the background flow in the presence of the channel walls (Porfiri et al., 2022).…”