Problem Specification
1. Start-up and preliminary set-up
2. Specify element type and constants
3. Specify material properties
4. Specify geometry
5. Mesh geometry
{color:#ff0000}{*}6. Specify boundary conditions{*}{color}
7. Solve!
8. Postprocess the results
9. Validate the results

h2. Step 6: Specify boundary conditions

Recall that the BCs for face 1 are:
u=0 at node A (keypoint 1)
v=0 at all face 1 nodes
w=0 along AB (line L7)

These BCs are in the cylindrical coordinate system. Switch to this coordinate          system:

Utility Menu > WorkPlane > Change Active          CS to > Global Cylindrical

We'll work with areas while specifying the BCs. So plot areas: Utility          Menu > Plot > Areas

h4. Rotate Nodal Coordinate System

In ANSYS, the boundary constraints are applied in the          nodal coordinate system which by default is parallel to the global Cartesian          system. Since we want to apply the constraints in the global Cylindrical          coordinate system, we need to rotate the nodal coordinate system into          the active coordinate system (i.e. Cylindrical) using the nrotat command.

Type nrotat,all in the _Input_ window.

To see the help page for _nrotat_, type help,nrotat in the _Input_ window.

h4. Apply u=0 at Node A

Main Menu > Preprocessor > Loads >          Define Loads > Apply > Structural > Displacement > On Nodes

Select node at A in the lower-right corner and click OK in the pick menu. Select UX for DOFs          to be constrained. You can leave the Displacement          value blank since the default is zero. Click OK.          You'll see an arrow symbol in the _Graphics_ window indicating that          the node A is constrained in the radial direction.

h4. Select Nodes on Face 1

ANSYS provides extensive capabilities, referred to as          "select logic", for selecting a subset of the full model using          various criteria. We'll use select logic to select the nodes on face 1.          We'll first select the area corresponding to face 1 and then select the          nodes attached to this area.

Utility Menu > Select > Entities

Select Areas from the pull-down menu          at the top. Make sure By Num/Pick is selected below that. Click Apply.

Hold down the left mouse button until face 1 is picked. Click OK in the pick menu.

Only the area corresponding to face 1 is selected currently. Verify this: Utility Menu > Plot > Areas.

Next we'll select the nodes attached to the selected area. In the _Select          Entities_ menu, select Nodes from          the pull-down menu at the top and Attached          to below that. Select Areas, All below that. Click Apply.

Check that only nodes attached to face 1 are currently selected: Utility          Menu > Plot > Nodes

h4. Apply v=0 on Face 1

Main Menu > Preprocessor > Loads >          Define Loads > Apply > Structural > Displacement > On Nodes

Pick All nodes in the pick menu.          Select UY for DOFs          to be constrained and click OK.          You'll see arrow symbols in the _Graphics_ window indicating that          the nodes on face 1 are constrained in the circumferential direction.


We can use _Pick All_ since only the nodes on face          1 are currently selected. ANSYS commands apply only to the currently selected          entities.

h4. Select Nodes Along AB

Plot lines: Utility Menu > Plot > Lines

In the _Select Entities_ menu, select Lines from the pull-down menu at the top and By          Num/Pick below that. Click Apply.

Click on line AB (L7) and OK in the          pick menu.

Next we'll select the nodes attached to the selected line. In the _Select          Entities_ menu, select Nodes from          the pull-down menu at the top and Attached          to below that. Select Lines, All below that. Click Apply.

Check that only nodes attached to line AB are currently selected: Utility          Menu > Plot > Nodes

h4. Apply w=0 Along AB

Main Menu > Preprocessor > Loads >          Define Loads > Apply > Structural > Displacement > On Nodes

Pick All nodes in the pick menu.          Select UZ for DOFs          to be constrained and click OK.

h4. Define Function

Recall that the BCs for face 2 are:
v=0.0001(r{~}c~\-r) at all face 2 nodes
w=0 along CD (line L5)

Since the BC on v is a function of the spatial coordinates, we need to          define a function to apply this BC. Bring up the function editor:

Utility Menu > Parameters > Functions          > Define/Edit...

You can enter the function using the calculator buttons or type it in.          The variables such as TIME, X, Y etc. that are available for defining          functions are in the pull-down list below the Result field. For entering the spatial coordinates _X_ and _Y_, use          the pull-down menu. Enter the function:

Result = 1e-4*(72.2e-3 - sqrt({X}^2+{Y}^2))

Note that variables are enclosed in squiggly brackets.

Save the function: Function Editor > File          > Save

Use vface2.func for the filename.

Close the function editor.

h4. Define Table from Function

ANSYS doesn't allow the user to use functions directly          while applying loads to a model. Instead, one has to go through the additional          step of using a "Function Loader" that retrieves the function          and loads it as a _Table_ array. The _Table_ array can then          be applied to the model. The process is not exactly elegant but then we          are engineers.

Utility Menu > Parameters > Functions          > Read From File

Select _vface2.func_ and click Open.

Enter vface2 for _Table          parameter name_.

Observe that ANSYS displays the equation that will be used in creating          the _Table_ array. Click OK.

h4. Select Nodes on Face 2

Start by selecting the whole model to undo previous selects.

Utility Menu > Select > Everything

Utility Menu > Plot > Areas

To select the nodes on face 2, we'll follow the same procedure as for          face 1.

Utility Menu > Select > Entities

Select Areas from the pull-down menu          at the top. Select By Num/Pick below          that. Click Apply.

Hold down the left mouse button until face 2 is picked. Click OK in the pick menu.

Only the area corresponding to face 2 is selected currently. Verify this: Utility Menu > Plot > Areas.

Next we'll select the nodes attached to the selected area. In the _Select          Entities_ menu, select Nodes from          the pull-down menu at the top and Attached          to below that. Select Areas, All below that. Click Apply.

Check that only nodes attached to face 2 are currently selected: Utility          Menu > Plot > Nodes

h4. Apply BC for v on Face 2

We'll use the _vface2_ table that we created to apply this BC.

Main Menu > Preprocessor > Loads >          Define Loads > Apply > Structural > Displacement > On Nodes

Pick All nodes in the pick menu.          Select UY for DOFs          to be constrained. Select _Existing table_ under Apply as and click OK.

We have defined only one table (_VFACE2_)          and that is automatically selected. Click OK.

You'll see arrow symbols in the _Graphics_ window indicating that          the nodes on face 2 are constrained in the circumferential direction.

h4. *Select* *Nodes Along CD*

Plot lines: Utility Menu > Plot > Lines

In the _Select Entities_ menu, select Lines from the pull-down menu at the top and By          Num/Pick below that. Click Apply.

Click on line CD (L5) and OK in the          pick menu.

Next we'll select the nodes attached to the selected line. In the _Select          Entities_ menu, select Nodes from          the pull-down menu at the top and Attached          to below that. Select Lines, All below that. Click Apply.

Check that only nodes attached to line CD are currently selected: Utility          Menu > Plot > Nodes

h4. Apply w=0 Along CD

Main Menu > Preprocessor > Loads >          Define Loads > Apply > Structural > Displacement > On Nodes

Pick All nodes in the pick menu.          Select UZ for DOFs          to be constrained. Select _Constant value_ under Apply as and click OK.

Utility Menu > Select > Everything

Utility Menu > Plot > Volumes

Save your work:*Toolbar > SAVE_DB*

Go to Step 7: Solve!