theCandyman said:
If the nonhomogenous part of the equation does not have an r term in it, it will disappear out of the equation after you apply Fick's law though. Is the current at the center of the sphere zero?
It should be. You've got a uniformly distributed source, so if you pick an infinitely small sphere, i.e., a point, you have no source there. At the center of the sphere, you've got the same amount of material -> the same source in every direction, so there should be no net current.
If you substitute a constant into the diffusion equation:
\nabla^2 C- \frac{1}{L^2} C = -\frac{S}{D}
the first term is zero and you end up with:
-\frac{C}{L^2} = -\frac{S}{D}
which makes sense. If you have an r in your source (inhomogeneous) term, the flux will actually
increase as you move away from the center of the sphere, which makes no sense for a uniformly distributed source.
EDIT: OK, I see the problem. In this equation:
\phi_p = \frac{Er}{L^2} - \frac{F}{L^2} = -\frac{Sr}{D}
you shouldn't have the 'r' in your source term. That's a linearly dependent source term, not a uniform source term, which should just be a constant. If the right-hand side is -\frac{S}{D} you end up with E = 0 instead of F.