ANSYS ED Workbench Tutorial

Dimensions And Parameters

© 2006 ANSYS, Inc. All rights reserved.

1

ANSYS, Inc. Proprietary

Welcome

• Now that you have completed Exercise 1, you should be familiar with the basic methods, tools and concepts that comprise the ANSYS Workbench. Let’s begin Exercise 2.

© 2006 ANSYS, Inc. All rights reserved.

2

ANSYS, Inc. Proprietary

Using Parametrics • The methods taught in this tutorial apply equally well to both attached parametric CAD and DesignModeler files. • For the purposes of this tutorial we will be using the DesignModeler file produced in Exercise 1 of this tutorial. • When using attached CAD systems dimensions and parameters would be defined in your CAD models.

© 2006 ANSYS, Inc. All rights reserved.

3

ANSYS, Inc. Proprietary

Exercise 2 - Outline •

Dimensioning and Parameters 1. Dimensioning your model 2. Dimension naming and display 3. Exporting parameters 4. Using parametric equations 5. Defining the Environment and Solution 6. Examining Results 7. Making Parametric Changes

© 2006 ANSYS, Inc. All rights reserved.

4

ANSYS, Inc. Proprietary

Getting Started

If you are starting Exercise 2 without previously completing Exercise 1 copy the following files to a local working directory …\ANSYS ED Tutorial\Samples\Exercise1.wbdb …\ANSYS ED Tutorial\Samples\Exercise1.agdb …\ANSYS ED Tutorial\Samples\Exercise1.dsdb …\ANSYS ED Tutorial\Samples\Exercise1.eddb Then Click Here

© 2006 ANSYS, Inc. All rights reserved.

5

ANSYS, Inc. Proprietary

Opening Exercise1 files If you previously saved Exercise1 in ANSYS ED you can open your previous project from the ANSYS Workbench Start Page Make sure that the Open: pulldown is set to “Workbench Projects” then left mouse click on Exercise1

If Exercise1 is not in your list you will need to Browse for the Project in the directory you copied the sample files to © 2006 ANSYS, Inc. All rights reserved.

6

ANSYS, Inc. Proprietary

The Project Page

1. Left click on the Exercise1 DesignModeler Geometry 2. Left click on Open copy Note: You should now be on the Project Page with the contents as shown above © 2006 ANSYS, Inc. All rights reserved.

7

ANSYS, Inc. Proprietary

Step 1A – Opening your sketch

1. Expand the XYPlane in the Tree Outline and select Sketch 1

2. Turn off the 3D model display

3. Select the Sketch Mode

© 2006 ANSYS, Inc. All rights reserved.

8

ANSYS, Inc. Proprietary

Dealing with Over Constraints • What is an Over Constraint? – When you dimension your model you are defining rules as to how your model will change when the dimension or its associated parameter is modified. – An “Over Constraint” where more than one rule or dimension are trying to change or control the same geometry. • As you proceed with dimensioning, you may on equation over constrain your model. • You will need to delete one of the two offending constraints (dimensions or rules) when this occurs.

© 2006 ANSYS, Inc. All rights reserved.

9

ANSYS, Inc. Proprietary

Deleting Unwanted Dimensions If you create a dimension that you do not want in this exercise

1. Select “Modify” from the Sketching Toolbox 2. Select the Dimension to be deleted

3. Hit the “Delete” key on the keyboard © 2006 ANSYS, Inc. All rights reserved.

10

ANSYS, Inc. Proprietary

Step 1B - Dimensioning 3. Select each line to be dimensioned and holding the left mouse button drag the dimension to a desired location

1. Select “Dimensions” from the Sketching Toolbox 2. Select “General”

© 2006 ANSYS, Inc. All rights reserved.

11

ANSYS, Inc. Proprietary

Step 1C - Dimensioning

1. Select “Horizontal” 3. Drag and drop the dimension

2. Select the vertical axis and an edge

© 2006 ANSYS, Inc. All rights reserved.

12

ANSYS, Inc. Proprietary

Step 1D - Dimensioning

1. Select “Vertical” 3. Drag and drop the dimension

2. Select the horizontal axis and an edge

© 2006 ANSYS, Inc. All rights reserved.

13

ANSYS, Inc. Proprietary

Step 2A – Displaying Dimensions

In the “Dimensions” tools select both Name and Value

It is often desirable to be able to view both dimension names and values © 2006 ANSYS, Inc. All rights reserved.

14

ANSYS, Inc. Proprietary

Step 2B – Locating Dimensions

2. Using the left mouse button drag and drop dimensions to new locations for clarity

1. In the “Dimensions” tools select Move

© 2006 ANSYS, Inc. All rights reserved.

15

ANSYS, Inc. Proprietary

Step 2C – Editing Dimensions 2. Drag over and select the dimension to be modified

1. Select “Edit” from the Dimensions tools

© 2006 ANSYS, Inc. All rights reserved.

16

ANSYS, Inc. Proprietary

Step 2D – Examine Details

Note the Details view now contains your dimension detail

