# Burst-and-coast swimmers optimize gait by adapting unique intrinsic cycle

## Abstract

This paper addresses the physical mechanism of intermittent swimming by considering the burst-and-coast regime of fish swimming at different speeds. The burst-and-coast regime consists of a cycle with two successive phases, i.e., a phase of active undulation powered by the fish muscles followed by a passive gliding phase. Observations of real fish whose swimming gait is forced in a water flume from low to high speed regimes are performed, using a full description of the fish kinematics and mechanics. We first show that fish modulate a unique intrinsic cycle to sustain the demanded speed by modifying the bursting to coasting ratio while maintaining the duration of the cycle nearly constant. Secondly, we show using numerical simulations that the chosen kinematics by correspond to optimized gaits for swimming speeds larger than 1 body length per second.

## Introduction

Intermittent dynamics are frequently observed in fish locomotion. Known as burst and coast, the gait consists of a two-step sequence, including an active phase during which fish produce the propulsive force, followed by an inertial, passive phase where they glide or coast without muscular action. This behavior is observed either permanently as part of the strategy of an animal to move and explore its environment, or during short periods as part of high-speed swimming regimes. Burst and coast have been addressed extensively by the biomechanics community in the past decades1,2,3,4,5,6,7,8,9,10, often associated with locomotion cost optimization. Starting from the early studies of Weihs1, these works have essentially investigated the relationship between the construction of the burst-and-coast cycle and the global swimming efficiency, when compared to continuous undulatory mechanisms.

Intermittent swimmers minimize the energetic cost of swimming in the gliding phase, during which the fish body is passive and straight, hence not producing mechanical effort and dissipating less into the fluid. The energetically optimal working point at a given speed is then obtained by tuning the typical times spent in the burst and coast phases of the cycle, balancing the advantage of the passive coasting phase and the energetic injection of the bursting phase to sustain the desired average speed. Most studies have addressed this mechanism theoretically, reducing the problem of burst-and-coast swimming to the optimization of a mechanical system, decoupled from physiological behavior2,10. Overall, there is a strong lack of experimental data and parametric studies concerning intermittent swimmers, making the description of speed modulation strategies for these animals an open question.

The purpose of this paper is to examine burst-and-coast swimming using an experimental work performed on live fish that swim using the body and caudal fin (BCF) propulsion. A typical burst-and-coast swimmer, the red-nose tetra fish Hemigrammus bleheri11,12, is forced to swim in a flume at a given velocity U, and video recordings are used to examine changes in the gait as the imposed velocity U changes. We show that, instead of modulating the frequency and amplitude of the kinematics, the fish rather adapt the burst-to-coast ratio keeping the time of a typical burst-and-coast event within a narrow range between 0.2 and 0.4 s. The burst phase is a sequence of tail beats with nominally constant frequency and amplitude. More importantly, we demonstrate using a 3D numerical model based on the experimentally measured swimming kinematics, that for a given swimming speed, the burst-and-coast cycle chosen by the fish corresponds to a gait minimizing the global cost of transport.

## Results

The experiments were conducted on four individuals of Hemigrammus bleheri fish in a water flume with flow velocity varying from 0 to 3 body lengths per second (BL/s). Each fish is recorded in runs of 10 s using fast camera imaging, and the body undulation kinematics is subsequently characterized by extracting the midline of the fish images for each video recording (see “Methods”). For each imposed swimming, the measurements were repeated four times, giving a set of 16 different runs for compiling one data point.

