Diffuse interface method for fluid flow and heat transfer in cellular solids. (September 2015)