This section provides information on System Coupling's built-in variables that can be used in expressions or Python scripts.
For information on the different categories of variables, see:
Solution variables are single-valued variables that define various solution settings for use in scripts and expressions.
Variable | Description |
---|---|
Iteration |
Description Provides access within an expression to the current coupling iteration of the coupled analysis.
Values Defines the coupling iteration using positive integer values within the range of
iterations defined for the analysis: Defaults to Example 0.5*force.x if Iteration == 1 else force.x |
Time |
Description Available only for transient analyses. Provides access within an expression to the current analysis time. Within a step, its value is the time at the end of the last completed coupling step — that is, it reflects the current time according to the time step size and time units defined for the analysis. For example, if the TimeStepSize setting is set to Values Defines the current time using values within the time range of the coupled analysis:
Defaults to the value of the TimeStepSize setting in the time unit defined for the analysis. Example 400 [K] if Time if < 1 [s] else temperature |
Step |
Description Available only for step-based coupled analyses. Provides access within an expression to the current coupling step of the coupled analysis. Values Defines the coupling step using positive integer values within the range of steps
defined for the analysis: Defaults to Example 400 [K] Step if < 1 else temperature |
PreviousTimestepSize |
Description Available only for transient step-based coupled analyses. Provides access within an expression to the time interval of the previous coupling step. Values Defines the length of the time step using values within the duration defined for the
analysis: Defaults to Example 400 [K] PreviousTimestepSize if < 1 [s] else temperature |
Region variables are field variables that define various region settings for use in scripts and expressions.
Variable | Description |
---|---|
Area |
Description Available only for transfers of element data from surfaces. That is, the source participant must have the following settings:
Provides access within an expression to the area of the region(s) corresponding to the source variable. Values Defines the area using real area values Example Force / Area |
Normal |
Description Available only for surface regions. Provides access within an expression to the normal vector for a specified variable surface. Values Defines the normal vector at each location of the region. The individual components may be accessed as Normal.x, Normal.y, and Normal.z. Example Force * Normal.y / 0.5 [m] |
Position |
Description Available only for vector regions Provides access within an expression to the position of the region(s) corresponding to the source variable. Coordinates are expressed as three Cartesian components which have either nodal or element centroids, depending on the topology of the data transfer region(s). Values Defines the position vector. The individual components may be accessed as Position.x, Position.y, and Position.z. Example Force * Position.x / 1 [m] |
Volume |
Description Available only for volume regions. Provides access within an expression to the volume of the region(s) corresponding to the source variable. Values Defines the area using real values Example Heat_Rate / Volume |