Learning OpenSees - Basic Truss Example

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024

Комментарии • 29

  • @KarimBasha-r4n
    @KarimBasha-r4n Месяц назад

    great tutorial...thanks alot

  • @jaimeriofrio1174
    @jaimeriofrio1174 4 года назад +1

    Thanks, outstanding work. Saludos desde Ecuador :)

  • @khodkardo8329
    @khodkardo8329 4 года назад +1

    Excellent tutorial! thanks.

  • @anlzafer4072
    @anlzafer4072 2 года назад

    Thank you, it was useful for beginning

  • @nishantyadav8124
    @nishantyadav8124 3 месяца назад

    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

  • @northkc6731
    @northkc6731 3 года назад

    Your videos are so nice!

  • @ahmedtorky5777
    @ahmedtorky5777 4 года назад +1

    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!

    • @christianslotboom2623
      @christianslotboom2623  4 года назад +4

      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/

  • @unurt9781
    @unurt9781 2 года назад

    When I run the file there is error appeared. "extra characters after close-quote" what does it mean? thanks

  • @sadiaumer949
    @sadiaumer949 4 года назад

    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.

    • @christianslotboom2623
      @christianslotboom2623  4 года назад +1

      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.

    • @sadiaumer949
      @sadiaumer949 4 года назад

      @@christianslotboom2623 indeed they give the same result. Thank you for your reply

    • @christianslotboom2623
      @christianslotboom2623  4 года назад +1

      @@sadiaumer949 Perfect! I'm glad you actually tried it out - hopefully you were able to learn a lot in the process.

    • @sadiaumer949
      @sadiaumer949 4 года назад

      @@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.

  • @izzyclarksmith
    @izzyclarksmith 3 года назад

    Awesome

  • @jackluoluo8202
    @jackluoluo8202 4 года назад +1

    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 !

    • @christianslotboom2623
      @christianslotboom2623  4 года назад +3

      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..

    • @jackluoluo8202
      @jackluoluo8202 4 года назад +1

      @@christianslotboom2623 Wow, Thank you for your nice explanation. It works!

    • @christianslotboom2623
      @christianslotboom2623  4 года назад

      @@jackluoluo8202 Glad to hear it!

  • @harvey1824
    @harvey1824 3 года назад +1

    sir, How can i put "#=============" in spyder to enter comment?

  • @sadiaumer949
    @sadiaumer949 4 года назад

    Could you please tell me the specification of your Anaconda Navigator and Spyder, I am having a hard time in its installation.

    • @christianslotboom2623
      @christianslotboom2623  4 года назад

      Hey, I use the most up to date version of Anaconda Navigator. If you are on windows, everything should work without any modifications!

    • @sadiaumer949
      @sadiaumer949 4 года назад

      @@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

    • @christianslotboom2623
      @christianslotboom2623  4 года назад +1

      @@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.

    • @sadiaumer949
      @sadiaumer949 4 года назад

      @@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.

    • @sadiaumer949
      @sadiaumer949 4 года назад

      I found the problem, its because i havent checked for Ipython console from preferences>> Ipython concel >>graphics.>>Graphic backend= automatic