The Expression Builder allows you to define an output response as a mathematical operation involving vectors (result values), input variables, previously defined output responses, and by extracting from an ASCII file. The Expression Builder consists of the following five tabs:
In the Evaluate expression field at the top of the Expression Builder, you can enter a mathematical expression that defines the response. The expression may reference variables, through their Varnames, that are defined in the Design Variables, Responses, File Sources, or Extracts tabs. The expression may also make use of any of the available functions and operators that are listed in the Functions tabs (see Functions and Operators). You can define and add new functions to the existing list of functions through the External Function feature available in the Edit menu. Function Examples
|
The Design Variables tab lists the input variables in the current study with their corresponding Varnames. To reference an input variable in the Response expression field, select the input variable and click Apply. Alternatively, the Varname can be entered manually in the response expression field.
|
The Responses tab lists the previously defined responses in the current study alongside their varnames. To reference a response in the Evaluate expression field, select the response and click Apply. Alternatively, the Varname can be entered manually in the Evaluate expression field. You can also use Templex statements, mathematical expressions, constants, and variables to create expressions for responses. Refer to the Templex Reference Guide for detailed information.
|
Use the File Sources tab to select result values in result files from solver runs. This process is facilitated through import templates and external readers, which are developed to interpret the format of a given solver output file. Templates and readers for the result files of a number of popular FEA solvers are registered by default. You may register additional templates and readers through the Import Templates and External Readers features available in the Edit menu. For a list of responses that support extraction in HyperStudy, see Result Extraction.
|
The ASCII Extracts tab is a parser for ASCII result files. Use the file browser to open the ASCII file. You can search for the location of the response in the ASCII file using a Keyword. With the left mouse button, highlight the number that you would like to define as a response, and then right-click and select Value. If you select the Keyword option, the position of the value will be determined relative to the keyword. This helps to deal with files of variable file length. If no keyword is used, the position of the value is determined with respect to the beginning of the file. You can also define keywords by highlighting a string and selecting Keyword from the right-click context sensitive menu.
|