It can be simulated with numerical method: put laplace/posisson equstion into numerical form. You can check out standard textbook about numerical method.