Modeling the shear-induced structural changes in polymeric fluids