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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 5.3 Examples of Time-Varying Loads<br />

Suppose that you have a set of time-varying loads such as the ones shown above. There are three load<br />

functions, so you need to define three array parameters. All three array parameters must be of type TABLE.<br />

The force function has five points, so it needs a 5 x 1 array; the pressure function needs a 6 x 1 array; and<br />

the temperature function needs a 2 x 1 array. Notice that all three arrays are one-dimensional. The load<br />

values are entered in column 1 and the time values are entered in column zero. (The zeroth column and<br />

zeroth row, which normally contain index numbers, must be changed and filled with a monotonically increasing<br />

set of numbers if you define the array parameter as a TABLE.)<br />

To define the three array parameters, you first need to declare their type and dimensions. To do so, use<br />

either of the following:<br />

Command(s): *DIM<br />

GUI: Utility Menu> Parameters> Array Parameters> Define/Edit<br />

For example:<br />

*DIM,FORCE,TABLE,5,1<br />

*DIM,PRESSURE,TABLE,6,1<br />

*DIM,TEMP,TABLE,2,1<br />

You can now use either the array parameter editor (Utility Menu> Parameters> Array Parameters><br />

Define/Edit) or a set of "=" commands to fill these arrays. The latter method is shown below.<br />

FORCE(1,1)=100,2000,2000,800,100 ! Force values in column 1<br />

FORCE(1,0)=0,21.5,50.9,98.7,112 ! Corresponding time values in column 0<br />

FORCE(0,1)=1 ! Zeroth row<br />

PRESSURE(1,1)=1000,1000,500,500,1000,1000<br />

PRESSURE(1,0)=0,35,35.8,74.4,76,112<br />

PRESSURE(0,1)=1<br />

TEMP(1,1)=800,75<br />

TEMP(1,0)=0,112<br />

TEMP(0,1)=1<br />

You have now defined the load histories. To apply these loads and obtain the solution, you need to construct<br />

a do-loop (using the commands *DO and *ENDDO) such as the one shown below:<br />

TM_START=1E-6 ! Starting time (must be > 0)<br />

TM_END=112 ! Ending time of the transient<br />

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

of ANSYS, Inc. and its subsidiaries and affiliates.<br />

5.7.3. Using the Array Parameter Method<br />

115

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

Saved successfully!

Ooh no, something went wrong!