Download TRACE Plug-in Users Manual

Transcript
Setting this same property in vessel 26, axial cell 2, radial ring 3, azimuthal sector 4 would
use this command:
TRACE SETVALUE alp 26 2 3 4 0.773
Note the change in the number of integer parameters ('3' vs '2 3 4'). This distinction between
1D and 3D components is enforced by the batch interpreter and error messages will be issued
if too many or too few parameters are given.
TEE based component indexing does not include the phantom cell index. So for example, a
tee containing 3 main tube cells and 2 side tube cells will have 5 axial cell indexes, and 7
axial edge indexes. The following command will set the pressure of the first side tube cell of
component 101 to 1000.0 psi:
TRACE SETVALUE p 101 4 1000.0
To set the liquid velocity at the inlet side of the side tube to 10 ft/s, enter the following
command.
TRACE SETVALUE vl 101 5 10.0
• [value] - Either the floating point value to assign to the variable, or an Inline File argument.
Data values must be input in the models current units, SI or British.
An Inline File is intended as a way to place a larger, more strictly formatted set of data as
a single value argument. For the TRACE plug-in this capability is used by the control block
table CBFTAB. For CBFTAB the Inline File is the same load format input required by the
ASCII input deck for this table. For example, the following command would be used to replace
the current CBFTAB in control block -3 (type 102) with a 2x3x4 table:
TRACE SETVALUE
* cbtblx1* 1.0
* cbtblx2* 1.0
* cbtblx3* 1.0
* cbtbly * 8.0
* cbtbly * 8.0
* cbtbly * 8.0
* cbtbly * 8.0
* cbtbly * 8.0
.
cbftab -3 2 3 4 <
2.0s
2.0 3.0s
2.0 3.0 4.0s
8.0 8.0 8.0 8.0s
8.0 8.0 8.0 8.0s
8.0 8.0 8.0 8.0s
8.0 8.0 8.0 8.0s
8.0 8.0 8.0e
TRACE SETNUMERIC
[component] [indexes]
<Mn>
[numeric
name]
[variable]
This command is used to retrieve a variable value from a component and place it in a user defined
constant or variable in the same model. The syntax is identical to that of SETVALUE with the
exception of the numeric name argument, which contains the name of a user defined constant
or variable.
• <Mn> - An optional argument used to identify the model. Valid model labels are M0-M9.
• [numeric name] - The name of a user defined constant or variable. Note that if the name
includes spaces that it must be quoted in this batch command.
113
TRACE Plug-in User's Manual