{include: ANSYS 12 - Plate With a Hole Optimization - Panel}
{include: ANSYS Google Analytics}

h2. 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*|ANSYS 12 - Plate With a Hole Optimization - Parameter Setup in Solidworks]

h4. Input Parameters: Hole Radius

The radius of the hole needs to be declared a design variable.  In order to do so first, open the {color:#990099}{*}{_}Design Modeler{_}{*}{color} from the Project Schematic window. Then expand {color:#990099}{*}{_}XYPlane{_}{*}{color}.  Next, highlight {color:#990099}{*}{_}Sketch1{_}{*}{color}. 

!tree outline.PNG!

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".  

!DS_R.PNG!

The {color:#990099}{*}{_}Design Modeler{_}{*}{color} can now be closed.

h4. Objective Function: Minimize Volume  

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 {color:#990099}{*}_(Open) Mechanical > (Expand) Geometry > (Highlight) Surface Body{_}{*}{color}. In the "Details of "Surface Body"" table expand {color:#990099}{*}{_}Properties{_}{*}{color} then check the box to the left of {color:#990099}{*}{_}Volume{_}{*}{color}.  A "P" should now be located within the box. 

!volume parameter.PNG!

h4. Constraints: Maximum Von Mises Stress {latex}$\le${latex} 32.5 ksi

Now, the maximum Von Mises Stress will be specified as an output parameter. In order to do so, {color:#990099}{*}_(Expand) Solution > (Highlight) Equivalent Stress{_}{*}{color}. In the "Details of "Equivalent Stress"" window, underneath {color:#990099}{*}{_}Results{_}{*}{color}, check the box to the left of {color:#990099}{*}{_}Maximum{_}{*}{color}. 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.

!stress parameter.PNG|width=350!

\\
\\
At this point the {color:#990099}{*}{_}Mechanical{_}{*}{color} 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 {color:#990099}{*}{_}Parameter Set{_}{*}{color}.  

!parameter set.PNG|border=1,width=350!

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 selecting {color:#990099}{*}{_}Return to Project{_}{*}{color}.

!return to project in toolbar.PNG|width=350!

\\

[*Go to Step 4: Design of Experiments*|ANSYS 12 - Plate With a Hole Optimization - Design of Experiments]

[See and rate the complete Learning Module|ANSYS 12 - Plate With a Hole Optimization - Problem Specification]

[Go to all ANSYS Learning Modules|ANSYS Learning Modules]