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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

For purposes <strong>of</strong> the present discussion, two types <strong>of</strong> interfaces and repositories are defined: internal<br />

and external. Internal interfaces are those that connect internal repositories, which are defined as *’<br />

ones that consistently utilize the <strong>CONTAIN</strong> set <strong>of</strong> materials and thermodynamic fimctions. External<br />

interfaces are those that connect an internal repository with either an external source, external<br />

repository, or external boundary condition. A repository is defined as external when it is<br />

incompatible with the internal repositories with respect to the set <strong>of</strong> materials or thermodynamic<br />

functions used. Such repositories are typically the result <strong>of</strong> importing codes with similar but<br />

incompatible representations into <strong>CONTAIN</strong>. In the present scheme, mass and energy accounting<br />

is done only <strong>for</strong> the internal repositories. The heat and mass fluxes from the external repositories<br />

are treated as if they were external sources applied to the internal repositories.<br />

By design, certain <strong>CONTAIN</strong> internal interfaces are treated as nonconservative with respect to the<br />

energy loaded into the standard interface arrays (even when the potential energy change is<br />

considered). In general, an internal interface should be conservative unless a good reason exists <strong>for</strong><br />

a nonconservative one. One reason <strong>for</strong> a “nonconservative” interface is to compensate <strong>for</strong> the effect<br />

<strong>of</strong> considering the coolant to have a ftite volume in some repositories, such as the pool, but not in<br />

others, such as structures. An example is the interface <strong>for</strong> coolant film overflow from structures into<br />

pools. Since displacement effects on the atmosphere by a coolant film are ignored, but those <strong>of</strong> a<br />

pool are considered, the new pressure term in the enthalpy (see Equation (3-3) or (3-8)), which<br />

should in general be present in the liquid water enthalpy transferred from the film to pool on<br />

overflow, is included in the energy added to the pool but omitted from the energy subtracted from<br />

the structure film. This nonconservative treatment gives a more accurate representation <strong>of</strong> the<br />

thermodynamic state <strong>of</strong> the film when the work done against the system constraints is considered,<br />

and as a minor side benefit, it also reduces the coding involved in implementing the pressure term.<br />

Interfaces associated with a source table or an external user-specified temperature boundary<br />

condition are examples <strong>of</strong> external interfaces. An important example <strong>of</strong> an external interface<br />

connecting two repositories is the interface between <strong>CONTAIN</strong> and the lower cell layers<br />

representing CORCON. The latter layers are considered to be external repositories because <strong>of</strong><br />

representational incompatibilities between the materials and thermodynamic functions used by<br />

<strong>CONTAIN</strong> and by CORCON. To accommodate this representational incompatibility, the flux <strong>of</strong><br />

aerosol materials from VANESA, the aerosol generation module <strong>of</strong> CORCON, into the <strong>CONTAIN</strong><br />

domain is determined by mapping the larger set <strong>of</strong> VANESA materials onto the smaller set <strong>of</strong><br />

<strong>CONTAIN</strong> materials and the enthalpy flux <strong>of</strong> released gases is determined by matching<br />

temperatures, not enthalpies, <strong>of</strong> the released gases across the interface. (These gases are presently<br />

assumed to be ideal, and there<strong>for</strong>e knowledge <strong>of</strong> the pressure is not required.)<br />

The decision to exclude external repositories as separate accounting entities in the mass and energy<br />

accounting scheme is based on the observation that energy is in general not <strong>for</strong>mally conserved<br />

across the interface to an external repository but the significance <strong>of</strong> the lack <strong>of</strong> conservation cannot<br />

be determined in a simple manner. (It also should be noted that CORCON, the principal external<br />

repository, has its own internal energy accounting scheme.) It is possible that the lack <strong>of</strong> <strong>for</strong>mal<br />

conservation has little or no impact on the calculated thermodynamic states. For example, if the<br />

same set <strong>of</strong> materials with the same thermodynamic derivative functions (such as the specific heat)<br />

is used on both sides <strong>of</strong> such an interface, but the arbitrary zeroes <strong>of</strong> enthalpies are substantially<br />

different on the two sides, then temperature and pressure matching would lead to the correct ~<br />

Rev O A2 6/30/97

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

Saved successfully!

Ooh no, something went wrong!