10.08.2013 Views

Code Manual for CONTAIN 2.0 - Federation of American Scientists

Code Manual for CONTAIN 2.0 - Federation of American Scientists

Code Manual for CONTAIN 2.0 - Federation of American Scientists

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

KEY 31.02 .03.0 OPTION2 OPTION1 EOI<br />

If n is equal to 3, the three required values are 1.0,<strong>2.0</strong>, and 3.0, and the indicated options have been<br />

invoked.<br />

The second example is the template <strong>for</strong> heat transfer structures, which gives the <strong>for</strong>mat to be used<br />

<strong>for</strong> specifying all <strong>of</strong> the heat transfer structures in a cell. (Only the template <strong>for</strong>mat is discussed here.<br />

The meanings <strong>of</strong> the keywords and values are discussed in Section 14.3.1.3.)<br />

***** ***** ****EU~******** ***E~~**********Em~ ****************<br />

STRUC<br />

EOI)<br />

(NAME=name TYPE=type SHAPE=shape<br />

NSLAB=nslab CHRLEN=chrlen<br />

[SLAREA=slarea] [CYLHT=cylht]<br />

[VUFAC=vufac]<br />

{TUNIF=tunif or TNODE=(tnode)}<br />

COMPOUND=(cname)<br />

X=(xvalue)<br />

***** ***** **** Em~***********Em~ **********Em~************ ****<br />

In this example three levels in the input hierarchy are represented. The keyword STRUC is at the<br />

fmt level, the EOI is at the second level, and all other quantities are at the third level. STRUC is the<br />

leading keyword <strong>for</strong> the sub-block at the first level, which encompasses all the quantities shown.<br />

The sub-block at the second level begins with NAME and ends with EOI. However, there is no<br />

leading keyword or variable <strong>for</strong> this sub-block, which actually begins with an indentation. The<br />

reason <strong>for</strong> the lack <strong>of</strong> a leading quantity is that the pairs <strong>of</strong> quantities connected by the equal signs<br />

at the third level are accepted by the code in any order, and there is no quantity that should be given<br />

frost. The freedom to specify these pairs in any order is indicated by their hierarchical position as<br />

sub-blocks at the third level and, there<strong>for</strong>e, according to the above rules, they maybe specified in<br />

any order. (The keyword STRUC is not the leading keyword <strong>for</strong> the sub-block at the second level<br />

because it is not repeated each time a new structure is specified; only the keywords beginning with<br />

NAME and ending with EOI are repeated. Note that the EOI does not terminate the entire block but<br />

each structure. Thus it is not placed at the fxst level. Also, the EOI should not be placed at the third<br />

level, because that would imply that it terminates one <strong>of</strong> the pairs <strong>of</strong> quantities, such as the “X=<br />

(xvalue)” input. However, according to the way the code is written, that is not its fimction. Thus,<br />

there is no ambiguity about where the EOI should be placed.)<br />

14.2 Global Level Irmut<br />

The global-level input block provides data which either is required by a global model or is common<br />

to all cells in the system being modeled. The first two blocks <strong>of</strong> duta in the global input must be the<br />

CONTROL and MATERIAL blocks, in that order. In the MATERIAL block, the keyword<br />

MATERIAL should be followed immediately by the COMPOUND sub-block and then by the<br />

USERDEF, FP-NAMES, or AERNAMES sub-blocks, if used. Other main input blocks may occur<br />

in any order.<br />

Rev O 14-9 6/30/97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!