Figure 1 shows two typical cycles of swimming for a fish, respectively, at imposed velocities of 1.15 BL/s and 1.9 BL/s. The corresponding tail-tip kinematics are also plotted in Fig. 1d and e. An additional case of lower swimming speed is shown in Fig. 1c, to clearly define graphically the characteristic duration of the burst and coast swimming cycle Tbout = Tburst + Tcoast. A tail-beat cycle refers to the fish completing two strokes, respectively, on each side of the body in continuous swimming, while here in intermittent swimming, we adopt this definition to measure the undulations inside the burst phase. The duration of bursts and coasts are measured from the tail-beating signals using the velocity and acceleration of the tail tip, which tend to zero during the coasting phase. We quantitatively defined the fish to be coasting when tail tip velocities and accelerations were lower than  ~10% of their maximum values. A first observation to be made is that the tail-beat cycle of the fish is roughly the same regardless of the swimming speed, i.e., the tail-beat amplitude and frequency of the tailbeat remain visually similar. In order to sustain the increasing swimming velocities between frames c to d of Fig. 1, the strategy seems to be to increase the number of tail beats within the burst (note that as shown in Fig. 1c, a single stroke is counted as a half tail-beat cycle), while the coasting time is diminished. This observation is confirmed by the results obtained for all different individuals and swimming speeds. Figure 2 shows all the relevant quantities of the swimming kinematics, including the characteristic duration of the full burst and coast swimming cycle Tbout in Fig. 2a; the duty cycle, i.e., the time ratio of the burst phase and the full burst-and-coast bout DC = Tburst/Tbout (Fig. 2b); and the typical tail-beat frequency Fi and scaled amplitude $$\bar{A}=A/L$$ in the burst phase—Fig. 2c and d, respectively.

In addition, the cost of transport CoT obtained from the numerical model is shown as a function of the swimming speed in Fig. 2e. The cost of transport is defined as

$$CoT=\frac{\overline{P}}{m\overline{U}},$$

i.e., as the power $$\overline{P}$$ normalized by the average swimming speed $$\overline{U}$$ and the mass of the fish (see ref. 13 and “Methods” for details). The shaded area in each subplot of Fig. 2 indicates the region of low swimming speed representing unusual slow gaits for this type of fish, which is discussed further in the text.

Figure 2 clearly shows that fish have three characteristic times on which they construct the burst-and-coast kinematics to attain the desired gait: Tbout, Tburst, and Ti = 1/Fi. The first characteristic time, Tbout, is constrained essentially to a range from 0.2 to 0.4 s for all fish—Fig. 2a. More formally, fitting a linear mixed-effects model that includes variation across individual fishes as a random effect suggests that Tbout of a typical individual varies from 0.23 s at U = 0 to 0.35 s at U = 3 BL/s, i.e., by 52%. The fixed-effect slope dTbout/dU falls short of statistical insignificance (P = 0.0364). A similar fit in the range of low and medium speeds only (U < 2 BL/s) yields a smaller and statistically insignificant (P = 0.3119) estimate for the slope (see Supplementary Information, Part 1). Thus, it seems that the full burst-and-coast cycle depends weakly on of the swimming speed: fish do not modulate the time between two phases of action unless the imposed velocity is approaching the upper limit for sustained swimming, which is slightly above 3 BL/s in this experiment. Other works have already reported the regularity of the burst-and-coast swimming for different species and different stages of maturity (for instance, see refs. 14,15,16,17,18), and this has been attributed to neural sensing mechanisms17,19. It is also worth noting that this time remains fairly constant across individuals. In contrast, Fig. 2b shows that the duty cycle DC (i.e., the fraction of the burst-and-coast bout during which the fish are actively producing thrust) increases linearly with the demanded swimming speed (linear mixed-effect model fit produces a significant fixed-effect slope, P = 8.524 × 10−5; simple linear regression yields P = 8.754 × 10−13 and adjusted R2 = 0.7095). The other characteristic time Ti = 1/Fi is the inverse of the internal frequency Fi shown in Fig. 2c. The absolute value of Fi seems related to each specific fish, but it is statistically constant for all velocities tested in the experiment (P = 0.06847 for the fixed-effect slope of a global mixed-effects model fit), meaning that fish do not modulate this internal tail-beat frequency as a gait adapting strategy. Concerning the amplitude of the burst cycle, Fig. 2d shows that the magnitude of the tail beat increases in the range of slow velocity (0 BL/s < U < 1 BL/s piece-wise fit, $$d\overline{A}/dU$$= 0.12519 (BL/s)−1, P = 0.0001866) to saturate afterward at higher speeds ($$d\overline{A}/dU$$= 0.031129 (BL/s)−1, P = 0.007688). This can be readily understood recalling that the burst is short at low velocities so that there is no time to accommodate more than one half of a period of the tail-beat oscillation—see the burst profiles in Fig. 1c. The amplitude change between low speeds and medium-high speeds is further supported by pairwise t tests (see Supplementary Information, Part 1).

## Discussion

