General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Modal Analysis Stiffness Matrix from Student Version of Ansys

    • blmcdona
      Subscriber

      Hello,

      I am analyzing a steel pipeline in Ansys modal, using a student version license.  At the end of the analysis, I have APDL commands to write the stiffness matrix as a .txt file.  Unfortunately, though, the stiffness matrix is not being written when I run the analysis.  Does Ansys Student support stiffness matrices?

      Thank you and best wishes,

      Brandon

    • Prapatsorn chomsree
      Subscriber

      To Brandon

      I wrote APDL commad "EMATWRITE YES" to get stiffness matrix then selecte "No" as below.

      You will get .emat file then you can convert .txt file as you want.

      BR,

      Prapatsorn chomsree

    • blmcdona
      Subscriber

      I wrote the following code in the APDL commands:

       
      ! Define the output file name
      *SET, FileName, 'C:\Users\brand\Documents\CIE 516\Term Project\stiffness_matrix.txt'
       
      ! Export the global stiffness matrix
      ematwrite, FileName
       
      However, the .emat file is not being created.  Is this feature supported in the student version?
    • Stella Peloni
      Ansys Employee

      Hello Brandon,

      Please set the Delete Unneeded Files to No, and The Future Analysis to MSUP Analysis in the Analysis Data Mangement. Then, under the Modal Analysis, insert a command object and write : EMATWRITE, YES. 

      Kind Regards,

      Stella

    • blmcdona
      Subscriber

      Thank you for your reply.  I made the recommended changes, but the stiffness matrix is still not being written.  This is the code I used:

       
      ematwrite, 'stiffness_matrix.txt' , 'yes'
       

      Where the command is located in the "Modal" part of the project tree, rather than in the "solution" branch.  Is the command correct, or is the placement of this command object wrong?

    • Prapatsorn chomsree
      Subscriber

      Dear Bandon

      Please try this command

      BR,

      Prapatsorn chomsree

    • blmcdona
      Subscriber

      I have done that, but it is not being exported.  How do I make Ansys write the stiffness to a .txt file?

    • blmcdona
      Subscriber

      I am using the Student Version of Ansys.  Is the "ematwrite,yes" command supported with this software version?

Viewing 7 reply threads
  • You must be logged in to reply to this topic.