Let's say that I've got two wires, one with radius $a$ and the other with radius $b$, $h$ apart, and I want to calculate the self inductance per unit lenght of this system, which is defined as the "proportionality constant" between the current $I$ and the magnetic flux through the system. The current in the wires is flowing in opposite directions.
I tried to calculate the magnetic flux to derive the inductance, but got the wrong result... the magnetic flux should be given by: $\phi_m= \int \textbf{B}\space d\textbf{S}$ , $\textbf{B}=\textbf{B}_a+\textbf{B}_b$, those are the magnetic field produced by the two wires... Then I just have to integrate $\textbf{B}_a$ from $a$ to $a+h+2b$, the integral over the first, "a" wire should be zero and the analogous integral for the "b" wire...
So : $\phi_m = L \int_a ^{a+h+2b} \frac{\mu_0 I}{2 \pi y}dy+L\int_b ^{b+h+2a} \frac{\mu_0 I}{2 \pi y}dy$, where L denotes some arbitrary lenght.
I know that this is wrong, but dont know why , I have read some similar questions on this board and know that it's got something to do with the "flux linking" concept, I just can't see how... Can someone please demostrate this principle on my example.