Analysis of fluid flow and heat transfer in a channel with intermittent heated porous blocks