Macroscopic Viscosity of Polymer Solutions from the Nanoscale Analysis