Introduction DX
Introduction DX
Introduction DX
An ANSYS Tutorial
Analysis model
Hook geometry
The model is provided as a DesignModeler file. Parametrization of the model is shown below.
DS_Angle: initial value is 130 DS_Thickness: initial value is 15mm (thickness in XY plane)
DS_Depth: initial value is 20mm (thickness in Z direction) DS_LowerRadius: initial value is 50mm
2009 ANSYS, Inc. All rights reserved.
Simulation environment
Hook is made of steel. Cylindrical support applied to restrict radial and axial motion. A 6000N force is applied downwards.
The mininum safety factor value is 0.54, indicating a failing design (yield stress is exceeded). Initial weight of the hook is 752 grams.
2009 ANSYS, Inc. All rights reserved.
Getting started
Start ANSYS Workbench 12.0 Insert a Static Structural (ANSYS) system in the schematics Right click on Geometry, select Import Geometry then Browse and select the hook2.agdb file. Select and double-click the hook2 item. Select Model, RMB then Edit (or double click) Note that the project page now contains a Parameter Set bar that holds the DM parameters
2009 ANSYS, Inc. All rights reserved.
(2)
(1)
10
Under Static Structural insert a cylindrical support and free the tangential degree of freedom (radial and axial should be fixed). The support is applied to the upper cylinder (1). Insert a force of -6000N in the Y direction (set the force definition to components). The force is applied on the small surface inside the hook (2). Under solution, insert Total deformation, Equivalent Stress and a Stress tool (make sure this one is set on Yield stress per material) (3). Solve the model (optional).
2009 ANSYS, Inc. All rights reserved.
(2)
(1)
(3)
(1)
(2) (3)
11
12
A note on parameters
ANSYS Workbench allows to create parameters from most of the items in the simulation tree: Material properties Contacts Loads Boundary conditions Results If you are using APDL code in the Mechanical Simulation Environment: the input arguments (arg0 to arg9) can be parameterized The output (for post-processing operations) can be exposed as output parameters
13
14
15
Principles
What is the Response Surface method: Based on the number of input parameters (ANSYS Workbench Simulation, CAD, etc.), a given number of solutions (design points) are required to build a response surface; A Design of Experiments, or DOE, method determines how many and which design points should be solved; Once the required solutions are complete a response surface is fitted through the results allowing designs to be queried where no hard solution exists. Rather than providing values for discrete sets of parameters, the Response Surface provides a continuous variation of the output quantities with respect to the input parameters.
16
We are going to perform the deterministic analysis of the hook for the following parameter ranges: DS_Thickness: 15mm to 25mm DS_Depth: 15mm to 25mm DS_LowerRadius: 45mm to 55mm DS_Angle: 120 to 150 We do not need to specify how many points are to be taken for each parameter: the DOE method will give us the necessary points. Also, after performing the analysis, we will be able to give an estimate of the output parameters for ANY value of the 4 parameters (between their min and max values).
17
Go back to the schematics page and insert a Response Surface cell from the Design Exploration Toolbox. Select Design of Experiments then set the upper and lower bounds of each input parameters RMB on Design of Experiments then select Update WB will start the simulation for the 25 points required in this example.
2009 ANSYS, Inc. All rights reserved.
18
Once the simulations have been performed, select the Response Surface then Update
19
Once the response surfaces have been built, several tools are available to investigate the model: Min/max search; Surface plots; XY plots; Sensitivities; Optimization and trade-off plots.
20
Min/Max search
In the schematics, insert a min/max search system( you may have to activate the beta options to see it). Drag it over the response surface cell. RMB on Min-Max Search then Update The min/max values give a first indication of the performance we can expect from our design.
From this table, we can read that the safety factor ranges from 0.36 to 2.08 and the mass from 517grams to 1469 grams. This indicates a pretty wide variation for both parameters. We need to further investigate to find interesting design points.
21
Responses
In the Outline of the Response surface, you will see a Response Points folder and a default Response point under it (usually the center of your design space) Each response point can be affected different charts: Spider chart to examine the value and variation of all output parameters on a single graph Local sensitivity to examine the weight of each parameter around the response point Response: 2D or 3D graph to represent the variation of one output with respect to one or two input parameters New response points can be added using the table. Charts are then introduced from the project pages Toolbox
2009 ANSYS, Inc. All rights reserved.
22
Select the Response point, then the Response chart. The variation of the first output parameter with the first input parameter is displayed (here, mass vs Thickness) Set the X axis or Y axis values to the variables to be represented. The cursors at the bottom of the Properties window allow to change the values of the input parameters that are not used in the chart
2009 ANSYS, Inc. All rights reserved.
23
Toggle the Mode option to 3D to get a response surface and set X, Y and Z axis. Use the mouse buttons to rotate or zoom on the surface Moving the mouse over the surface provide the actual value of X, Y and Z
24
Select the Response point, then the Sensitivity chart. The chart can be displayed as a bar or pie chart. It shows the local sensitivity of each output parameter to the input parameters Here, we see that the safety factor is mostly influenced by the thickness and depth of the hook, then by the lower radius angle has no effect on it. Thickness or depth increase will increase the safety factor, while the radius will lower it The mass is influenced by all parameters any increase of the parameters increases the mass.
25
26
Drag and drop a Goal Driven Optimization system from the toolbox over the response surface. A Goal driven optimization can also be inserted on the parameter set. However, since we already have computed a response surface, we will reuse it to perform the optimization task
27
RMB on Optimization, then select Edit In the table, set the optimization goals: Safety factor close to 1.1 set its importance to Higher Mass should be minimized In the properties, select Screening as optimization method with 1000 samples
2009 ANSYS, Inc. All rights reserved.
28
Candidate designs
Select Optimization in the schematics then RMB and Update or Update Optimization from the project page main menu Three candidate designs are now shown, with ratings (the more stars, the better!) . Candidate A is in this case the best choice, among the 1000 sampled points. Candidate B is slightly below 1.1, so we may not want to consider it.
2009 ANSYS, Inc. All rights reserved.
29
TradeOff plots A tradeOff plot is a representation of the sample set we used for the goal driven optimization. It can be a 3D or 2D view of input or output parameters versus other parameters. Usually, a 2D plot is more readable than a 3D plot. In our particular case, since we are looking at 2 output parameters at the same time, the 2D plot is better suited.
2009 ANSYS, Inc. All rights reserved.
30
TradeOff plots
In the outline, select Trade-off plot, then set X-Axis to Safety Factor Minimum (Yaxis should be mass) Under response and derived parameters, check only the mass and the safety factor. This graph provides a lot of information about the performance that can be achieved (mass is in kg) The colors indicate how good (blue)/how bad (red) the configurations are with respect to the design objectives (note the vertical blue line for a safety factor of 1.1).
2009 ANSYS, Inc. All rights reserved.
Feasible
The red-dotted contour shows the performance you can expect from your design. For example, a mass of 1 kg and a safety factor of 1.1 can be achieved, while a mass of 0.55 kg for the same safety level can not. You can not reach any point far outside of this contour.
31
You can reduce the number of samples displayed on the graph by moving the Pareto Front cursor in the properties of Outline The points that are removed first are the less adequate for our goals. Since we aim for a safety factor of 1.1, several points are located on the vertical line corresponding to this value.
32
The process that lead to candidate A is the following: Create the response surface; Sample 1000 random points on this surface; Sort the samples to find the one that best fulfills our goal. The values given for candidate A may not represent a design that can be manufactured. You may want to round the values of the dimensions to something that can be manufactured. To do so, go back to the optimization table, right click on Candidate A then insert as response point Select the response surface item in the schematics
33
ANSYS, Inc. Proprietary
Now change the values of the parameters to more acceptable ones. To do so, you may want to look at sensitivities or curves to know how much each of the changes will affect the mass or safety factor. Whenever you change a value, the mass and safety factor are automatically updated. In our case, and based on the knowledge previously acquired, we can select values as shown above (it even provides a slightly higher safety factor for a lower mass!)
34
It is recommended to have a final check with a full simulation of the model with the selected values so as to check the accuracy of the prediction. Select your modified response point, RMB then Insert as Design Point: the point will now appear in the projects Parameter set Select this point, then RMB and Update Selected design point: ANSYS Workbench will evaluate the response for the point, based on a full simulation
35
Final model
The table of design points now shows the updated values, which are in good agreement with the values predicted by the response surface: we can validate our new design
If we compare the new design and the one we started with, we have raised the safety factor from .54 to 1.1 and the mass has been reduced from 752 grams to 690 grams (-9%).
36
The response surface techniques used in DesignXplorer allow to work on a set of 5-10 input parameters at a time. Using more parameter will require much more simulations to provide a reasonable accuracy of the response surfaces. Always check your design candidates with a full simulation so as to remove the approximations due to the response surfaces.
37
Benefits: Using the deterministic analysis, we have been able to investigate the performance of the design over continuous ranges of the input parameters, using a limited number of simulations. From the response surface, we are able to identify the key parameters really influencing the design. Also, we have been able to identify several candidates for the final design. Using engineering practice helps then to choose the final one. The deterministic approach helps identify the performance that can be reached with the actual design (TradeOff plots)
2009 ANSYS, Inc. All rights reserved.
38