Application of gas phase tracking approach in hydrodynamic simulation for gas–liquid two-phase flow in undulant pipelines