Influence of boundary conditions on computation of the effective thermal conductivity of foams