General Mechanical

General Mechanical

extracting arrays in a mfile or excel in APDL

    • pcmehdiheidarian
      Subscriber

      I have saved some data in APDL in an array form. How can I extract them in an mfile or excel?

    • Aniket
      Ansys Employee

      check *.mwrite command


      https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v194/ans_cmd/Hlp_C_MWRITE_st.html


      -Aniket


      Guidelines on the Student Community


      How to access ANSYS help links

    • pcmehdiheidarian
      Subscriber

      Thank you Aniket;


       


      Also, you can save them in a predefined empty notepad file by the save parameters, scalar and arrays option in the main menu.


       


      Do you know what id the different between different versions? the same code I am using in ANSYS 13 successfully, is not working in ANSYS 19.

    • Aniket
      Ansys Employee

      If you can do it from the GUI, checking the session editor is the best way to get to the commands. Did you check that? Although, in general, the same code should be usable in future versions, it is not uncommon due to changes over versions to break this code due to syntax changes and updates.
      I would suggest run your code line by line to see where it breaks.


      -Aniket


      Guidelines on the Student Community


      How to access ANSYS help links

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