Solving Poisson equation with arbitrarily shaped Dirichlet boundary

251 Views Asked by At

I have a software that can solve 2D Poisson equation with rectangular Dirichlet boundaries. It is amazingly fast and I really need to use it. However, the equation that I want to solve is defined on arbitrary boundaries (not rectangular). Is there way to solve such a problem by redefining it on a rectangular domain? Approximate solution is also accepted.