Open guyer opened 5 years ago
In general i find this also problem when initializing cell variables with an integer it raises warning and solutions are not right. just doing "1." fixes this problem. This is issue even with python3!
@raviapatel: That's true and unlikely to change. There are internal reasons why cell variables need to be able to hold integers, but integers are not suitable for solving PDEs.
raises
RuntimeError: Factor is exactly singular
StagnatedSolverWarning: The solver stagnated. Iterations: 2. Relative error: nan
RuntimeWarning: invalid value encountered in true_divide
depending on solver.
dx = 1.
fixes this.