Hi all,
Can someone please help me figure out how to extract the mass and stiffness matrix in modal analysis using techanical script?
There is a way to do this using command
""
!Print the Full stiffness matrix
*DMAT, KmatrixF, D, import, full, file.full, STIFF !fetching the full stiffness matrix from .FULL file
*PRINT,KmatrixF,Kdense.txt
!converting the file obtained into .txt format
!print the sparse stiffness matrix
*SMAT, KmatrixS, D, import, full, file.full, STIFF !fetching the sparse stiffness matrix from .FULL file
*PRINT,KmatrixS,Ksparse.txt
!Print the Full mass matrix
*DMAT, MmatrixF, D, import, full, file.full, MASS !fetching the full mass matrix from .FULL file
*PRINT,MmatrixF,Mdense.txt
!print the sparse mass matrix
*SMAT, MmatrixS, D, import, full, file.full, MASS !fetching the sparse mass matrix from .FULL file
*PRINT,MmatrixS,Msparse.txt
""
Unfortunately newer versions of Ansys don't have "file.full" but "file.log" so I can't use this.
If you happen to know how to do this with mechanical script and/or using the command with "file.log", please share with me.
Thank you in advance.