Page 3 of 3
Re: Model construction with Python API
Posted: Mon May 22, 2023 7:45 am
by ValentinaSB
Hi Fabiola,
The problem why you couldn't run it was that when you assign your triangular_elements you selected not only faces but also edges and nodes. I reassigned it and now it runs.

- Screenshot 2023-05-22 094005.jpg (176.71 KiB) Viewed 1786 times
But now it asks you to insert peakShearStra for PressureIndependMultiYield

- Screenshot 2023-05-22 094212.jpg (78.14 KiB) Viewed 1786 times
Let us know if you need help
Best, Valentina
Re: Model construction with Python API
Posted: Wed May 24, 2023 5:27 pm
by Fabiola
Thank you so much Valentina!
I changed the parameters; but why doesn't my analysis run?
I attach my file below.
thanks again!!
Re: Model construction with Python API
Posted: Wed May 31, 2023 2:45 pm
by STKO Team
Try this:
The analysis was not running because you set a duration of 0.
Typically static analysis should have a duration of 1 (if you use a linear time series).
After the first analysis you should keep load constant and reset the time to 0 (otherwise it will mess up subsequent time Series)
The the dynamic analysis should have a non-zero duration (I used 25 in this case, due to the duration of your ground motion).
Then, you have to study the analysis settings. Many of them were wrong (system = Linear works only for linear materials, integrator = CentralDifference is for explicit dynamics, not for implicit ones, you don't have any damping, etc..)
Also, I found that applying your self weight assuming the model elastic, gives convergence issues when switching to plastic. So I set the material plastic from the beginning