HST-1535: HyperStudy Tutorial

HyperStudy tutorial.

Load Model in HyperMesh Desktop

In this step you will load the model.

  1. Start HyperMesh Desktop.
  2. In the User Profiles dialog, sett the user profile to HyperMesh, AcuSolve.
  3. From the menu bar, click File > Open > Model.
  4. In the Open Model dialog, open the pipe.hm file.
    A finite element model appears in the graphics area.


    Figure 1.

Set Up AcuSolve Case

  1. Create the material, Air_HM.
    1. In the Model Browser, right-click and select Create > Material from the context menu.
      A new material opens in the Entity Editor.
    2. For Name, enter Air_HM.
    3. Set Material type to FLUID.


    Figure 2.
  2. Create a second material named Water_HM, and set the Material type to FLUID.
  3. Modify the component, inflow.
    1. In the Model Browser, Component folder, click inflow.
      The Entity Editor opens and displays the component's corresponding data.
    2. For Type, select INFLOW.


    Figure 3.
  4. Change the Type for the components shown in the following table.
    Component Type
    outflow OUTFLOW
    wall WALL
    fluid FLUID
  5. Assign a material to the component, fluid.
    1. In the Model Browser, Components folder, click fluid.
      The Entity Editor opens and display's the component's corresponding data.
    2. For Material, click Unspecified >> Material.


      Figure 4.
    3. In the Select Material dialog, select Air_HM and then click OK.
  6. Modify the component, inflow.
    1. In the Model Browser, Components folder, click inflow.
      The Entity Editor opens and display's the component's corresponding data.
    2. For Inflow type, select Mass flux.
    3. For Mass flux ## (kg/sec), enter 0.0003.

Morph Model

  1. In the panel area, click HyperMorph > morph volumes.
  2. Create morph volume.
    1. Go to the create subpanel.
    2. Click elems (yellow entity selector) > all.
      All of the elements in the model are selected.


      Figure 5. Selected Elements
    3. Click create.


      Figure 6. Morph Volume
  3. Split morph volume.
    1. Go to the split/combine subpanel.
    2. In the graphics area, double-click on the edge of the model that is marked by a green cross in Figure 7.


      Figure 7. Morph Volume Split Edge
    3. Click split.
  4. Continue splitting the morph volume so that it resembles Figure 8.


    Figure 8. Morph Volume Split
  5. Update ends.
    1. Go to the update edges subpanel.
    2. Click the first arrow and select update ends.
    3. Click the third arrow and select main-secondary.
      Note: This options allows you to link any two edges together with a “main-secondary” relationship between two morph volumes.
    4. Define the main edge by clicking the first edge of the morph volume.
    5. Define the secondary edge by clicking the edge that touches the main edge.
  6. Repeat steps 5.d and 5.e for all of the edges until your model resembles the following image.
    Note: Verify that the yellow arrows are pointing in the correct direction along the edges.


    Figure 9. Updated Main-secondary Ends
  7. Click return to go back to the HyperMorph panel.
  8. Morph the model.
    1. In the panel area, click morph.
    2. Go to the move handles subpanel.
    3. Click the second arrow and select translate.
    4. Under translate, click the arrow and select along vector.
    5. Under along vector, set the orientation selector to y-axis.
    6. In the dist = field, enter 0.010.


      Figure 10. Settings for Move Handles Subpanel
    7. Click the handles selector.
    8. Select the four middle handles, highlighted in grey, in Figure 11.


      Figure 11. Middle Handles Selected
    9. Click morph.
      The grid is morphed.


      Figure 12. Morphed Grid
  9. Save shape.
    1. Go to the save shape subpanel.
    2. In the name= field, enter s1.
    3. Switch the first toggle from as handle perturbations to as node perturbations.
    4. Click save.
    5. In the window that appears, click Yes.
      Perturbations for nodes at global and morph volume handles are saved.
    6. Click undo all.


    Figure 13. Saved Shape
  10. Show/hide shape.
    1. In the Model Browser, right-click on the Shape folder and select Hide from the context menu.
      The shape, s1 is hidden.


      Figure 14. Shape Hidden
    2. Right-click on the Shape folder again and select Show from the context menu.
      The shape, sh1 reappears.


      Figure 15. Shape Displayed
  11. Remove temporary nodes.
    1. From the menu bar, click View > Browsers > HyperMesh > Utility.
    2. In the Utility browser, click Disp.
    3. Click Clear Temp Nodes.
  12. Create the design variable, bend.
    1. From the menu bar, click Design Study > Define DV.
    2. Go to the desvar subpanel.
    3. In the desvar = field, enter bend.
    4. Click shape =.
    5. Link a shape with the shape design variable by clicking s1.
    6. Click create.
  13. Click return.

Perform Study with HyperStudy Job Launcher

  1. On the CFD toolbar, click .
  2. In the HyperStudy Job Launcher, set up and launch the HyperStudy job.
    1. In the Study directory field, navigate to the location of your working directory.
      Tip: By default path will be the same directory in which the .hm file is saved. It is recommended that you create a separate folder for your study directory so that all of the files will be placed in that folder.
    2. In the No. of processors field, enter 2.
    3. In the Define Responses table, identify what the pressure change will be at inflow due to shape changes by setting Responses to Pressure and Components to inflow.
    4. Set Output format to H3D-Single file.
      Selecting H3D-Single file enables you to see how the pressure contours for each optimum design will look.
    5. Click Launch.


    Figure 16. HyperStudy Job Launcher
  3. In the dialog that opens asking if you would like to continue, click Yes.
    A nominal run is submitted, and acuProbe and acuTrail are launched to provide you with updated information about the run. Once the run is finished, HyperStudy opens and with the study setup completed.


    Figure 17. Study Setup
  4. Go through each step to ensure that everything was properly defined.
  5. Go to the Setup > Definition > Define Models step and verify that the resource file, solver input file, and solver execution script have been defined.
  6. Go to the Setup > Definition > Define Input Variables step and verify that the input variable you defined in HyperMesh Desktop has been imported.
  7. Go to the Setup > Definition > Define Output Responses step and verify that the output response is defined correctly.

Run DOE

  1. Add a DOE.
    1. In the Explorer, right-click and select Add from the context menu.
    2. In the Add dialog, select DOE and click OK.
  2. Go to the DOE 1 > Specifications step.
  3. In the work area, set the Mode to Full Factorial.
  4. Click the Levels tab.
  5. For bend, change Levels to 5.


    Figure 18.
  6. Click Apply.
  7. Go to the DOE 1 > Evaluate step.
  8. Click Evaluate Tasks.
  9. Click the Evaluation Data tab to view the optimization results of the five runs in a table.
    The table displays the results of the five runs for the output responses.
  10. Plot the results of the inflow_pressure output response of the five runs.
    1. Click the Evaluation Plot tab.
    2. Using the Channel selector, select inflow_pressure.


    Figure 19. Evaluation Plot
    The extreme left (bend = -1), middle (bend = 0) and extreme right (bend = 1) results correspond to the pipe shapes shown in Figure 20.


    Figure 20. Pipe Shapes
  11. Save the study.
    1. From the menu bar, click File > Save As.
    2. In the HyperStudy - Select location dialog, navigate to your working directory and save the study.
  12. The results of the DOE can be visualized by loading the corresponding *.h3d file from the run folder into HyperView.


    Figure 21. Contour Plot of DOE Results