Ansys Learning Forum › Forums › Discuss Simulation › General Mechanical › Modal analysis – stiffness matrix and mass matrix › Reply To: Modal analysis – stiffness matrix and mass matrix
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.
