Simulations of intermittent two-phase flows in pipes using smoothed particle hydrodynamics. (30th November 2018)