General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Modal analysis – stiffness matrix and mass matrix

    • Zemos
      Subscriber

      Hello, everybody,


       


      I need the stiffness matrix and the mass matrix in Harwell Boeing format from my 3D body. Unfortunately my written APDL command does not work. 


       


      Here is my written code:


       


      /aux2 


      ! Removal of the structural matrices in the undeformed state 


      file,file,full 


      hbmat,mass matrix,txt,ascii,mass,no,yes 


      hbmat,stiffness matrix,txt,,ascii,stiff,no,yes 


      !hbmat,damping matrix,txt,ascii,damp,no,yes 


       


      ! End Auxiliary 


      finish


       


      The error message I get is as follows: "File file.full does not exist."


       


      I've been trying for hours to get the line "FILE,file,full"


      But I don't understand how I can solve it to output the stiffness matrix and the mass matrix.


       


      Additional note: I work with student version 19.3


       


      I hope one of you can help me. 


      I thank you in advance.


       

    • parkersheaffer
      Subscriber

      Hello Zemos, 


      I don't do a lot with apdl but this application has some interest to me so I spent some time going through this. 


      1. Disable the distributed solution, from what i found the HBMAT command is not supported.If you don't disable the distributed solution you wont get an output in the solver directory folder.


      2. The model has to be solved prior to this code being used. If those 6 commands prior to the solve are the same as the code you wrote above suppress them. All you need is the command in the solution. 


      3. There should be another comma in this line between txt and ascii.


                     "hbmat,mass matrix,txt,,ascii,mass,no,yes"


      4. Make sure the file in "file,file,full" is your file name. I just named my test model "file" for ease of use but if yours was different this might cause issues.


      Hopefully that helps, I was able to get an output with your code following the additional comma for both the mass/stiffness matrix.


       

    • Zemos
      Subscriber

      Hello parkersheaffer,


       


      Many thanks for your help! Finally it works! I wish you a wonderful day.


       


      Best wishes,


      Zemos

Viewing 2 reply threads
  • The topic ‘Modal analysis – stiffness matrix and mass matrix’ is closed to new replies.