Ansys Learning Forum Forums Discuss Simulation General Mechanical Converting .DMIG to .SUB Superelement / Condensed Part Reply To: Converting .DMIG to .SUB Superelement / Condensed Part

Chandra Sekaran
Ansys Employee

Below APDL commands will import the stiffness and mass matrix from DMIG files and then export the matrices to a sub file.

! IMPORT A STIFFNESS MATRIX FROM A NASTRAN DMIG FILE
*DMAT,KMat,D,IMPORT,DMIG,MATK.DMIG

! IMPORT A MASS MATRIX FROM ANOTHER NASTRAN DMIG FILE
*DMAT,MMat,D,IMPORT,DMIG,MATM.DMIG


! GENERATE A NEW SUB FILE WITH THESE 2 MATRICES
*EXPORT,KMat,SUB,new.sub,STIFF,,WAIT
*EXPORT,MMat,SUB,new.sub,MASS,,DONE