HS-1025: Work with a HyperMesh and HyperMorph Model

Learn how to import size and shape variables to HyperStudy from HyperMesh.

Before you begin, copy the model files used in this tutorial from <hst.zip>/HS-1025/ to your working directory.
The input variables are three shape variables:
  • xtrans
  • ytrans
  • radius
Each of these shapes are created by perturbing the mesh in the corresponding direction by 1 unit.


Figure 1. Double Symmetric Plate Model


Figure 2. Double Symmetric Plate Model with Shape Vectors

Perform the Study Setup

  1. Start HyperStudy.
  2. Start a new study in the following ways:
    • From the menu bar, click File > New.
    • On the ribbon, click .
  3. In the Add Study dialog, enter a study name, select a location for the study, and click OK.
  4. Go to the Define Models step.
  5. Add a HyperMesh model.
    1. From the Directory, drag-and-drop the plate_with_shapes.hm into the work area.


      Figure 3.
    2. In the Solver input file column, enter plate.fem.
      This is the name of the solver input file HyperStudy writes during any evaluation.
    3. In the Solver execution script column, select OptiStruct (os).


      Figure 4.
  6. Click Import Variables.
  7. In the Model Parameters dialog, select parameters to import into HyperStudy.
    1. Select the thickness and shape variables.
      A total of 6 parameters should be selected.
    2. Click Add.
    3. Click OK.


    Figure 5.
  8. Go to the Define Input Variables step.
  9. Review the input variable's lower and upper bound ranges.

Perform Nominal Run

  1. Go to the Test Models step.
  2. Click Run Definition.
    An approaches/setup_1-def/ directory is created inside the study Directory. The approaches/setup_1-def/run__00001/m_1 directory contains the input file, which is the result of the nominal run.

Create and Evaluate Output Responses

In this step you will create output responses, Mass and Displacement.

  1. Go to the Define Output Responses step.
  2. Create the Mass output response.
    1. From the Directory, drag-and-drop the plate.out file, located in approaches/setup_1-def/run__00001/m_1, into the work area.


      Figure 6.
    2. In the File Assistant dialog, set the Reading technology to Altair® HyperWorks® and click Next.
    3. Select Single Item in a Time Series, then click Next.
    4. Define the following options, then click Next.
      • Set Type to Mass.
      • Set Request to Mass.
      • Set Component to Value.


      Figure 7.
    5. Label the output response Mass.
    6. Set Expression to First Element.
      Note: Because there is only a single value in this data source, [0] is inserted after m_1_ds_1, thereby choosing the first (and only) entry in the data source.
    7. Click Finish.


      Figure 8.
    The Mass output response is displayed in the work area.
  3. Create the Displacement output response.
    1. From the Directory, drag-and-drop the plate.h3d file, located in approaches/setup_1-def/run__00001/m_1, into the work area.
    2. In the File Assistant dialog, set the Reading technology to Altair® HyperWorks® and click Next.
    3. Select Single Item in a Time Series, then click Next.
    4. Define the following options, and then click Next.
      • Set Subcase to Subcase 1 (Load).
      • Set Type to Displacement (Grids).
      • Set Request to N298.
      • Set Component to MAG.
    5. Label the output response Displacement.
    6. Set Expression to First Element.
    7. Click Finish.
    The Displacement output response is added to the work area.
  4. Click Evaluate to extract the response values.