Investigation of the effect of multidimensionality in PEM fuel cells