8.4. Importing Data

The ability to import data enables you to read in sets of data from a file into time-history variable(s). For example, you can display and compare test results data against the corresponding program results data.

Import data from a file into a time-history variable via one of the following methods:

Example 8.8:  Importing Data
~eui,'ansys::results::timeHist::TREAD  d:\test1\harmonic.prn TESTMID'
~eui,'ansys::results::timeHist::vputData TESTMID 5'

The first command reads data sets from the file harmonic.prn in the directory d:\test1 and stores this data in to the table array TESTMID.

The second command imports the data from TESTMID array into time-history variables beginning with variable number 5. If the harmonic.prn file contains multiple data sets, the first data set is stored in variable 5, the next data set in variable 6, and so on. If these variables have already been defined, they are overwritten.



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