The reading of Fig. 2 tells that intermittent swimmers repeat an intrinsic basic movement to sustain the desired swimming speed. This movement consists of an active undulation of almost constant frequency and almost constant tail-beat amplitude (except in the low-speed range, shaded in gray in the panels of Fig. 2), repeated as long as it is needed. Thus, a fish willing to swim faster will increase its bursting time. Of course, because each burst-and-coast swimming sequence is performed over an almost constant time Tbout, fish spending more time in the burst phase necessarily also shorten the coast duration, which sets an upper limit to the swimming speed that can be achieved. It is interesting to note that the swimming behavior described here differs from the idea that fish modulate their body wave kinematic parameters to change speed, in contrast with what has been observed for larger fish using continuous swimming—for instance, see refs. 20,21. To our knowledge, such a mechanism has not been reported in the literature, especially concerning small-sized fish of a few centimeters as the tetra fish of the present experiments.

In order to understand the dynamics underlying the experimental observations, we studied the swimming optimization problem of a simulated burst-and-coast swimmer. The fish is modeled using the realistic body geometry of Hemigrammus bleheri extracted from the experiment (see Supplementary Information, Part 2). The burst-and coast cycle is built, following the observations, by concatenating an active phase and a passive phase. The flow field around the fish during each phase is simulated using computational fluid dynamics (CFD)—see “Methods”. Through exploring the parameter space, for each swimming velocity, the set of parameters (DC, Fi, $$\bar{A}$$, Tbout) that minimizes the cost of transport (CoT) is selected. The results of the optimization procedure are superimposed to the experimental data in Fig. 2 (black squares).

For moderate-to-high speeds (in the range 1 BL/s  < U < 3 BL/s), the parameters that minimize the energy cost of swimming match closely the experimental data, especially in terms of Tbout, DC, and Fi, the predicted points overlap the observation data. As to $$\bar{A}$$, the predicted results are lower than the observations, probably because: (1) the factual fish deformation cannot be precisely reproduced by the sinusoidal function used for the numerical model; (2) when modeling the red-nose tetra fish, we simplified its forked tail by a triangular one, hence the model fish tail, with a slightly larger area, may generate relatively stronger lateral recoil, neutralizing the effective amplitude. Nevertheless, the prediction on $$\bar{A}$$ still suggests that fish does not rely on amplification of the tail-beat amplitude to propel faster, which is similar to the trend observed in the experiment.

This is a remarkable observation, as it shows that fish in the range of cruise swimming speeds constantly optimize their CoT. Optimality is not straightforward in the multidimensional space navigated by living organisms, where locomotion is just one element of their everyday trade-offs. More specifically, the observation and its agreement with the simulation are exciting for a double reason. In the first place, unlike in continuous swimming where fish basically deal with a two-dimensional parameter space consisting of tail-beat frequency and amplitude, in burst-and-coast swimming, fish have to deal at least with a four-dimensional parameter space (shown in Fig. 2: Tbout, DC, Fi, and $$\bar{A}$$) at an arbitrary speed. The optimization of burst-and-coast swimming is thus extremely complex, especially considering that the CoT can hardly be sensed directly by the fish during swimming. Second, fish have to deal with many other constraints that might not be, a priori, necessarily compatible with optimizing swimming energy. For instance, the intermittence of burst-and-coast swimming has also been invoked for a sensing reason17. Before the present work, we did not know whether fish aim to optimize the CoT during burst-and-coast swimming, or whether fish can successfully optimize CoT in such a complex landscape of control parameters and indirect feedback. It turns out that in the case of this work, the intermittent swimming kinematics is, in a certain range of swimming regimes, exactly what optimizes swimming gaits. It is also surprising that fish can handle the optimization of CoT in burst-and-coast swimming relatively easily—such optimization mainly consists in maintaining the tail-beat frequency and amplitude constant and modulating the time of bursting.

