Thanks for your answer
In my case, J is not known (actually it's one of the things I will want to find). B is not uniform , but for a first approximation I would want to find B(x,y,z) = (0 , 0 , B0 + k*z) , B0 >> k It's a constant magnetic field with a small gradient on the top of it.
k...