-
-
January 20, 2020 at 8:08 pm
Zemos
SubscriberHello, 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.
Â
-
January 20, 2020 at 9:17 pm
parkersheaffer
SubscriberHello 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.
-
January 20, 2020 at 11:29 pm
-
- The topic ‘Modal analysis – stiffness matrix and mass matrix’ is closed to new replies.
-
3467
-
1057
-
1051
-
929
-
896
© 2025 Copyright ANSYS, Inc. All rights reserved.