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.

2. Define the convection boundary condition as a function.<br />

Select Utility Menu> Parameters> Functions> Define/Edit to bring up the function editor. The<br />

function boundary condition being applied is a multivalued function, its final value being dependent<br />

on the X location in the domain. In the Function Editor dialog box, click on the radio button for<br />

“Multivalued function based on regime variable” and type xloc as the name of the regime variable in<br />

the text entry box. The name xloc appears as the name of the regime variable. To define xloc, select<br />

“X” from the drop down box on the lower half of the dialog box. Your dialog box should look like this:<br />

3. Define the equations for the heat transfer coefficient in the two regimes. Click on the Regime 1 tab.<br />

Under this tab, you will define the equation for the first regime, 1 ≤ X ≤ 5. Type “1” and “5” in the<br />

Regime 1 Limits text entry boxes.<br />

4. For the sake of convenience, define those expressions in the equations that you will use more than<br />

once or that are part of a very long equation, and store them in memory.<br />

In this example, expressions for the Reynold's number and Prandtl number are used repeatedly in both<br />

equations. They are good examples of expressions that can be stored and used throughout the function<br />

editor, in all regimes.<br />

To store the Reynold's number, fill in the Result box as shown below. Select the primary variables<br />

DENS, X, and VISC (shown in {brackets}) from the drop down list on the lower half of the dialog box.<br />

Use the keypad to insert the math functions such as * and /. Your dialog box should look like this:<br />

Click on STO, then on M0 on the number pad to store the expression in memory location 0.<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 />

3.5. Function Tool Example<br />

81

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

Saved successfully!

Ooh no, something went wrong!