Numerical detection and visualization of vortical structures in a confined flow