You may find the last few posts in this thread useful: How to solve for the Z-directional potential of the movable electrode due to the use of the cg method?
You may find the last few posts in this thread useful: How to solve for the Z-directional potential of the movable electrode due to the use of the cg method?