Introduction
You must define all the parameters you wish to use in an analysis by assigning a value to them. The Python language (Lutz, 1999) is used to perform parameter evaluation and substitution; hence, parameter definitions are required to follow the Python syntax rules discussed later in this section. These parameters can then be used in place of input quantities.
Input File Usage
Use the following option to define parameters:
PARAMETER
You must include the PARAMETER option in any file where you define parameters.
Use these parameters in place of input quantities by delimiting them with < >.
For example, the following input defines the two parameters
width
and height
, which are
then used to define beam section properties:
PARAMETER width = 2.5 height = width*2 BEAM SECTION, SECTION=RECT, ELSET=name, MATERIAL=name <width>, <height>
In this simple example models with beams of different cross-sections can be obtained simply by changing the values of the parameters.