The countercurrent flow of gas and water in a short horizontal pipe is studied numerically with a two-phase flow model. It is observed that the onset of flooding cannot be predicted at low liquid flow rates using conventional one-dimensional equations. The conventional equations yield the same underestimated results as the Taitel-Dukler criterion. Utilizing physical reasoning, improved equations have been derived. The basic idea is that the distribution of the phase velocities should not be treated as uniform in the cross-sectional area occupied by phases but transverse dependencies for the velocities should be allowed. By comparing measurement data and calculated results, it is shown that flooding transition can be predicted accurately with these equations.