Study of two phase flow in horizontal pipeline