For example, the following command causes the ANSYS program to read the file MATERIAL.INP from
the current directory.
/INPUT,MATERIAL,INPTable 20.3: Commands for Reading in Text Files (p. 323) lists other commands that you can use to read
in text files.
Table 20.3: Commands for Reading in Text Files
Com- GUI Menu Path Purpose
mand
*USE Utility Menu> Macro> Execute Data Block Reads in macros
Reads in parameters (Job-
name.PARM) filesPARRES Utility Menu> Parameters> Restore ParametersReads in element (Job-
name.ELEM) filesMain Menu> Preprocessor> Modeling> Create> Ele-
ments> Read Elem FileEREADReads in node (Job-
name.NODE) filesMain Menu> Preprocessor> Modeling> Create>
Nodes> Read Node FileNREADReads in material property
(Jobname.MP) filesMPREAD Main Menu> Preprocessor> Loads> Load
Step Opts> Other> Change Mat Props> Read
from File
Main Menu> Preprocessor> Material Props>
Read from File
Main Menu> Solution> Load Step Opts>
Other> Change Mat Props> Read from File
Reads in initial state (Job-
name.IST) filesINISTATE This command cannot be accessed from a menu.Table 20.4: Commands for Reading in Binary Files (p. 323) lists GUI paths or commands you can use to
read in binary data files.
Table 20.4: Commands for Reading in Binary Files
Com- GUI Menu Path Purpose
mand
Reads in database (Job-
name.DB) filesUtility Menu> File> Resume from
Utility Menu> File> Resume Jobname.DBRESUMEReads in results files (Job-
name.RST,Job-SET[ 1 ] Utility Menu> List> Results> Load Step Summaryname.RTH,Job-
name.RMG)- in the POST1 postprocessor
20.6. Writing Your Own ANSYS Files from the ANSYS Program
Besides the files that the ANSYS program automatically writes during an analysis, you can also force
files to be written as necessary. A commonly used file-write command is /OUTPUT, which allows you
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationWriting Your Own ANSYS Files from the ANSYS Program