Intuitively, 2 and 3 should be place perpendicular to 1, on the top and bottom.For a circle (extrapolated to a cylinder) with radius R:±30° with respect to +x isn't quite what I want judging by the fact the holes lie on the left side of the diagram so I am going with ±150°.For incompressible, inviscid flow at the stagnation point:At the stagnation point:Since p2=p3=p∞:The vortices will be offset from the origin:After much experimentation with the equations, I have settled on an iterator n in a summation that goes from −2N to 2N which gives me N+1 summands instead of going from 0 to N which introduces a summation inside the ln.x is a function of n which just paces right with a step size of a as n:All the vortices are on the y axis:Γ is the same for all:And, finally the whole summation:Wolfram Alpha had a stroke calculating the above so here's the Python code I used where I changed summand(n)
for every P and between u and v (this is snippet calculates v for P− which I did last):For the method of images, this is what I came up with where the reflections have the same strengths (which I am indicating with a prime above):I am also treating A=(0,0) as the origin.For simplicity (note the 4 in the denominator instead of 2, it'll be useful soon):Superpositioning ψ will introduce arctan when going to rectangular so I rather deal with the ln in ϕ:Since it's a wall at A=(0,0), v has to be 0, saving me some work:All hell breaks loose for u: