Numerical simulation of vertical intermittent flows