20.5. Reading Your Own Files into the Program

In many situations, you will need to read in your own files. The file may be a text file of commands or a binary data file.

Issue the /INPUT command to read in a text file containing commands (such as Jobname.LOG or Camshaft_Assembly.INP).

Example 20.2:  Reading a Text File

This command reads the file MATERIAL.INP from the current directory:

/INPUT,MATERIAL,INP

Table 20.3:  Commands for Reading in Special-Purpose Text Files

This command...Reads in this type of text file:
*USE Macros
PARRES Parameter (Jobname.PARM)
EREAD Element (Jobname.ELEM)
NREAD Node (Jobname.NODE)
MPREAD Material property (Jobname.MP)
INISTATE Initial state (Jobname.IST)

Table 20.4:  Commands for Reading in Binary Files

This command...Reads in this type of binary file:
RESUME Database (Jobname.DB)
SET [1]Results (Jobname.RST, Jobname.RTH, Jobname.RMG)

  1. in the POST1 postprocessor


Release 18.2 - © ANSYS, Inc. All rights reserved.