Numerical study of a multiple-segment metal foam-PCM latent heat storage unit: Effect of porosity, pore density and location of heat source