Longitudinal channel flow through square arrays of vegetation