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 3: Using the Function Tool<br />

• Function -- A set of equations that together define an advanced boundary condition.<br />

• Primary Variable -- An independent variable evaluated and used by the program during solution.<br />

• Regime -- A portion of an operating range or design space characterized by a single regime variable.<br />

Regimes are partitioned according to lower and upper bounds of the regime variable. The regime variable<br />

must be continuous across the entire regime. Each regime contains a unique equation to evaluate the<br />

function.<br />

• Regime Variable -- The defining variable that governs which of the set of equations is used to evaluate<br />

the function.<br />

• Equation Variable -- A dependent (user-specified) variable, defined when the function is loaded.<br />

3.2. Using the Function Editor<br />

The Function Editor defines an equation or a function (a series of equations). You use a set of primary variables,<br />

equation variables, and mathematical functions to build the equations. Each equation applies to a particular<br />

regime. The equations defined for each regime, taken together, define a function, and the function as a<br />

whole is applied (for example, as a boundary condition, or to define the nonlinear material behavior for a<br />

joint).<br />

The following topics related to the Function Editor component of the Function Tool are available:<br />

3.2.1. How the Function Editor Works<br />

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

3.2.3. Using Your Function<br />

3.2.1. How the Function Editor Works<br />

Using the Function Editor is similar to using a scientific calculator. For example, when building an equation,<br />

you can:<br />

• Click buttons on the on-screen keypad.<br />

The keypad includes the numbers 0-9, parentheses, and a set of mathematical operators. In addition to<br />

the default set of operators, you can also click the INV key to access an alternate set of operators.<br />

• Use any variable name.<br />

The editor interprets any variable name you type as an equation variable. You can use up to 10 userdefined<br />

equation variables in a function (up to six regimes). You can use any name you wish, but ANSYS<br />

recommends against using the same name as one of the primary variables. You define the values for<br />

these variables when you load the function (described in Using the Function Loader (p. 79)).<br />

• Select a primary variable from a drop-down list.<br />

As you build an equation, it appears in standard mathematical syntax in the equation box above the keypad.<br />

The various components (primary variables, equation variables, mathematical operators, and numbers) appear<br />

in different colors so that you can more easily verify the equation you are entering. You can also graph or<br />

list the equation using the GRAPH/LIST button in the Function Editor dialog box; see Graphing a Function<br />

(p. 85) for more information about this feature.<br />

Ensuring the Validity of Your Equation<br />

The Function Editor does not validate the equation construction. (ANSYS generates an error message if you<br />

enter an inappropriate equation construction.) You must also ensure the mathematical validity of any<br />

equation.<br />

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