Design Modeler Evaluation Guide A Quick Tutorial: Ansys, Inc. March, 2005
Design Modeler Evaluation Guide A Quick Tutorial: Ansys, Inc. March, 2005
March, 2005
Agenda
Introduction Overview of the GUI Parametric Modeling Defeaturing and parametrizing an imported geometry Handling thin models Mid-Surfacing Slicing Internal volumes Enclosure
Introduction
You need about 4 hours to go through the entire tutorial. You might skip one part or the other, since they are independent. However, if you would like to have a broader understanding of the functionalities, we strongly encourage you to follow the full tutorial, especially the Parametric Modeling part.
Make sure you read the GUI overview since it defines a few required notions that will allow you to understand the explanations of each section.
All examples can be done with DesignModeler 9.0 except the mid-surface one (version 10.0)
GUI Overview
GUI Layout:
The menus and toolbars accept user input and commands Tool bars can be docked and re-sized to meet users preference
Mode Tabs
GUI Overview
Menus, Toolbars, Pull-down Lists Tree Pane
Status/Info Bar
2005 ANSYS, Inc. 7 ANSYS, Inc. Proprietary
Main Menu
Main menu:
File: basic file operations Create: 3D creation and modification tools Concept: Tools to create line and surface bodies Tools: global modeling operations, parameter management, program customization View: modify display settings. Help: access documentation
Toolbars
File management
Sketching Only
Selection filters/tools
Plane/Sketch Controls
Graphics controls
3D geometry tools
Documentation
10
Contents Tab
11
MMB
Free Rotation (shortcut)
RMB
Box Zoom (shortcut) Open context menus
12
Selecting
Selection Filters
Model features are identified by graphically picking them (selecting) using the left mouse button Feature selection is done by activating one of the selection filters (also from RMB)
New Selection Single/Box Selection 2D Points, PF Faces 2D Edges, Model Points, 3D Edges, Line Edges Vertices
Adjacent/Flood Select In select mode the cursor changes to reflect current selection filter (it will match the icon). Adjacent Select, selects surfaces or edges adjacent to the current selection. Adjacent Select will pick all model surfaces within a tangent tolerance of that surface or edge.
13
Selecting
Selection Filters
Selection filters can also be set via RMB on the Model View:
In Sketching Mode:
In Modeling Mode:
14
Selecting
Mouse Selection
Ctrl +
+
2005 ANSYS, Inc.
Paint Select - hold left mouse button then move (paint) mouse over entities to be selected
Hold
Note: To un-select all, click once in a blank area of the geometry window
15 ANSYS, Inc. Proprietary
Selecting
Selection Panes
Selection Panes allow selecting hidden geometry (lines, surfaces, etc.) after initial pick
Panes are color coded to match part colors (for assemblies) Multi-select techniques apply to selection panes as well
Initial mouse click Note, each plane represents an entity (surface, edge, etc) that an imaginary line would pass through starting from the initial mouse click location and proceeding into the screen in the normal viewing direction.
2005 ANSYS, Inc. 16 ANSYS, Inc. Proprietary
Selecting
Box Selection
The Selection Toolbar includes a Select Mode button allowing users to select items via Single Select or Box Select
Selection based on currently active filter Type of selection based on dragging direction:
Drag from left to right: items completely enclosed in the box are selected Drag from right to left: items completely and partially enclosed in the box are selected
Left to Right
Right to Left
Note the difference in the hash marks along the edges of the box to help you determine which box selection type will be performed.
17
Graphics Controls
Rotate Behavior (LMB): Cursor near center of graphics
screen = free rotations.
Cursor near top or side edge of graphics screen = rotations about X (top/bottom) or Y (left/right) axes.
18
Graphics Controls
Panning Zoom in/out Box Zoom Fit model to graphics screen Look At: select model feature (surface, line, etc.) then Look At. Model automatically orients normal to feature, centered at pick point.
19
Graphics Controls
While in Rotate, Pan, or Zoom mode:
Left click on model temporarily resets center of view and rotation at cursor location (identified by red dot). Left click in open area re-centers model and rotation center to centroid.
20
Context Menus
RMB Context Sensitive Menus appear:
Tree Object
Model View
Print Preview
Tree
Note: to delete a feature: highlight it on Tree, RMB >Delete, or <Delete> using keyboard
Sketch Dimensioning
2005 ANSYS, Inc. 21 ANSYS, Inc. Proprietary
Cursor Modes
22
Parametric Modeling
23
Workshop Overview In this workshop, the assembly shown on right will be enhanced. Basic DesignModeler functionality will be covered. The final design is shown on the right
24
25
Select ArmCopyPlane5 from the Tree. Select the New Plane icon to create a new plane based on the selected plane
In DesignModeler, new planes for creating sketches can be defined in a number of ways. In this example, the five arms have been created by copying and rotating previous planes by 60, then copying the arm sketch onto the planes.
Change Transform 1 (RMB) to Rotate about Y with the FD1, Value 1 as 60.
The newly-created plane will be renamed to ArmCopyPlane6 and rotated 60 degrees, as noted above.
when done.
After completing each action, use the Generate icon to have DesignModeler check and execute the new geometric definitions.
In the Details view of the newly-created plane, change the Plane name to ArmCopyPlane6.
26
DesignModeler will prompt for a Base Sketch to be used. Select ArmSketch from the Tree, under XYPlane. Click on Apply for Base Sketch to finish the selection.
As noted earlier, sketch instances cannot be modified directly. However, they can be translated, rotated, and scaled by changing definitions FD1 through FD6 in the Details view. For this exercise, no reorientation or rescaling of the sketch instance is necessary.
Click on Generate to apply the new definition. In the Details view, rename Sketch Instance to ArmSketchCopy6.
27
In the Details view, select Axis, then select the axis of rotation of the sketch which is parallel to the Global Y-Axis. Click on Apply. Then, change FD1, Angle (>0) to 30.
This provides the axis of revolution, and the amount of rotation is specified to be 30 degrees.
Click on Generate to complete the changes. In the Details view, change the Revolve name to ArmRevolve6
28
Because all parts are created in one database, freezing operations allow the user to specify whether resulting operations will be merged to the current geometry or created separately. Frozen bodies cannot be manipulated, so any further operations will result in new bodies being created. In the next steps, the bottom plate will be created from an extrusion of a sketch. To prevent the bottom and top plates from being merged into one body, the top plate will be frozen to prevent any further manipulation to it, and only the bottom plate will be an active body. Frozen bodies will be shown as translucent, although this can be toggled on/off under View menu > Show Frozen Bodies in Transparent Mode
29
30
31
Use the Dimensions: Edit and select the newlycreated dimension. In the Details view, rename the Diameter to INNERDIAM.
Renaming the sketch dimensions is not required, but it makes parameter or dimension assignment (shown later) much easier, if the items have descriptive names.
32
Click on Generate to create the Extrusion. In the Details view, rename the Extrude name to BaseBottomExtrude
33
Select XYPlane: BaseProfile sketch. Turn off the solid geometry and view normal to the sketch.
The BaseProfile sketch, used to create the top body, will be shown. Note that it is a cross-section sketch which was revolved about the Y-Axis. There is a dimension called INNERRADIUS that defines the inner radius of the center hole.
Turn the solid geometry display back on and select the Parameters icon from the toolbar. In the Parameter/Dimensions Assignment tab, type
BaseBottomPlane.INNERDIAM=2*XYPlane.INNERRADIUS in the
The dimension assignment is done by specifying the Parent name, then the dimension name. In this case, INNERRADIUS is from XYPLANE, and INNERDIAM is from the BaseBottomPlane. Hence, to make the diameter of one equal to twice the radius of the other, the above expression is entered in the Parameter window.
34
In the Details view, change the Extrude name to BaseBottomHoleCut. Change Operation to Cut Material and ensure that the Direction is set to Normal
Although considered an extrusion, the type of extrusion can be changed between adding or removing material. Adding a frozen body is also possible, as well as imprinting faces. The direction is selected as Normal, but it can be changed to be a given vector based on the normal of a selected surface or by vectors defined by selected edges or vertices.
Select To Surface for the Type of cut. For the target face, select the bottom-most face, as shown highlighted on the right.
Extrusions can be performed by specifying a distance or, in this example, by selecting a surface. If a surface is selected, this allows the cut to always be a certain depth, even if the thickness of the second body is changed.
35
Select the inner cut, as shown in the figure on the right (highlighted surface, indicated with an arrow). Select the New Plane button from the Toolbar. In the Details view, change the Plane name to BottomCutPlane1. Change Transform 1 (RMB) to Offset Z.
A new plane based on a selected surface will be created. This is an outline plane, similar to the one created earlier for the main extrusion of the LowerBase body
36
37
Enter sketching mode by selecting the Sketching tab in the Tree. Create a circle coincident with the origin (P autoconstraint symbol should be shown), then dimension the circle with a 7 inch diameter.
Entering sketch mode will automatically create a new sketch (if not previously defined) on the selected base plane (or surfaces). Creating and dimensioning a circle uses the same steps as done earlier in creating the main extrusion of LowerBase. If the P coincident-point auto-constraint is hard to differentiate with the C coincident-line auto-constraint, turn off the line select filter from the toolbar (circled on right). Then, only points (i.e., the origin) will be selectable, and the P auto-constraint will be easily generated.
38
Select the Extrude icon from the toolbar. In the Details view, rename the Extrude to BaseBottomCut2. Change Operation to Cut Material. Respecify the Direction to Reversed, with a fixed distance (FD1, Depth (>0)) of 0.3 inches. Click on Generate when done.
39
Select the Sketching tab to enter sketch mode. Create a circle with a P auto-constraint at the origin of the newly created BoltHeadPlane. Dimension this to make the diameter equal to 1.2 inches.
Recall that if the P auto-constraint symbol does not readily appear, change the selection filter to points only. This makes it easier to have the coincident point P autoconstraint, as only existing points are now selectable.
40
Hide the solid model geometry by toggling off the Display Model icon from the toolbar Select BoltHeadPlane and create a New Sketch. Rename this Sketch to BoltShaftSketch.
A new sketch to define the bolt shaft will be created
41
Open the Parameters window from the toolbar. Under Parameters/Dimension Assignments, enter
clearance compared with the hole. Click on the Check tab to verify the result of the dimension assignment, then click on the Close tab.
After specifying the dimension assignment, the BOLTSHAFTDIAM parameter will have a D next to it in the Details view, indicating that it is a driven dimension.
42
Re-enter Modeling mode by selecting the tab below the Tree. With BoltShaftSketch selected, click on the Extrude icon from the toolbar. In the Details view, change Extrude to BoltShaft. Specify the extrusion Direction as Reversed. For Type, change to To Surface. For the Target Face, select the bottom-most surface of LowerBase, as shown on the right. Click on Generate when done.
In this case, instead of creating an extrusion of a fixed distance, existing geometry is used as a reference point for the extrusion depth. In this way, if the depth of the TopBase or LowerBase bodies change, so, too, will the bolt shaft.
To copy the bolt, select Create menu > Body Operation In the Details view, change Type to Copy. For Bodies, select the newly-created bolt body. For Source Plane, select ArmCopyPlane1 from the Tree. For Target Plane, select ArmCopyPlane2. Click on Generate to create the new copy of the bolt.
Although ArmCopyPlane1 and ArmCopyPlane2 may not lie on the same plane as the bolt body, these two planes are rotated 60 from each other along the same axis of revolution. Hence, these two planes can be used as a way of copying the bolt body 60 to another hole location.
43
In the Tree, expand the 8 Parts, 8 Bodies menu and rename the bolts as Bolt1 through Bolt6
The resulting assembly should be similar to the one shown on right, with all bodies named accordingly
44
45
The model
Load the Design Modeler file DMQuickIntroDefeaturing.agdb
Start ANSYS Workbench Choose Empty Project Select Browse under Link to Geometry file Browse to DMQuickIntroDefeaturing.agdb Click Open Click Generate to refresh the model
This assembly is a Autodesk Inventor part which was attached in Design Modeler.
We will perform many operations on this part: Body Delete Face Delete Fill Bodies merging Face imprint 46
Model Import
We now explain how the model was imported in ANSYS Workbench This is just an information, not a step you have to perform.
Starting from the CAD system (Autodesk Inventor in this case), the user just goes to ANSYS 9.0 menu item and select Workbench
2005 ANSYS, Inc. 47 ANSYS, Inc. Proprietary
The geometry is shown under the Link to active CAD geometry item. Click on the file name
Finally create a New geometry based on the CAD part. Once Design Modeler has started, select the appropriate length unit and click the Generate button to import your model.
Note: if you start from a non-associative format (parasolid, sat, Catia), the starting point would be a Link to geometry file (dashed pink ellipse above) instead of the active CAD file. The next steps remain unchanged.
2005 ANSYS, Inc. 48 ANSYS, Inc. Proprietary
Steps to be performed 1. Remove body with Body operation 2. Remove holes with Face Delete 3. Remove fillets or chamfers with Face Delete 4. Move bodies with Body operation 5. Create a parametric feature with sketch and extrusion
49
Select Create->Body Operation Click on the four bodies marked with a cross on this picture (hold CTRL to select multiple bodies at the same time) Make sure the type option of the tool is set to Delete
Click Generate
50
Choose Create->Face Delete Select the inner holes faces as shown right (green highlighted) Click Apply in the tools options. Click Generate to get this
51
52
Another interesting feature of DM concerns the ability to merge parts that have coincident surfaces. Lets try on the yellow parts shown on the right Unfreeze the two parts (Tools>Unfreeze then select both parts Hold CTRL key for multiple parts selection) Make sure the Freeze others is set to yes
Click Generate
Both parts are now merged into a single one
53
54
Draw a circle on the surface as shown here. Go to dimensions, click on General then pick the circle. It automatically adds a diameter dimension to the model.
You can edit the value of the diameter in the option window.
Using horizontal and vertical dimensions let you parameterize the location of the circle based on the sketch main axis. The dimensions can then be changed as we did for the diameter.
55
Click the Extrude icon Set the options as shown. Make sure you select only the concerned body. Click generate. The top surface now has the imprint on it If you click on Sketch 2 under the Extrude object in the tree, the dimensions are shown in the options dialog. You can change the value of the dimensions and then update your model by clicking Generate
56
57
The model
Load the Design Modeler file DMQuickIntroThinModels.agdb
Start ANSYS Workbench Choose Empty Project Select Browse under Link to Geometry file Browse to DMQuickIntroThinModels.agdb Click Open
This assembly is a Autodesk Inventor part which was attached in Design Modeler.
58
Model thicknesses
13mm
5mm
6.5mm 10mm
2005 ANSYS, Inc. 59 ANSYS, Inc. Proprietary
61
Freeze the model (Tools>Freeze) Unfreeze the 3 plates with 6.5mm thickness (shown in solid on the picture) Pick one face of each solid Select the thin/surface Feature and set the options as shown Click generate
62
Freeze the model (Tools>Freeze) Unfreeze the tube with 5mm thickness (shown in solid on the picture) Pick the internal or external faces (you can pick one face and use the Extend Selection tools with Extend to limits)
63
64
Extending surfaces
We will now extend the surfaces to touch. Select the Surface Extension tool (Tools->Surface extension)
Target face
Pick the edge of the surface you want to extend as shown on the picture
Select the face to extend to (you could also specify a distance) Click generate
Select the edge to extend
65
66
67
Joining surfaces
If we stop at this stage and mesh the resulting surfaces, we get a mesh similar to the one shown on the right. There is no connection of any kind between the surfaces so all parts are mesh totally independent from each other. Using the Joint feature of Design Modeler will help solve this issue.
68
69
The mesh now shows the common boundaries (in green on the picture)
2005 ANSYS, Inc. 70 ANSYS, Inc. Proprietary
71
The model
Load the Design Modeler file DMQuickIntroMidSurface.agdb
Start ANSYS Workbench Choose Empty Project Select Browse under Link to Geometry file Browse to DMQuickIntroMidSurface.agdb Click Open
This assembly is a Autodesk Inventor part which was attached in Design Modeler.
We will transform this solid model into a thin model using the mid surfacing tool.
72
Set minimum threshold to 0.1mm and maximum threshold to 15 mm (doing this, you set the extreme values for detecting face pairs in other words, the minimum and maximum sheet thickness to work with)
Then select Yes for Find face pairs now
73
The 20 face pairs found are shown in blue. Now click on generate to extract the mid surfaces
2005 ANSYS, Inc. 74 ANSYS, Inc. Proprietary
First result
This extraction also returns a few non desired faces corresponding to the holes
75
76
Click each of the fillets near to the holes You have to remove 7 pairs (5 are shown here, the two missing are near the green circled one) Click Apply in the options then the Generate button
2005 ANSYS, Inc. 77 ANSYS, Inc. Proprietary
Final extraction
The undesired faces are now removed. If you go over the surface bodies in the tree, you will see that the thickness has automatically been affected to each of the bodies.
2005 ANSYS, Inc. 78 ANSYS, Inc. Proprietary
Surface extension and joining You now can extend and join the surfaces as shown in the previous tutorial. Instructions are not repeated here. Click on this link to get back to the previous tutorial
79
Slicing
80
The Model
Load the Design Modeler file DMQuickIntroSlicing.agdb
Start ANSYS Workbench Choose Empty Project Select Browse under Link to Geometry file Browse to DMQuickIntroSlicing.agdb Click Open
The goal of this tutorial is to show you how to use slicing in order to get a swept mesh of this part. The default mesh obtained on such a part is a tetra mesh as shown.
81
82
83
Slicing by plane
Now, the part will be sliced parallel to the XY plane, at two altitudes shown by the green faces on the top left picture. We will also slice it along the third green face perpendicular to the two first. To slice the part at this level, we need creating a plane corresponding to these faces. To do this, pick one of the face, then the Plane icon, then click Generate. The planes look like the right top picture. Once the three planes have been created, select the Slice tool (Create->Slice), set the options to Slice by plane. Select one of the plane as cutting plane. To do this, click on Base Plane, then choose the plane name in the construction tree then click Apply. Finally, Generate.
84
You now have 10 bodies that you can group into a new part. And the mesh is totally swept!
85
Internal volumes
86
The Model
Load the Design Modeler file DMQuickIntroInternalVolume. agdb
Start ANSYS Workbench Choose Empty Project Select Browse under Link to Geometry file Browse to DMQuickIntroInternalVolu me.agdb Click Open
The goal of this tutorial is to show you how to create the internal volume of an hollow body.
87
Filling a part
Select the Fill Tool (Tools->Fill).
Select all the internal faces of the body as shown here in green and click Apply. You must have 10 faces selected
Click Generate
You now have 2 bodies: the original one and the internal volume. You can delete the outer body (Create->Body Operation) Note that the outer body needs be frozen before creating the internal one.
88
Enclosures
89
The Model
Load the Design Modeler file DMQuickIntroIEnclosure.agdb
Start ANSYS Workbench Choose Empty Project Select Browse under Link to Geometry file Browse to DMQuickIntroEnclosure.agdb Click Open
The goal of this tutorial is to show you how to create an enclosure around this model. In this case, the goal is to create the air surrounding the motor for a electromagnetic simulation.
90