We are going to select and modify the name and values of our each of our dimension by selecting and changing the details to those shown on the next page

© 2006 ANSYS, Inc. All rights reserved.

17

ANSYS, Inc. Proprietary

Step 2E – Edit 4 Dimensions Note: Leave the values of the X and Y offsets unchanged

Note the edited values • You will need to repeat the edit operation for each dimension

Select left mouse click and enter each dimensions name and value

© 2006 ANSYS, Inc. All rights reserved.

18

ANSYS, Inc. Proprietary

Step 3A – Exporting Parameters

1. Select and return to draw mode

Note: The check boxes that control the export of parameters

2. Scroll through your sketch details and locate your dimensions

© 2006 ANSYS, Inc. All rights reserved.

19

ANSYS, Inc. Proprietary

Step 3B – Naming Parameters 1. Select the check box on a dimension

© 2006 ANSYS, Inc. All rights reserved.

2. A dialog will appear 3. For the purposes of this exercise remove the “XYPlane.” prefix from the name and click “OK” Note when you click “OK” a “D” shows up in the check box indicating a parameter 20

Note you will need to define and export each of your dimensions as parameters

ANSYS, Inc. Proprietary

Step 3C – Verify Export

Select and return to Modeling Mode

Verify that all of your parameters have been exported (Note the “D” annotations)

© 2006 ANSYS, Inc. All rights reserved.

21

ANSYS, Inc. Proprietary

Step 3D – Export 3D Parameters

1. Select the Extrusion from the Tree Outline 2. Scroll and find the Extrusion Depth in the Details View and select the check box

3. Change the parameter name to “Thickness” and click “OK” © 2006 ANSYS, Inc. All rights reserved.

22

ANSYS, Inc. Proprietary

Step 4A – Using Parameters

1. Select Parameters from the toolbar

Note the appearance of the Parameter Manager 2. Select “Parameter/Dimension Assignments”

© 2006 ANSYS, Inc. All rights reserved.

23

ANSYS, Inc. Proprietary

Step 4B – Using Equations

1. Change the equations above to the equation below setting the offsets of our plate from the XY Origin 2. Select “Check” to verify your equation syntax

© 2006 ANSYS, Inc. All rights reserved.

24

ANSYS, Inc. Proprietary

Step 4C – Validate Equations

1. Validate your inputs and syntax

© 2006 ANSYS, Inc. All rights reserved.

25

2. Close the Parameter Manager ANSYS, Inc. Proprietary

Step 4D – Update the Model 4. Select the project folder tab to return to the Project 2. Select “Generate” to update your model 1. Note that the extrusion is out of date (lightning bolts) 3. Note that your sketch has been updated based on your equations

© 2006 ANSYS, Inc. All rights reserved.

26

ANSYS, Inc. Proprietary

Step 4E – Naming Models

1. Select the DesignModeler name using the left mouse button 2. Select the name again with the left mouse button 3. Rename the model to “Exercise2” © 2006 ANSYS, Inc. All rights reserved.

27

ANSYS, Inc. Proprietary

Step 4F – Geometry Options Note that attributes, Named selections and Material properties are not selected 1. Make sure the DesignModeler Exercise2 is selected 2. If the “Default Geometry Options” are not visible select the title bar to expand the visible options Note that prefix filters have been defined to limit parameter input and exchange © 2006 ANSYS, Inc. All rights reserved.

28

ANSYS, Inc. Proprietary

Step 4G – Setting Filters

3. Select “Tools>Options”

1. Select “Attributes”, “Named selections” and “Material Properties” 2. Delete (blank out) filters

© 2006 ANSYS, Inc. All rights reserved.

29

ANSYS, Inc. Proprietary

Step 4H – Filtering Options

Note: Defaults for these options can be set using the “Options” menu in the ANSYS Workbench

To get to the options select “Tools>Options” in the Menubar © 2006 ANSYS, Inc. All rights reserved.

30

ANSYS, Inc. Proprietary

Step 5A – Start a Simulation

1. Verify that the geometry for Exercise 2 is selected

2. Select (start) a “New Simulation”

© 2006 ANSYS, Inc. All rights reserved.

31

ANSYS, Inc. Proprietary

Step 5B – Your New Simulation

Note that you new Model has been added to your existing Project Simulation

© 2006 ANSYS, Inc. All rights reserved.

32

ANSYS, Inc. Proprietary

Step 5C – Renaming Models

Using a right mouse click select your Models. Than select rename and rename your models as shown

© 2006 ANSYS, Inc. All rights reserved.

33

ANSYS, Inc. Proprietary

Step 5D – Copying Simulations

Copy your Environment and Solution options to your new Simulation by using the shift key to select multiple items. Then use a right mouse click to copy the items and paste them into your new Environment and Solution

© 2006 ANSYS, Inc. All rights reserved.

34

ANSYS, Inc. Proprietary

Step 5C – Setting the Mesh

1. Select the Mesh

2. Set the Mesh Relevance to -100

© 2006 ANSYS, Inc. All rights reserved.

