u-anurag / vfo

Visualization For OpenSees
https://vfo.readthedocs.io
MIT License
34 stars 10 forks source link

vfo error #15

Closed rameshadhikari07 closed 5 months ago

rameshadhikari07 commented 7 months ago

error message graphical interface

I am getting the following error while plotting the deformed shape for my Pushover analysis. I get ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Also, the slider shows a negative time step. Is it normal to have a negative time step value?

However, I can view the model. What could be the problem here?

Thank you.

u-anurag commented 7 months ago

For a pushover analysis, the slider shows the analysis load factor. For a time-history analysis, it will show the time step.

I am not sure what the problem is. Could you share the ODB folder so I can take a look? Upload on your GitHub account and share the link.

rameshadhikari07 commented 7 months ago

https://github.com/rameshadhikari07/vfoPushover/tree/main/1MRF_ODB I realized that one of my element tags had 7 digits. I changed that, and I could see the deformed model. However, the amount of deformation does not change even when I drag the slider. Furthermore, the slider shows the load factor, is it normal to get a negative load factor?

Now, I am getting a new issue while plotting the mode shapes. I get the following error: image (I created an ODB as vfo.createODB(model='1MRF', Nmodes=10, loadcase='Pushover'))

However, I successfully ran an Eigenvalue analysis in Opensees using the eigen() function.

u-anurag commented 6 months ago

The error shows the eigen analysis failed.

The negative load factor in pushover analysis is common and depends on the model.