Numerical simulation of vortical flow