A thorough numerical investigation was carried out to examine the heat transfer characteristics within a rectangular channel integrated with metal foam blocks for solar air heating applications. The study employed numerical simulations using the extended DarcyβForchheimer model with the assumption that there exist local thermal nonequilibrium conditions within the porous foam region. Four configurations, denoted as PβA, PβP, AβP, and AβA, were explored based on the presence or absence of foam blocks relative to the heated section. The study meticulously analyzed the influence of key parameters, such as the number of foam blocks (Nβ=β1β5), permeability (quantified by pore density, ), and Reynolds number (), on the thermohydraulic performance. The results were promising, indicating a significant increase in the average Nusselt number () with the inclusion of foam blocks, albeit accompanied by an undesirable increase in the friction factor. Among the various configurations, the PβA arrangement, where porous blocks are situated at the entrance of the heating channel, exhibited superior thermal performance. Furthermore, the optimal heat transmission rate was attained with a single porous block (Nβ=β1) in the PβA configuration, at a Reynolds number of 16,000 and high permeability (). Conversely, the maximum friction factor was observed with five porous blocks (Nβ=β5) in the AβP configuration, at a Reynolds number of 4000 and low permeability (). The exhaustive analysis of thermohydraulic performance was evaluated using the performance evaluation criterion (PEC), which optimizes the tradeβoff between increased heat transfer rate and consequent pressure loss. The PβA arrangement, particularly with higher permeability and a minimal number of porous blocks, demonstrated the highest PEC value of 2.71, representing a significant 171% improvement compared with an empty channel. This study underscores the effectiveness of strategically placing and optimizing metal foam blocks to improve the thermal performance of heat exchanger systems.