You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No error is thrown on unstable model in some scenarios #255
Describe the bug
In some cases, when using FEModel3D.analyze(), when the model is obviously unstable, no errors are thrown. This happens with the default options, but with sparse=False, errors are sometimes correctly thrown. I've come across a couple different scenarios that I'll go through below.
Scenario 1: A warning is sent to stderr: MatrixRankWarning: Matrix is exactly singular D1 = spsolve(K11.tocsr(), subtract(subtract(P1, FER1), K12.tocsr() @ D2)), but no error is thrown and code execution continues.
Scenario 2: No warnings are given, no errors are thrown, code execution continues.
Scenario 3: Same as Scenario 2, but no errors are thrown when even sparse=False is added
Thanks for reporting this. This isn't the expected or desired behavior. There is a stability check option that is enabled by default when you analyze, but isn't picking it up for some reason.
Activity
JBloss1517 commentedon May 3, 2025
Thanks for reporting this. This isn't the expected or desired behavior. There is a stability check option that is enabled by default when you analyze, but isn't picking it up for some reason.
JWock82 commentedon May 18, 2025
I'll have a closer look at this now that I've released v1.1.0.
Detect global instability via the solution residual