In this tutorial, you will learn how to perform an optimization using the Design Explorer workflow.

The model used for the optimization is a B-Pillar cut from a full car model. An initial velocity is applied to a rigid cylinder in the transverse (Y) direction.

The objective of the optimization is to minimize the mass of the B-Pillar while constraining the maximum displacement of a node on the inner panel to less than 19.7 mm.

Before you begin, copy the file(s) used in this tutorial to your working directory:

## Open the Model

1. Start HyperMesh.
2. From the menu bar, click File > Open > HyperMesh Model.
3. Browse to your working directory, select BPillar.hm, and click Open.
If prompted, click Change to change the solver interface to Radioss while opening the model.
A finite element model appears in the modeling window.

## Create an Exploration

1. From the Design Explorer ribbon, Exploration tool group, click the Create Explorations tool.
The Explorations dialog opens.
2. Click then select Optimization.
3. In the Study Path field, browse to and select the folder to store your optimization.
4. From the Exploration tool group, click the Design Explorer tool.
The Design Explorer browser opens. You can see the newly created optimization exploration. Additional exploration entities will appear here as well.

## Create the Exploration Inputs

1. From the Design Explorer ribbon, click the Gauge tool.
2. In the modeling window, select the green Inner property.
3. In the microdialog, click the drop-down on the left and select Bounds=, then set the upper bound to 0.5 and the lower bound to 3.0.
4. Click Create.
A gauge design variable is created.
5. On the guide bar, click .
6. Select the property Mid (ID 2000329) then click OK..
7. In the microdialog, click Create.
A second gauge design variable is created.
8. On the ribbon, hover over the Gauge tool then click the satellite icon .
The Review Inputs dialog opens.
9. Click the Details tab.
10. For the Mid_T design variable, modify the Lower Bound and Upper Bound to 0.5 and 3.0 respectively.

## Create the Exploration Responses

1. From the Design Explorer ribbon, click the Mass/Volume tool.
2. On the guide bar, click .
A mass response is created.
3. Click the Disps. tool.
4. On the guide bar, click .
5. In the Advanced Selection dialog,
1. Set the selection drop-down to By ID.
2. Type 2021524.
3. Click OK.
A displacement response is created.
6. In the microdialog, expand the options and select Y from the Response Component drop-down menu.
The displacement response is updated.
The optimization now consists of two design variables and two responses.

## Create the Objective and Constraint

1. From the Design Explorer ribbon, click the Objectives tool.
2. On the guide bar, click .
3. Select the Mass response then click OK.
The objective is created.
4. Click the Constraints tool.
5. On the guide bar, click .
6. Select the Displacement response then click OK.
The constraint is created.
7. In the microdialog, check the box next to Upper Bound and enter a value of 19.7.
The constraint is updated.

## Evaluate the Exploration

1. From the Design Exploration ribbon, Evaluate tool group, click the Evaluate tool.
The Evaluate dialog opens.
2. Change the Number of runs to 20.
3. Click Export then click Run.
The optimization is evaluated. In this case, there will be a nominal run plus 20 optimization runs.

This may take a few minutes depending on your computer.

When the evaluation is complete, the Evaluation Status dialog should look like the following.

## Review the Evaluation

1. From the Design Exploration ribbon, Evaluate tool group, click the Results Explorer tool.
The Results Explorer opens.
2. Review the Summary table, which shows the input, objective, and constraint values for each run of the optimization.

The values for the optimal thicknesses found from the optimization are indicated by a green background, and additional feasible designs are indicated as well. Orange font indicates that at least one constraint is nearly violated. Red font indicates runs with at least one violated constraint.

3. In the Results Explorer, click Iteration Plot.
4. In the Entity selection area, check the Mass_1 response.

Notice how the objective varied and was minimized during the optimization.