when I run my program, it says "AttributeError: module 'openseespy.opensees' has no attribute 'timeseries'". Why is it happening? Also, no output files are generating
Can you please explain how we can extract the stiffness or tangent stiffness of the truss (or any other model?). I would like to extract the global stiffness of the model. Thank you for your time and videos!
Hey Ahmed, Thanks! For the global stiffness matrix, the best way I can think of doing this is with the "PrintA('ret')" command. You will have to use a "FullGeneral" system of equations. I would check out this very informative post here: portwooddigital.com/2020/05/17/gimme-all-your-damping-all-your-mass-and-stiffness-too/
I have a doubt over considering 3dof in the truss and fixing node 4 for rotation, as it means, elements will take effect, i-e the end connection could transmit transverse forces and bending moments into the element that will make a structure a Frame structure, not Truss which suggests treating it in a module on bending during analysis i-e considering the effect of bending as well.
Hey Sadia, yeah it can be a little confusing. Unlike other programs, the truss element itself can only take axial force - the element can't take transverse or bending forces. This is why we need to fix the truss against rotation, because the truss element provides no rotational stiffness - if we don't fix it, our model has no rotational stiffness, so the stiffness matrix can't invert and analysis fails! I haven't tried it, but you could analyzing the truss using 2dof and compare the result with 3Dof. I think you'll find that they give the same result.
@@christianslotboom2623 Thank you, Yeah I am hopefull too, I am new curious mind in this code world, just need a bit of support from an experts like your kind self.
op.recorder('Element', '-file', "Element.out", '-time', '-ele', [1, 2, 3], 'forces' there is nothing saved in the file "Element.out", only with a number 1 Can you tell Me where goes wrong, Thank you !
Hey Jack, The issue likely is with your elements - OpenSees doesn't like that you've passed in a list! if you change '-ele', [1, 2, 3], to '-ele', *[1, 2, 3], it should work. The star operation takes all items in your list, and unpacks them. '-ele', 1, 2, 3, with no brackets is also acceptable. Recorders are can be tricky - they often fail without giving you any message what's wrong..
@@christianslotboom2623 I am on windows and installation is not working for me. Could you plz guide! its giving error of 'Cannot link a source that doesn't exist" I followed the following link but still having the same error: github.com/conda/conda/issues/6057
@@sadiaumer949 Hmm. Sounds like something's might be up with your Anaconda environment. Unfortunately I probably can't help much here, there is a lot that can go wrong. I'd consider trying a clean install.
@@christianslotboom2623 Thank you , I upgraded and reinstalled it with new version of Openseespy, its working now but when i am running the code from following website its giving keyboardInteerupt error. openseespydoc.readthedocs.io/en/latest/src/ModelRendering.html but it works fine on Python shell strange that its not working on spyder. I have asked on github as well. Hope to get an answer.
great tutorial...thanks alot
Thanks, outstanding work. Saludos desde Ecuador :)
Excellent tutorial! thanks.
Thank you, it was useful for beginning
when I run my program, it says "AttributeError: module 'openseespy.opensees' has no attribute 'timeseries'". Why is it happening? Also, no output files are generating
Your videos are so nice!
Can you please explain how we can extract the stiffness or tangent stiffness of the truss (or any other model?).
I would like to extract the global stiffness of the model.
Thank you for your time and videos!
Hey Ahmed,
Thanks!
For the global stiffness matrix, the best way I can think of doing this is with the "PrintA('ret')" command.
You will have to use a "FullGeneral" system of equations.
I would check out this very informative post here:
portwooddigital.com/2020/05/17/gimme-all-your-damping-all-your-mass-and-stiffness-too/
When I run the file there is error appeared. "extra characters after close-quote" what does it mean? thanks
I have a doubt over considering 3dof in the truss and fixing node 4 for rotation, as it means, elements will take effect, i-e the end connection could transmit transverse forces and bending moments into the element that will make a structure a Frame structure, not Truss which suggests treating it in a module on bending during analysis i-e considering the effect of bending as well.
Hey Sadia, yeah it can be a little confusing. Unlike other programs, the truss element itself can only take axial force - the element can't take transverse or bending forces.
This is why we need to fix the truss against rotation, because the truss element provides no rotational stiffness - if we don't fix it, our model has no rotational stiffness, so the stiffness matrix can't invert and analysis fails!
I haven't tried it, but you could analyzing the truss using 2dof and compare the result with 3Dof. I think you'll find that they give the same result.
@@christianslotboom2623 indeed they give the same result. Thank you for your reply
@@sadiaumer949 Perfect! I'm glad you actually tried it out - hopefully you were able to learn a lot in the process.
@@christianslotboom2623 Thank you, Yeah I am hopefull too, I am new curious mind in this code world, just need a bit of support from an experts like your kind self.
Awesome
op.recorder('Element', '-file', "Element.out", '-time', '-ele', [1, 2, 3], 'forces'
there is nothing saved in the file "Element.out", only with a number 1
Can you tell Me where goes wrong, Thank you !
Hey Jack, The issue likely is with your elements - OpenSees doesn't like that you've passed in a list!
if you change
'-ele', [1, 2, 3],
to
'-ele', *[1, 2, 3],
it should work. The star operation takes all items in your list, and unpacks them.
'-ele', 1, 2, 3, with no brackets is also acceptable.
Recorders are can be tricky - they often fail without giving you any message what's wrong..
@@christianslotboom2623 Wow, Thank you for your nice explanation. It works!
@@jackluoluo8202 Glad to hear it!
sir, How can i put "#=============" in spyder to enter comment?
please answer this
@@rakeshrawat5603 Ctrl + 4
Could you please tell me the specification of your Anaconda Navigator and Spyder, I am having a hard time in its installation.
Hey, I use the most up to date version of Anaconda Navigator. If you are on windows, everything should work without any modifications!
@@christianslotboom2623
I am on windows and installation is not working for me. Could you plz guide! its giving error of 'Cannot link a source that doesn't exist" I followed the following link but still having the same error:
github.com/conda/conda/issues/6057
@@sadiaumer949 Hmm. Sounds like something's might be up with your Anaconda environment. Unfortunately I probably can't help much here, there is a lot that can go wrong. I'd consider trying a clean install.
@@christianslotboom2623 Thank you , I upgraded and reinstalled it with new version of Openseespy, its working now but when i am running the code from following website its giving keyboardInteerupt error.
openseespydoc.readthedocs.io/en/latest/src/ModelRendering.html
but it works fine on Python shell strange that its not working on spyder. I have asked on github as well. Hope to get an answer.
I found the problem, its because i havent checked for Ipython console from preferences>> Ipython concel >>graphics.>>Graphic backend= automatic