Question about Uncaught Exception from the example mesh1D.py #951
Replies: 1 comment
-
Different solvers respond in different ways to PDEs with multiple solutions. The example should handle this better (#952). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying the last example from examples/diffusion/mesh1D.py which is the "Fully implicit solutions are not without their pitfalls, particularly in steady state..." section.
The code of the steady-state part got the error "RuntimeError: Factor is exactly singular" which comes from the code
DiffusionTerm(coeff=D).solve(var=phi)
. Is it because the latest version of the library can catch and raise exceptions for the cases where there can be more than one solution for the PDE?(The attached file is what I actually used which got the exception)
fipy_exmaple4.zip
Beta Was this translation helpful? Give feedback.
All reactions