Generation of an average flow by a pulsating stream near a curved free surface