Moving iso-contour method for solving partial differential equations