Mechanical APDL Basic Analysis Guide

(Axel Boer) #1

to redirect text output from the screen to a file. For example, to redirect POST1 stress printout to a file,
the commands would be:


/OUTPUT,STRESS,OUT! Output to file STRESS.OUT
PRNSOL,COMP! Component stresses
/OUTPUT! Output back to screen

GUI equivalents for the /OUTPUT command are:


GUI:


Utility Menu> File> Switch Output to> File
Utility Menu> File> Switch Output to> Output Window

Table 20.5: Other Commands for Writing Files (p. 324) lists other file-write commands used during an
analysis are:


Table 20.5: Other Commands for Writing Files


Com- GUI Menu Path Purpose
mand
Writes the database to
Jobname.DB

SAVE Utility Menu> File> Save as

Writes parameters to Job-
name.PARM

PARSAV Utility Menu> Parameters> Save Parameters

Writes element definitions
to Jobname.ELEM

Main Menu> Preprocessor> Modeling> Create> Ele-
ments> Write Elem File

EWRITE

Writes node definitions to
Jobname.NODE

Main Menu> Preprocessor> Modeling> Create>
Nodes> Write Node File

NWRITE

Writes material properties
to Jobname.MP

Main Menu> Preprocessor> Loads> Other>
Change Mat Props> Write to File
Main Menu> Preprocessor> Material Props> Write to File

MP-
WRITE

Main Menu> Solution> Load Step Options> Other>
Change Mat Props> Write to File

You can also redirect graphics output (plots) from the screen to a neutral graphics file.


20.7. Assigning Different File Names


As mentioned earlier, you can use the /FILNAME command at the Begin level to assign a jobname for
all subsequently written files. Use the /ASSIGN command (Utility Menu> File> ANSYS File Options)
to assign a different name, extension, and directory to a file. For example, the following command re-
assigns the element matrix file (identifier EMAT ) to MYFILE.DAT in the "save_dir" directory:


/ASSIGN,EMAT,MYFILE,DAT,SAVE_DIR/

The "/" is a delimiter that separat es the directory name from the file name. It is system-dependent, so
you must use the delimiter(s) appropriate for your system. You can assign only a specific set of files.
Refer to the /ASSIGN command description (in the Command Reference) for the complete list.


Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

File Management and Files

Free download pdf