Adding Variables

Define variables to create a parametric model.

A model is parametric when it is created using variable expressions. When a variable expression is modified, any items dependent on that variable are re-evaluated and automatically updated. It is the recommended construction method when creating a model, but not compulsory.

Defined variables are stored as part of the model in the .cfx file.

  1. Open the Create variable dialog using one of the following workflows:
    • On the Construct tab, in the Define group, click the  Variable icon. From the drop-down list, select the  Add variable icon.
    • On the model tree, a right-click context menu is available on Variables. From the drop-down list, select Add variable.


    • On the model tree, click the icon. From the drop-down list, select Add variable.


  2. Create the following variables:
    Name Expression
    freq_max 3e9
    freq_min 2.6e9
    lambda_min c0/freq_max*1000
    patch_d 33.2
    patch_w 46.8
    substrate_er 2.2
    substrate_h 2.87
    feed_dist 8.9
    feed_rad 1.3/2


    Tip:
    • Click Add to keep the Create variable dialog open and add more variables.
    • Click Create to add a variable and close the Create variable dialog.