Case03 Parameter with global expression

 

In Case02, we observe repeated use of Height+1. In cases where the occurrence of the same expression is frequent, we can alternatively define a global expression in the data file. In this example, we create a global expression block_height, defined as Height+1. Then, we can place multiple block_height under Nodal_data data structure. Note that the parameter names and expressions are case-insensitive. Also, underscore is used to represent space within parameter names and expressions.

 

Basic Set Up: Data File Description

 

The data file for the project is in : ParDef_001\Case03\Data. The key data structures relevant to the definition of parameter definition for the current example are:

Parameter_definition to define parameter names and values.

Global_loads to replace load value with parameter name "Load".

Nodal_data to replace coordinate points with parameter names "Length", "Height", "Block_width", and global expression "Block_height".

 

Click to expand/collapseParameter Definition
Click to expand/collapseGlobal Loads
Click to expand/collapseNodal Data

 

Click to expand/collapseResults