Flow-induced transition from cylindrical to layered patterns in magnetorheological suspensions