Viscous effect on the transient free surface flow in a two dimensional tank