Convection in a porous medium at high Rayleigh number Ra exhibits a striking quasisteady columnar structure with a well-defined and Ra-dependent horizontal scale. The mechanism that controls this scale is not currently understood. Motivated by this problem, the stability of a density-driven ‘heat-exchanger’ flow in a porous medium is investigated. The dimensionless flow comprises interleaving columns of horizontal wavenumber k and amplitude Aˆ that are driven by a steady balance between vertical advection of a background linear density stratification and horizontal diffusion between the columns. Stability is governed by the parameter A=AˆRa/k. A Floquet analysis of the linear-stability problem in an unbounded two-dimensional domain shows th...