We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

Is there a command to output the complete contents of a result set from a results file?

    • FAQFAQ
      Participant

      If you are searching for an ANSYS Mechanical APDL command that will dump the complete contents of a results set to an ASCII text file, there is the AUX2 DUMP command however the rst file must have been created using a single processor. Also the output is by record id and you will need to refer to the Programmers Manual in the help to interpret each records content. If the file was created with multiple processors then you would have to use many ptr commands to step thru the records. There are two other approaches that use commands. The first would be to use the POST1 print commands for the desired items. These include PRNSOL, PRESOL, PRETAB, PRNLD, PRRSOL, PRENERGY, and a few others. Use the /OUPUT command to specify the file name. See the /HEADER, /FORMAT, and /PAGE for output controls on some of them. The output format is otherwise fixed by the program code. The second approach would be to use *VGET commands along with *GET command in do loops to retrieve the desired quantities into array parameters then use *VWRITE or *MWRITE to output the arrays to ASCII text files. You have control over the output format and contents. Additionally you can use array and parameter operations (*VFUN for example) to do calculations and output calculated values. A few quantities may not be retrievable into parameters.