You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 50 Next »

Input & Output Parameters

To set up the input and output parameters for a geometry created in Workbench, simply follow the steps below. To set up parameters for a geometry created in Solidworks, follow the instructions here

Design Variables: Hole Radius

The radius of the hole needs to be declared a design variable. In order to do so first, open the Design Modeler by double-clicking on   from the Project Schematic window. Then expand XYPlane. Next, highlight Sketch1.

Now, check the box to the left of "R3", which will be in the "Dimensions: 3" part of the "Details View" table. When you check the box an uppercase "D" will appear within the box and you will be asked what to call the parameter. Call the parameter "DS_R".

The Design Modeler can now be closed.

Objective Function: Minimize Volume (& Mass)

This particular optimization problem has two output parameters: the volume of the quarter plate and the maximum Von Mises stress. In order to specify the volume output parameters, first (Open) Mechanical > (Expand) Geometry > (Highlight) Surface Body. In the "Details of "Surface Body"" table expand Properties then check the box to the left of Volume. A "P" should now be located within the box. 

Additionally, if mass is also a desired parameter, check the box to the left of Mass.

Constraints: Maximum Von Mises Stress < 32.5 ksi 

Now, the maximum Von Mises Stress will be specified as an output parameter. In order to do so, (Expand) Solution > (Highlight) Equivalent Stress. In the "Details of "Equivalent Stress"" window, underneath Results, check the box to the left of Maximum. Once again a "P" should appear to the left of the box to illustrate to the user that the maximum Von Mises stress has been designated as an output parameter.



At this point the Mechanical window can be closed and you should save the project.

Let's review the input and output parameters that will be used in the optimization process. In the main Project Schematic window, double click on Parameter Set.

After doing so, we can see that DS_R is the input parameter, and the volume and max. value of the von Mises Stress are the output parameters. Now, return to the main window by clicking on the Project tab, or in older versions by selecting Return to Project.

 

Note: Make sure your parameters are using the correct units! If they are not, you will need to go back into Mechanical and change the units before unchecking and rechecking the box next to the parameters of interest. This should reset the units on the parameters in the Parameter Set window, but beware that this may cause the entire optimization process to need updated and repeated.

 

Go to Step 4: Design of Experiments

Go to all ANSYS Learning Modules

  • No labels