Consider the two images in this link: ejecting vector field image.
In the upper picture: a fluid is smoothly flowing in a two dimensional pipe (i.e. a velocity vector field passing without any interruption).
In the lower picture: the same fluid is flowing in a similar pipe, but now there is a hole (i.e. a part of the velocity vector field has now ejected out from that hole).
I'm currently not concerned in the physical reason behind it. Rather what I want to know is that,
Which mathematical property of a velocity field (a vector field) will depict such a situation that a potion of that field will come out from the main stream in the lower case, but not in the upper case? Or in other words, what will be the exceptional (mathematical) property of the velocity field around the hole that lets the velocity field to leave the main stream and come out?
If I'm given a vector field (for the sake of convenience, let's say the velocity field), can I predict (by pen-paper calculation) that if the velocity field will flow smoothly everywhere or at certain point(s), some part of it will be ejected out from the main stream (like the second case)?
My speculation: Is something to do here with the curl or the divergence of the vector field at the vicinity points of the hole? But what about the general (special) property of the vector field, that is required for being ejected?