The remarkable agreement between the optimization calculation and experimental observations leads us to two important conclusions for burst and coast swimmers. First, fish essentially do not modulate tail-beat frequency as observed for continuous swimming20,21 but adapt a unique cycle to sustain the imposed speed. Second, the frequency, amplitude of the tail beat, and the burst phase duration (the duty cycle) are optimal parameters with respect to the cost of transport CoT at typical cruise speeds. It is also noteworthy that the results of the simulation are not exclusively associated to the species Hemigrammus bleheri. Excepted the details of the body shape that were extracted from the experiments, the construction of the intermittent simulated kinematics (see “Methods”) uses a generic body deformation that can describe other burst-and-coast swimmers. The results presented in this paper bring a general description of intermittent fish locomotion, based on experimental observations: because of the intermittency constraint—the bout time, most likely fixed because of physiological reasons, these fish have developed specific swimming sequences minimizing their cost of transport that are different from those observed for continuous swimmers, and such specific swimming sequences do not require the fish to handle all optimal parameters in a complex pattern. Future works should multiply experimental observations and produce a larger inventory of intermittent swimmers to determine if the burst-and-coast mechanism described here holds for other fish species. It has to be noted that the CoT as defined in this study only takes into account the mechanical cost of the swimmers, thus future explorations on the consequence of considering the additional “metabolic” cost may bring us a more comprehensive understanding of the swimming cost and optimization in burst-and-coast swimmers.

However, the predictions of the optimization procedure fail to reproduce the observations in the low-speed range (0 BL/s < U < 1 BL/s). The optimization predicts larger Tbout and $$\bar{A}$$, as well as a smaller DC. Such divergence may be caused by burst-coast transition factors beyond our numerical model. To our knowledge, at least three transition factors may produce errors. First, at the same speed, the drag on an undulating fish body is much higher than that on a gliding fish body. When fish stops undulation and starts gliding, its boundary layer transits from an undulating pattern to a gliding pattern, while fish stops gliding and start undulating, the fish boundary layer transits reversely. Such a drag transition is not modeled in our prediction. Second, when a fish starts the burst phase, it needs to initiate both its body deformation and acceleration of its surrounding water, hence the initial tail-beat may not generate thrust as effectively as succeeding tail-beats. Third, in reality, there are fluctuations in the swimming speed of fish. Fish may utilize the fluctuation of speed by ending its burst process at peak speed, in order to initialize a coast phase with additional momentum and further reduce CoT. These transition factors between the burst- and the coast phases may become relatively stronger in the low-speed range, as the fish performs only a single or two strokes during the burst phase. As the result, our numerical model becomes much less effective in low speed. On the other hand, the divergence at low swimming speeds between predictions and experiments may still have other possible explanations—such as the physiological constraints of muscle efficiency or the sensorimotor capacity necessary for maintaining the body orientation, but it may also be explained considering that CoT minimization might not be needed at such low swimming velocities due to the absolute low energy consumption.

## Methods

### Animals and housing

Red nose tetra fish Hemigrammus bleheri of body length in the range  ~3.5–4-cm long and height  ~0.5–0.6 cm, were procured from a local aquarium supplier (anthias.fr, France). The fish were reared in a 60-liters aquarium tank with water at a temperature between 26 and 27 °C and they were fed five to six times a week with commercial flake food. Results from experiments with four individuals are analyzed here, for which a full set of different swimming speeds were recorded. The experiments performed in this study were conducted under the authorization of the Buffon Ethical Committee (registered to the French National Ethical Committee for Animal Experiments no. 40).

### Swimming flume

A shallow-water tunnel with a test section of 2.2-cm depth and a swimming area of 20 × 15 cm was used for the experiments—see also refs. 11,12, where the same setup has been used to study collective swimming dynamics. The flow rate Q can be varied from 4 to 22 liters per minute, resulting in an average velocity U = Q/S, where S is the cross-section, in the range between 2.7 cm s−1 and 15 cm s−1 corresponding to Reynolds numbers Re = UL/ν, 950 < Re < 6000. The mean turbulence intensity in the channel is between 3 and 5% (characterized using PIV in the previous work12) and is independent of the flow rate. The velocity profile in the mid-section of the channel is rather flat and also remains unchanged for the different flow rates used, the wall effect region being limited to a distance smaller than 3 mm.

### Experimental procedure

Before each measurement, the fish group was transferred to the swimming tunnel with the fluid at rest and left for around 1 h in order to acclimatize to the conditions of the experiments. The swimming runs were carried out for 10 s on each individual, increasing gradually the imposed speed from 0.5 BL/s to 3 BL/s. The procedure was then repeated several times, with a typical 30-min resting pause between measurements. The complete set of experiments consisted of three to five runs per individual, at ten different velocities, on a group of four individuals, corresponding to 150 measurement points. Video sequences at 400 frames per second were recorded using a Phantom Miro M-120 with 2 M pixel (1920 × 1200) resolution and 12-bit pixel depth. Video post-processing was performed using an in-house Matlab code to extract the fish midline kinematics.

