Numerical Simulation of the Vortex Ring Formation