Finite element method in magnetohydrodynamic channel flow problems