### Statistics and reproducibility

The tail-beating kinematics was extracted for each fish in a group. The average and standard deviation were computed for each fish and each velocity. All points presented in Fig. 2 are thus averaged quantities with several experiments per point (individual data points for each of the individual fish can be found in Supplementary Section 1.1). For instance, the data points for the frequency are given by $${F}_{i}=\frac{1}{N}\mathop{\sum }\nolimits_{0}^{N}\langle f\rangle$$ over the number of individuals and the different runs, where the brackets denote a time average and N is the number of individuals within the school. Thus, we obtain a single value of the frequency for each fish and swimming speed.

Further statistical analyses have been performed to detect any significant variation of Tbout, Fi, $$\overline{A}$$, and DC with the swimming speed. The dataset consisted of the statistical averages of those four dependent variables, one value for each individual for each speed. Linear regression, linear mixed-model analyses, ANOVA and pairwise t tests have been applied. All statistical calculations were performed in R (version 3.4.4).

### Burst-and-coast numerical model

We developed a numerical model that can generate an arbitrary burst-and-coast swimming gait in a four-dimensional parameter space. The parameters are (1) the frequency of the burst phase fb, (2) the amplitude of the burst phase Ab, (3), the upper speed bound UU (the speed at which the fish stops bursting and starts coasting), and (4) and lower speed bound UL (the speed at which fish stops coasting and starts bursting, UL < UU). Then, we search across this parameter space for an optimal burst-and-coast swimming gait that guarantees sustained swimming with some specified speed $$\overline{U}$$ at the lowest cost of transport CoT. The numerical solutions of this constrained optimization problem involve a coarse discretization of the parameter space, a composition of a database of different gaits with those few discrete values of the frequency and amplitude, and a subsequent interpolation using that database.

The data for the burst phase are obtained by means of CFD simulations using a well-validated three-dimensional solver based on the overset-grid finite-volume method22,23; for more information including the numerical validation, see Supplementary Information, Part 2. We simulated “full burst processes” of a self-propelled fish in continuous swimming with some constant frequency and amplitude. The body length of the model fish is 2 cm, and its deformation is driven by a sinusoidal function. The fish accelerated from rest in quiescent water until it nominally reached its maximum speed—Fig. 3a. Since such a “full burst process” is fully determined by the tail-beat frequency and amplitude of the fish, we simulated 25 cases with five different frequencies (2, 6, 10, 14, and 18 Hz) and five different tail-beat amplitudes (~0.02, 0.07, 0.13, 0.19, and 0.26 L). The range of the Reynolds number in this study is below 6000, turbulence models are not used, and the grid resolution at Re = 6000 has been justified in a previous study24. The time sequence data of speed, power, and CoT from all full burst process cases were low-pass filtered to remove the periodic fluctuation caused by the tail beat. Using these 25 cases as interpolation nodes, one can quantify any arbitrary full burst process with some specified tail-beat amplitude and frequency—see Fig. 3b.

The coast phase motion and energetics data were obtained using the same CFD solver mentioned above, letting the model fish stop undulating after reaching the speed of 13 BL/s (the highest speed reached across all simulated cases corresponding to fb = 18 Hz and Ab = 0.26 L). During this coast phase, the body was held straight and the fish decelerated until the velocity dropped to almost zero. Note that the mechanical power consumption in the coast phase is zero.

Thus, a burst-and-coast process is defined when an upper speed bound UU and a lower speed bound UL are specified. The full-burst and the full-coast data sequences are trimmed according to the values of UU and UL, respectively. The full swimming cycle was obtained by concatenating the trimmed burst and coast time sequences considering that the transition between the burst and the coast phases is instantaneous. The procedure is then duplicated to produce a sawtooth-wave time profile of the velocity—see Fig. 3c.

