Flow of fluid of non-uniform viscosity in converging and diverging