Effects of domain perturbation on the flow of viscous fluid