For a given set of the four parameters (fb, Ab, UU, and UL), as long as UU and UL are within the speed range of the “full burst process”, we obtain a unique burst-and-coast swimming gait. The average speed of the generated burst-and-coast swimming gait is defined as $$\overline{U}$$ and the average power as $$\overline{P}$$. We programmed a MATLAB code to scan the four parameter dimensions in order to find an optimal burst-and-coast swimming gait that would meet the required speeds with the lowest cost of transport (fb, scan resolution 1 Hz, range 2–18 Hz; Ab scan resolution ~0.0015 L, range ~0.02–0.26 L; the scan resolution in UU and UL is less than 10−7L/s).

For further details of the numerical model, see Supplementary Information, Part 2.

### Definition of power

In this paper, power refers to “mechanical power”, defined as the sum of the hydrodynamic and body inertial powers:

$$P={P}_{{\rm{hydro}}}+{P}_{{\rm{body}}}.$$

Hydrodynamic power is calculated as the sum of the hydrodynamic work on the body surface, such that:

$${P}_{{\rm{hydro}}}={\iint }_{{\rm{surface}}}({\bf{f}}\cdot {\bf{U}}){\rm{d}}s,$$

where Phydro is the hydrodynamic power; ds denotes surface element, f is the hydrodynamic stress vector acting on the surface element; U is the velocity vector on this surface element. Body inertial power is computed as the sum of the kinetic energy change rate of all body elements (inside the body), such that:

$${P}_{{\rm{body}}}={\int }{\iint }_{{\rm{body}}}(\rho {\bf{a}}\cdot {\bf{U}}){\rm{d}}v,$$

where Pbody is the body inertial power; dv denotes body volume element, a and U are the acceleration and velocity vectors of each body volume element; ρ is the local density. Note that based on the previous equations, during the coast phase, the mechanical power is zero.

### Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

## Data availability

The datasets for the statistical analyses and the source data for Fig. 2 are available in the following Open Science Framework repository: https://osf.io/28bma/ (https://doi.org/10.17605/OSF.IO/28BMA). Source video sequences are available from the corresponding authors upon request.

## Code availability

The burst-and-coast gait assembly and the optimization algorithm are available in the following Open Science Framework repository: https://osf.io/28bma/ (https://doi.org/10.17605/OSF.IO/28BMA). The CFD solver of a three-dimensional fish swimming model has been described in detail elsewhere22,23,24.

## References

1. 1.

Weihs, D. Energetic advantages of burst swimming of fish. J. Theor. Biol. 48, 215–229 (1974).

2. 2.

Videler, J. J. & Weihs, D. Energetic advantages of burst-and-coast swimming of fish at high speeds. J. Exp. Biol. 97, 169–178 (1982).

3. 3.

Blake, R. W. Functional design and burst-and-coast swimming in fishes. Can. J. Zool. 61, 2491–2494 (1983).

4. 4.

Fish, F. E., Fegely, J. F. & Xanthopoulos, C. J. Burst-and-coast swimming in schooling fish (Notemigonus crysoleucas) with implications for energy economy. Comp. Biochem. Physiol. Part A: Physiol. 100, 633–637 (1991).

5. 5.

Drucker, E. G. The use of gait transition speed in comparative studies of fish locomotion. Am. Zool. 36, 555–566 (1996).

6. 6.

Dutil, J. D., Sylvestre, E. L., Gamache, L., Larocque, R. & Guderley, H. Burst and coast use, swimming performance and metabolism of Atlantic cod Gadus morhua in sub-lethal hypoxic conditions. J. Fish. Biol. 71, 363–375 (2007).

7. 7.

Tudorache, C., Viaenen, P., Blust, R. & De Boeck, G. Longer flumes increase critical swimming speeds by increasing burst-glide swimming duration in carp Cyprinus carpio, L. J. Fish. Biol. 71, 1630–1638 (2007).

8. 8.

Paoletti, P. & Mahadevan, L. Intermittent locomotion as an optimal control strategy. Proc. R. Soc. Lond. A. Math. Phys. Sci. 470, 20130535–20130535 (2014).

9. 9.

Calovi, D. S. et al. Disentangling and modeling interactions in fish with burst-and-coast swimming reveal distinct alignment and attraction behaviors. PLoS Comput. Biol. 14, e1005933 (2018).

10. 10.

Akoz, E. & Moored, K. W. Unsteady propulsion by an intermittent swimming gait. J. Fluid Mech. 834, 149–172 (2018).

