Two phase flow and phase change heat transfer in small structures