Modeling of the rheology and flow-induced concentration changes in polymer solutions