(2+1)-d viscous hydrodynamic simulation for relativistic heavy-ion collisions