HS-1615: Set Up a FEKO Model

Learn how to set up a FEKO model in HyperStudy.

Before you begin, copy the model files used in this tutorial from <hst.zip>/HS-1615/ to your working directory.

The model used in this tutorial is a waveguide transmission line that is being fed with a coaxial cable.

The effect of the cable’s pin position on input impedence is studied. When the impedence is reduced, this leads to improved power transmission.

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 FEKO model by dragging-and-dropping the waveguide_pin_feed_placement.cfx from the Directory into the work area.
    The Resource, Solver input file, and Solver input arguments fields become populated.

    Figure 1.
  6. Click Import Variables.
    Ten input variables are imported from the waveguide_pin_feed_placement.cfx file.
  7. Go to the Define Input Variables step.
  8. Review the input variables.

    Figure 2.

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.

  1. Go to the Define Output Responses step.
  2. Create output response 1.
    1. From the Directory, drag-and-drop the hst_output.hstp file, located in approaches/setup_1-def/run__00001/m_1, into the work area.
      The File Assistant dialog opens.
    2. Select Altair® HyperWorks® (HstReaderPdd) and click Next.
    3. Select Single Item in a Time Series and click Next.
    4. Define the following and click Next.
      • Set Type to Output.
      • Set Request to z_Imag.
      • Set Component to Value.

      Figure 3.
    5. Enter labels for the data source and output response.
    6. Set the output response Expression to Maximum.
    7. Click Finish.

      Figure 4.
    Output response 1 is added to the work area.
  3. Create output response 2 by repeating step 2.
    1. Set Request to z_Real.
  4. Click Evaluate to extract the response values.


  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 DOE 1 > Definition > Define Input Variables step.
  3. Deactivate all input variables except n.
    This tutorial is only studying the effects from the variation of the pin position index.
  4. Go to the DOE 1 > Specifications step.
  5. In the work area, set the Mode to Hammersley.
  6. In the Settings tab, change the Number of runs to 21.

    Figure 5.
  7. Click Apply.
  8. Go to the DOE 1 > Evaluate step.
  9. Click Evaluate Tasks to execute all 21 runs.

Run Fit

  1. Add a Fit.
    1. In the Explorer, right-click and select Add from the context menu.
    2. In the Add dialog, select Fit and click OK.
  2. Go to the Fit 1 > Select Matrices step.
  3. Import matrix.
    1. Click Add Matrix.
    2. In the Matrix Source column, select DOE 1 (doe_1).
    3. Click Import Matrix.

    Figure 6.
  4. Go to the Fit 1 > Specifications step.
  5. In the work area, Fit Type column, select Radial Basis Function for both output responses.

    Figure 7.
  6. Click Apply.
  7. Go to the Fit 1 > Evaluate step.
  8. Click Evaluate Tasks.
  9. Go to the Fit 1 > Post-Processing step.
  10. Plot the response surface.
    1. Click the Trade-Off tab.
    2. Using the Channel selector, select both output responses.
    3. From the Inputs section, select the X Axis checkbox.
    4. From the Output Plots section, select (Multiplot).

    Figure 8.