HS-1515: Use HyperView Results Math Integration for Output Response Extraction

Learn how to set up a study and add a model using HyperView Results Math to extract output responses.

Before you begin, copy the model files used in this tutorial from <hst.zip>/HS-1515/ to your working directory.
HyperView Results Math Integration enables you to write an .xml file which queries the solver input and output files and then extracts the output responses in HyperStudy. This route queries the result faster and is considerable faster way to extract output responses of a group of elements or nodes than “readsim” function.
Figure 1.

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 Parameterized File model.
    1. From the Directory, drag-and-drop the Beam_Parts_4k.tpl file into the work area.
      Note: The .xml file needs to be copied to each run directory. A new batch file will copy the .xml file to each directory, and then execute the OptiStruct job that needs to be registered.
      Figure 2.

    2. In the Solver Input File column, enter Beam_Parts_4k.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).
  6. Define a model dependency.
    1. Click Model Resources.
    2. Select Model 1(m_1).
    3. In the Model Resource dialog, click Resource Assistant > Add File.
    4. In the Select File dialog, navigate to your working directory and open the Beam_Parts_4k.xml file.
    5. Set Operation to Copy.
    6. Click Close.
    Figure 3.

  7. Click Import Variables.
    Two input variables are imported from the Beam_Parts_4k.tpl file.
  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 two output responses: Part 22 and Part 24.

  1. Go to the Define Output Responses step.
  2. Create the Part 22 output response.
    1. From the Directory, drag-and-drop the Beam_Parts_4k.xml 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® (ResultModule XML Reader) 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 = 1.33 deltaP.
      • Set Type to Part Stress (Part).
      • Set Request to Part 22.
      • Set Component to VM Max.
      Figure 4.

    5. Label the output response Part 22.
    6. Set Expression to First Element.
    7. Click Finish.
      Figure 5.

    The Part 22 output response is added to the work area.
  3. Create the Part 24 output response by repeating step 2.
    1. Change the Request to Part 24.
  4. Click Evaluate to extract the response values.