15.11.2012 Views

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 8:The Time-History Postprocessor (POST26)<br />

# The next line can either be left blank or have descriptors for each column<br />

# such as REAL and IMAGINARY<br />

#<br />

# The data itself can be in free format with the columns "comma delimited",<br />

# "tab delimited", or "blank delimited"<br />

#<br />

# The first column of data is always reserved for the independent variable<br />

# (usually TIME or FREQUENCY)<br />

#<br />

FREQ TEST1 TEST2<br />

REAL IMAGINARY REAL IMAGINARY<br />

1.00000E-02 -128.32 0.17764 5.6480 -4.47762E-03<br />

2.00000E-02 -150.08 0.36474 5.6712 -8.99666E-03<br />

3.00000E-02 -163.12 0.57210 5.7097 -1.35897E-02<br />

4.00000E-02 -147.63 0.81364 5.7629 -1.82673E-02<br />

5.00000E-02 -133.90 1.1091 5.8298 -2.29925E-02<br />

6.00000E-02 -172.38 1.4886 5.9080 -2.76290E-02<br />

The user has two choices, depending upon the data in the file.<br />

• Graph overlay information: This can be used when you are interested in simply overlaying the experimental<br />

or theoretical results on top of the Finite Element <strong>Analysis</strong> results in the same plot. The data<br />

set(s) brought in using this method will show up in the "overlay data" drop down list. A data set selected<br />

in this drop down list will overlay the current variable graph display. You will need to choose "None"<br />

to not overlay the data. The sets of data brought in using this method can be overlaid on a variable<br />

graph, allowing a visual comparison of the test data against the finite element result.<br />

• Linear interpolation into variables: If you want to compare Finite Element <strong>Analysis</strong> results with your<br />

experimental or theoretical results at the same time points, you should use the Interpolate to FEA Time<br />

Points option. This option linearly interpolates the test data to calculate test results at the ANSYS<br />

time/frequency points. The interpolated data is then stored as a time-history variable(s) and is added<br />

to the list of variables in the variable viewer. These variables can then be displayed, listed, or operated<br />

on as any other time-history variable. You must ensure that linear interpolation is valid for the data<br />

imported. In addition, the non-interpolated “raw” data from the file is available in the “overlay data”<br />

drop down list, as explained above.<br />

8.5.2. Batch Mode<br />

You import data from a file into a time history variable using one of the following methods:<br />

• Use the DATA command to read in a pre-formatted file. The file should be in Fortran format as described<br />

in the DATA command.<br />

• Read the data from a free format, "comma," “blank,” or "tab" delimited file. You can store it as a time<br />

history variable using the two step procedure below:<br />

1. Read the file into a table array using the *TREAD command. This step requires that you know the<br />

number of data points in the file since you will need to prespecify the table array size ( *DIM ).<br />

2. Use the VPUT command to store the array into a time history variable. You can store one array at<br />

a time into a time history variable<br />

• The following two 'external' commands are available to facilitate easy import of data into time-history<br />

variables.<br />

198<br />

1. ~eui, 'ansys::results::timeHist::TREAD directorypath/filename arrayname'<br />

The above command will determine the size of the data file, create a table array of name 'arrayname',<br />

appropriately dimension it based on the number of data sets in the file, and then read the data<br />

into this array. This command must be issued prior to the command shown below.<br />

2. ~eui,'ansys::results::timeHist::vputData arrayname variablenumber'<br />

Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />

of ANSYS, Inc. and its subsidiaries and affiliates.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!