Analysis of compressible flows around a uniformly expanding circular cylinder and sphere