Global stability of base and mean flows: a general approach and its applications to cylinder and open cavity flows | Synapse