Clarification regarding Stiffness Matrix and Mass Matrix extract commands from Workbench

I got these commands to extract stiffness matrix and mass matrix. I am using Ansys Workbench 19.2.

The commands are as follows:

! Extracting Stiffness Matrix and Mass Matrix

! Commands to extract Dense Matrix

! Stiffness Matrix

*DMAT,MatKD,D,IMPORT,FULL,file.full,STIFF

*PRINT,MatKD,Kdense.matrix

! Mass Matrix

*DMAT,MatMD,D,IMPORT,file.full,MASS

*PRINT,MatMD,Mdense.matrix

! Commands to extract Sparse Matrix

! Stiffness Matrix

*SMAT,MatKS,D,IMPORT,file.full,STIFF

*PRINT,MatKS,Ksparse.matrix

! Mass Matrix

*SMAT,MatMS,D,IMPORT,file.full,MASS

*PRINT,MatMS,Msparse.matrix

The commands ran without errors but the .matrix files aren't saved in the directory and I'm not able to know the exact reason for that. Also in the solution file I see *DMAT file cannot be read file.full error.

Questions:

1.Are these the right commands to extract K matrix and M matrix ?

2. file.full, in this command am i supposed to use the file name? like for example, 'test' or 'test.full'.

3.How to check if the file got saved or not?

Thanks for your time.. I appreciate your help..

Answers

  • akhemkaakhemka Forum Coordinator

    Hi @SACHIND ,


    All the Global matrices (Stiffness, Mass & Damping) are stored in *.full file and using *SMAT command, we can read them from *full file and using *print command, we can write them into file.


    *SMAT,matk,D,IMPORT,file.full,FULL,STIFF


    *PRINT,matk,matk,txt


    Please see if this helps.


    Regards,

    Ashish Khemka

  • Thanks for the reply. I am able to import the stiffness, mass and damping matrices using the commands said above.. Is there a way to validate the matrices imported for the model??

Sign In or Register to comment.