35

ANSYS, Inc. Proprietary

Step 5D – Reselecting Targets

Note: Question marks and lightning bolts indicate that Simulations have not been run or are out of date. The use of Named Selections to enhance these capabilities are covered in the next tutorial

© 2006 ANSYS, Inc. All rights reserved.

36

ANSYS, Inc. Proprietary

Step 5E – Reselect Geometry

Select “Fixed Support’ In the Outline Note that because our model is new no geometry selections exist

© 2006 ANSYS, Inc. All rights reserved.

37

ANSYS, Inc. Proprietary

Step 5F – Redefining Constraints

1. Select Geometry 2. Using techniques used in Exercise 1 select the faces to be supported 3. Select Apply

© 2006 ANSYS, Inc. All rights reserved.

38

ANSYS, Inc. Proprietary

Step 5F – (continued)

2. Select “Pressure” and then geometry

1. Verify that you have selected all four faces

© 2006 ANSYS, Inc. All rights reserved.

39

ANSYS, Inc. Proprietary

Step 5G – Refining Loads

Note: Again we need to reselect geometry in our new model

© 2006 ANSYS, Inc. All rights reserved.

40

ANSYS, Inc. Proprietary

Step 5G – (continued)

1. Again select “Geometry”

3. Select apply and validate inputs

2. Select the face on which the geometry is to be applied © 2006 ANSYS, Inc. All rights reserved.

41

ANSYS, Inc. Proprietary

Step 6A – Generating Results

Select Solve

Note that only lightning bolts remain in the outline

© 2006 ANSYS, Inc. All rights reserved.

42

ANSYS, Inc. Proprietary

Step 6B – Reviewing Results

Feel free at this point to review your results (If needed review Exercise 1 in the ANSYS ED General Tutorial) © 2006 ANSYS, Inc. All rights reserved.

43

ANSYS, Inc. Proprietary

Step 7A – Using Parameters

1. Return to the Modeler by selecting the folder tab

2. Open Parameters

3. Change the length of the plate to 120 4. Close the Parameter Manager

© 2006 ANSYS, Inc. All rights reserved.

44

ANSYS, Inc. Proprietary

Step 7E – Updating Geometry

2. Select “Update Use Geometry Parameters”

1. Select your new Exercise 2 Model

© 2006 ANSYS, Inc. All rights reserved.

45

ANSYS, Inc. Proprietary

Step 7F – Updating Solutions

Note your new Model and the Width to Length Ratio

Select Solve

Note the Solution (lightening bolts)

© 2006 ANSYS, Inc. All rights reserved.

46

ANSYS, Inc. Proprietary

Step 7G – Reviewing Results

2. Select the folder tab to return to the DesignModeler

© 2006 ANSYS, Inc. All rights reserved.

1. Review your results as you wish based on methods covered in Exercise 1

47

ANSYS, Inc. Proprietary

Step 7H – Making Changes

4. Select “Generate” to update the model

2. Change the Width to 180

1. Open the Parameter Manager

3. Select “Close”

© 2006 ANSYS, Inc. All rights reserved.

48

ANSYS, Inc. Proprietary

Step 7J – Updating Solutions

Select the Simulation folder tab to return to your Simulation

© 2006 ANSYS, Inc. All rights reserved.

49

ANSYS, Inc. Proprietary

Step 7K – Updating Geometry

2. Select Update from Geometry

1. Select your Exercise 2 Model Geometry

© 2006 ANSYS, Inc. All rights reserved.

50

ANSYS, Inc. Proprietary

Step 7L – Updating Solutions

Select “Solve”

Note that: Your model has been updated Your loads and constraints are in place A new “Solve” is required © 2006 ANSYS, Inc. All rights reserved.

51

ANSYS, Inc. Proprietary

Step 7M – Reviewing Results

2. Select the “Project” folder tab to return to the Project Page

1. Review your results

© 2006 ANSYS, Inc. All rights reserved.

52

ANSYS, Inc. Proprietary

Step 7N – Saving Results

1. Select “Save All”

2. Select “Exit” to close the ANSYS Workbench

© 2006 ANSYS, Inc. All rights reserved.

53

ANSYS, Inc. Proprietary

When saving files • Note that every ANSYS Workbench Project contains only one “.dsdb” file but multiple “.agdb” files if models are copied. – This is because • Each DesignModeler file holds in parameters as unique

– While • Models are combined in the Simulation to allow the cloning, copying or sharing of loads, supports, etc…

© 2006 ANSYS, Inc. All rights reserved.

54

ANSYS, Inc. Proprietary

Working with CAD systems • Remember:

– Parameters and parameter updates work equally well when using the Workbench with active parametric CAD systems

© 2006 ANSYS, Inc. All rights reserved.

55

ANSYS, Inc. Proprietary

Congratulations • You have completed Exercise 2 of the ANSYS ED Workbench Tutorial • Click here if you wish to continue with the next exercise

© 2006 ANSYS, Inc. All rights reserved.

56

ANSYS, Inc. Proprietary