Encountered the RuntimeError when solving the PDE

You can increase the maximum number of iterations in your non-linear solver, see:

For further questions, I strongly suggest that you provide a minimal reproducible example.