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.

Chapter 3: Using the Function Tool<br />

• Rotational speed (OMEGS) (rotational speed for SURF151 or SURF152 elements)<br />

• Rotational speed (OMEGF) (rotational speed for FLUID116 elements)<br />

• Slip factor (SLIP) (slip factor for FLUID116 elements)<br />

• Tabular data as a function of frequency of excitation (FREQ)<br />

• Relative displacement (DJU)<br />

• Relative velocity (DJV)<br />

3.2.2. Creating a Function with the Function Editor<br />

Access the Function Editor via the ANSYS GUI in either of the following ways:<br />

• Main Menu> Solution> Define Loads> Apply> Functions> Define/Edit<br />

• Utility Menu> Parameters> Functions> Define/Edit<br />

Follow these steps to create a function:<br />

1. Select the function type. Select either a single equation or a multivalued function. If you select the<br />

latter, you must type in the name of your regime variable. This is the variable that governs the equations<br />

in the function. When you select a multivalued function, the six regime tabs become active.<br />

2. Select degrees or radians. This setting determines only how the equation is evaluated and has no effect<br />

on *AFUN settings.<br />

3. Define the result equation (if a single equation) or the equation describing the regime variable (if a<br />

multivalued function) using primary variables, equation variables, and the keypad. If you are defining<br />

a single-equation function, go to Step 10 to comment and save the equation. If you are defining a<br />

multivalued function, continue with Step 5.<br />

4. Click on the Regime 1 tab. Type in the appropriate lower and upper limits for the regime variable you<br />

defined under the Function tab.<br />

5. Define the equation for this regime.<br />

6. Click on the Regime 2 tab. Notice that the lower limit for the regime variable is already defined and<br />

unchangeable. This feature ensures that the regimes remain continuous, with no gaps. Define the<br />

upper limit for this regime.<br />

7. Define the equation for this regime.<br />

8. Continue this process for up to six regimes. You do not have to store or save the individual equations<br />

in each regime, unless you wish to reuse the equation in another regime.<br />

9. Optional: Enter a comment to describe the function. Select Editor> Comment and type your comment<br />

in the area provided.<br />

10. Save the function. Select Editor> Save and type in a name. The filename must have a .func extension.<br />

3.2.3. Using Your Function<br />

After you have defined and saved your function, you can use it in any applicable ANSYS analysis, and any<br />

other ANSYS user with access to the file can use it. For example, you could create a corporate library of<br />

functions and place them in a common directory that all users can access via a network.<br />

To use the function, you must load it, assign values to any equation variables, and provide a table parameter<br />

name for use in a given analysis. Functions are stored in a table array in equation format, not as discrete<br />

table values. All of these tasks occur via the Function Loader.<br />

78<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!