Heat transfer enhancement using porous material