Simulation of slug flow initiation with adaptive numerical diffusion based on wavelength effect