The solution yields nan when non flux condition is put on one of the sides
The solution yields nan when non flux condition is put on one of the sides