This code enables to compute the static electric field in the 4-electrode-system for liver electroporation. The code generates the mesh with Gmsh, and compute the solution of the nonlinear problem with Freefem++.