Boundary condition ID in expressions
This topic explains how boundary condition IDs are assigned and modified for streams, voids, convecting zones, and duct labels, including how to renumber or offset IDs for use in expressions.
This lesson may include hands-on exercises. Review the Discussion section for background information or click the button to proceed to the practical section.
Discussion
When you create streams, voids, and convecting zones, and duct labels, the software
assigns a numerical ID to the boundary condition. These IDs are used by thermal-flow
functions, such as STO, SMO, and others, to
reference boundary-condition results within expressions.
When you change the boundary condition ID number, the software automatically updates all the formulas for expressions that contain the numerical ID to reflect the new ID number.
For example, suppose a model contains a stream whose numerical ID is 23 and an
expression whose formula contains STO(23). If you change the
numerical ID of the stream to 35, the software automatically changes
STO(23) to STO(35) in the formula for the
expression.
To change the numerical ID of these boundary conditions, you can:
- Edit the numerical ID in the dialog box for the boundary condition.
- Use the Renumber and Offset options for changing ID numbers.
The following examples show how the numbering of the streams is changed depending on selected options.
If you select the Renumber option, and enter 11 in the From box, the stream ID numbers change as follows:
- Stream 3 → Stream 11
- Stream 1 → Stream 12
- Stream 4 → Stream 13
- Stream 2 → Stream 14
If you select the Offset option, and enter 11 in the By box, the stream ID numbers change as follows:
- Stream 3 → Stream 14
- Stream 1 → Stream 12
- Stream 4 → Stream 15
- Stream 2 → Stream 13
Hands-on material
To gain experience with the topics discussed here, complete the following:
