Structure for the design variable tuple = ("DesignVariable Name", "Value"). "DesignVariable Name" defines the reference name for the design variable being specified. This string will be used in the FEA input directly. The "Value" must be a JSON String dictionary (see Section JSON String Dictionary). In Nastran the DesignVariable Name will be the LABEL used in the DESVAR input. For this reason the user should keep the length of this input to a minimum number of characters, ideally 7 or less.
DESVAR ID LABEL XINIT XLB XUB DELXV DDVAL
JSON String Dictionary
If "Value" is JSON string dictionary (eg. "Value" = {"initialValue": 5.0, "upperBound": 10.0}) the following keywords ( = default values) may be used:
-
initialValue = 0.0
Initial value for the design variable.
-
lowerBound = 0.0
Lower bound for the design variable.
-
upperBound = 0.0
Upper bound for the design variable.
-
maxDelta = 0.5
Change fraction limit for the design variable.
-
discreteValue = 0.0
List of discrete values to use for the design variable (e.g. [0.0,1.0,1.5,3.0].
-
independentVariable = "(no default)"
Single or list of "DesignVariable Name"s (that is the Tuple name) used to create/designate a dependent design variable.
- independentValue = variableWeight[1] + variableWeight[2] * SUM{independentVariableWeight[i] * independentVariable[i]}
-
independentVariableWeight = 1.0 or [1.0, 1.0, ...]
Single or list of weighting constants with respect to the variables set for "independentVariable". If the length of this list doesn't match the length of the "independentVariable" list, the list is either truncated [ >length("independentVariable")] or expanded [ <length("independentVariable")] in which case the last weight is repeated.
-
variableWeight = [1.0, 1.0]
Weighting constants for a dependent variable - used if "independentVariable"(s) have been provided.