Example: DOE Using OptiStruct

In this example, you will learn how to perform a design of experiments (DOE) using the Design Explorer workflow.

Before you begin, copy the model used in this example from <HyperWorks Installation Directory>/tutorials/hwdesktop/hwx/ to your working directory.
  • bikeFrame.hm

Open the Model

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


Figure 1.

Create an Exploration

  1. From the Design Explorer ribbon, Exploration tool group, click the Create Explorations tool.


    Figure 2.
    The Explorations dialog opens.
  2. Click then select DOE.
  3. In the Study Path field, browse to and select the folder to store your DOE.


    Figure 3.
  4. From the Exploration tool group, click the Design Explorer tool.


    Figure 4.
    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.


    Figure 5.
  2. In the modeling window, select the blue seat_tube property and the orange down_tube property.
  3. In the microdialog, click Create.
    Two gauge design variables are created.


    Figure 6.

Create the Exploration Responses

  1. From the Design Explorer ribbon, click the Mass/Volume tool.


    Figure 7.
  2. On the guide bar, click .
    A mass response is created.
  3. Click the Disps. tool.


    Figure 8.
  4. In the modeling window, select the node where the crank load is applied.


    Figure 9.
  5. In the microdialog, click .
    An Entity Editor window appears.
    1. Change the response name to Crank.
    2. From the Response Component drop-down menu, select Z.
    3. Click Close.
    The displacement response is updated.
  6. On the guide bar, click .
  7. Select the node where the seat sits.


    Figure 10.
    A second displacement response is created.
  8. In the microdialog, click .
    An Entity Editor window appears.
    1. Change the response name to Seat.
    2. From the drop-down menu, select MAG.
    3. Click Close.
    The displacement response is updated.
  9. On the guide bar, click .
The DOE now consists of two design variables and three response variables.


Figure 11.

Evaluate the Exploration

  1. From the Design Exploration ribbon, Evaluate tool group, click the Evaluate tool.


    Figure 12.
    The Evaluate dialog opens.
  2. Click Export then click Run.
    The DOE is evaluated. In this case, there will be a nominal run plus four DOE runs.

    This may take a few minutes depending on your computer.

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


    Figure 13.

Review the Evaluation

  1. From the Design Explorer ribbon, Evaluate tool group, click the Results Explorer tool.


    Figure 14.
    The Results Explorer browser opens.
  2. Review the Summary table, which shows the input and response values for each run of the DOE.


    Figure 15.
  3. Right-click on any row in the Summary table and select Load Results.
    A HyperView window opens, and the results contour from the selected run is displayed.


    Figure 16.
  4. In the Results Explorer, click the Linear Effects button ().
  5. From the Select response drop-down menu, select Crank.
    The Linear Effects plot shows the relative contribution of each design variable on the crank displacement response.


    Figure 17.
    Note: Notice the negative correlation between the gauge design variables and the displacement response. This indicates that an increase in the gauge of the component will result in a corresponding decrease to the displacement response. In addition, the relative effect of a change to the down tube thickness will be greater than a similar change to the seat tube thickness.
    In addition, the effects contour is mapped onto the model itself in the graphics area for visualization.


    Figure 18.
    Note: This can be quite useful when dealing with a larger number of design variables.

    In the table as well as on the model, positive effects – indicating a positive relationship between the design variable and response – are shown in shades of blue, whereas negative effects – indicating an inverse relationship between the design variable and response – are shown in shades of brown.

  6. As an exercise, try creating a similar DOE where the gauge of every component is a design variable. Your DOE and reports should look something like the following (your actual values will vary, based on your specific design variable bounds choices).


    Figure 19.


    Figure 20.


    Figure 21.