It is sometimes useful to extract the mass and stiffness matrix from Ansys. *SMAT, MatK, D, IMPORT, FULL, file.full, STIFF *PRINT, matk, matk, txt Exporting mass matrix would be similar: *SMAT, MatM, D, import, full, file.full, MASS The above script uses APDL Math to get the job done. (Please see previous post for another example). The ordering of the matrix is unfortunately not concurrently exported. To verify the sequencing is as expected, we will work to replicate a truss example in the Finite Element Trusses course notes by Bob Greenlee. Figure 1: Truss Problem Setup Model Creation Script to create model: /prep7 !! Creates Model to reflect course notes ! Properties et ,1,1 mp , ex, 1, 29.5e6 r , 1, 1 ! Geometry n ,1 $ n ,2, 40 $ n ,3, 40, 30 $ n ,4, 0, 30 e ,1,2 $ e ,2,3 $ e ,1,3 $ e ,3,4 ! Boundary Conditions d ,1,ux,0 $ d ,1,uy,0 d ,2,uy...
Comments
Post a Comment