output#

RunControls.output(fname='', ext='', loc='', **kwargs)#

Redirects text output to a file or to the screen.

Mechanical APDL Command: /OUTPUT

Parameters:
fnamestr

Filename and directory path (248 character maximum, including directory) to which text output will be redirected (defaults to Jobname if Ext is specified). For interactive runs, Fname = TERM (or blank) redirects output to the screen. For batch runs, Fname = blank (with all remaining command arguments blank) redirects output to the default system output file.

extstr

Filename extension (eight-character maximum).

locstr

Location within a file to which output will be written:

  • (blank) - Output is written starting at the top of the file (default).

  • APPEND - Output is appended to the existing file.

Notes

Text output includes responses to every command and GUI function, notes, warnings, errors, and other informational messages. Upon execution of output, Fname, Ext, ..., all subsequent text output is redirected to the file Fname.Ext. To redirect output back to the default location, issue output (no arguments).

When using the GUI, output from list operations ( nlist, dlist, etc.) is always sent to a list window regardless of the output setting. The output can then be saved on a file or copied to the output location using the File menu in the list window.

This command is valid in any processor.