Two dimensional fluid flow in the channel of a magnetohydrodynamic pump