11. 11.

Ashraf, I., Godoy-Diana, R., Halloy, J., Collignon, B. & Thiria, B. Synchronization and collective swimming patterns in fish (Hemigrammus bleheri). J. R. Soc. Interface 13, 20160734 (2016).

12. 12.

I. Ashraf, H. Bradshaw, T. T. Ha, J. Halloy, R. Godoy-Diana, and B. Thiria. Simple phalanx pattern leads to energy saving in cohesive fish schooling. Proc. Natl Acad. Sci. USA 114, 9599–9604 (2017).

13. 13.

Li, G., Kolomenskiy, D., Liu, H., Thiria, B. & Godoy-Diana, R. On the energetics and stability of a minimal fish school. PLoS ONE 14, e0215265 (2019).

14. 14.

Fuiman, L. A. & Webb, P. W. Ontogeny of routine swimming activity and performance in zebra danios (Teleostei: Cyprinidae). Anim. Behav. 36, 250–261 (1988).

15. 15.

Muller, U. K., Stamhuis, E. J. & Videler, J. J. Hydrodynamics of unsteady fish swimming and the effects of body size: comparing the flow fields of fish larvae and adults. J. Exp. Biol. 203, 193 (2000).

16. 16.

McHenry, M. J. & Lauder, G. V. The mechanical scaling of coasting in zebrafish (Danio rerio). J. Exp. Biol. 208, 2289–2301 (2005).

17. 17.

Olive, R. et al. Rheotaxis of larval zebrafish: behavioral study of a multi-sensory process. Front. Syst. Neurosci. 10, 14 (2016).

18. 18.

Harpaz, R., Tkačik, G. & Schneidman, E. Discrete modes of social information processing predict individual behavior of fish in a group. Proc. Natl Acad. Sci. USA 114, 10149–10154 (2017).

19. 19.

Dunn, T. W. et al. Brain-wide mapping of neural activity controlling zebrafish exploratory locomotion. eLife 5, e12741 (2016).

20. 20.

Lowe, C. Kinematics and critical swimming speed of juvenile scalloped hammerhead sharks. J. Exp. Biol. 199, 2605–2610 (1996).

21. 21.

Webb, P. W., Kostecki, P. T. & Stevens, E. D. The effect of size and swimming speed on locomotor kinematics of rainbow trout. J. Exp. Biol. 109, 77–95 (1984).

22. 22.

Liu, H. Integrated modeling of insect flight: from morphology, kinematics to aerodynamics. J. Comput. Phys. 228, 439–459 (2009).

23. 23.

Li, G., Müller, U. K., van Leeuwen, J. L. & Liu, H. Body dynamics and hydrodynamics of swimming fish larvae: a computational study. J. Exp. Biol. 215, 4015–4033 (2012).

24. 24.

Li, G., Müller, U. K., van Leeuwen, J. L. & Liu, H. Escape trajectories are deflected when fish larvae intercept their own C-start wake. J. R. Soc. Interface 11, https://doi.org/10.1098/rsif.2014.0848 (2014).

## Acknowledgements

We thank Prof. Hao Liu for his valuable contribution on the CFD model; the personnel from the PMMH Laboratory workshop, in particular Xavier Benoit-Gonin, for their technical help in the construction of the swimming channel; and José Halloy for his help with the fish handling protocol. G.L. was funded by the Japan Society for the Promotion of Science, Grant-in-Aid for Scientific Research (KAKENHI), 20K14978 and 17K17641.

## Author information

Authors

### Contributions

G.L. developed the burst-and-coast numerical model and the optimization code. I.A. and B.F. performed the experiments. D.K. performed statistical analyses. F.L., I.A., R.G.D., and B.T. post-processed and analyzed the experimental data. I.A., R.G.D., and B.T. designed the experiment. G.L., D.K., R.G.D., and B.T. defined the burst-and-coast model and wrote the paper. All authors approved the paper.

### Corresponding authors

Correspondence to Ramiro Godoy-Diana or Benjamin Thiria.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Li, G., Ashraf, I., François, B. et al. Burst-and-coast swimmers optimize gait by adapting unique intrinsic cycle. Commun Biol 4, 40 (2021). https://doi.org/10.1038/s42003-020-01521-z

• Accepted:

• Published: