Regarding the Python code snippet, it appears to be a trial and error approach for solving cyclic analysis in OpenSees. The code tries different algorithms and test criteria until a successful analysis (ok == 0) is achieved. Regarding printing the trial value that failed, you can move the print statement under "if ok==0:" before the "break" statement to achieve that.Immaculate Grid
Using Python libraries with OpenSeesPy offers advantages, and you are utilizing it for your research.
Search found 1 match
- Thu Oct 19, 2023 6:03 pm
- Forum: OpenSeesPy
- Topic: Does the cyclic analysis work in python?
- Replies: 3
- Views: 7711