Structuring during flow of polymer and colloidal systems