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.

exit losses and other fictional losses. Section 4.4.1 gives additional discussion regarding the flow<br />

loss coefficient.<br />

The atmosphere mass conservation equation <strong>for</strong> a cell is given in Table 4-3. The equation in this<br />

table takes into account (a) the flow <strong>of</strong> principal fluids into a cell from other cells, (b) flow out <strong>of</strong><br />

the cell to other cells, (c) pool-gas exchange terms from boiling and equilibration <strong>of</strong> gas injected into<br />

the cell below the coolant pool surface, and (d) mass sources and sinks from processes modeled<br />

explicitly outside <strong>of</strong> the flow solver.<br />

The energy conservation equation <strong>for</strong> the atmosphere <strong>of</strong> a cell is given in Table 4-4. The equation<br />

includes volume displacement work, work associated with gravity, and the energy from sources and<br />

sinks within a cell. Note that the kinetic energy term is neglected in the energy equation, because<br />

the flow velocities must be on the order <strong>of</strong> the sound speed in order <strong>for</strong> the kinetic energy terms to<br />

become. @er85b] Volume displacement work terms are implicitly included in the equation through<br />

the use <strong>of</strong> the flow specific enthalpy. Similarly, volume displacement work from explicit processes<br />

is taken into account through use <strong>of</strong> the enthalpy to define the q terms. The gravitational work terms<br />

are explicitly displayed. The elevations used in the work terms are dictated by the fact that the<br />

enthalpy fluxes are referenced to the gas center <strong>of</strong> elevation <strong>for</strong> transfers from an atmosphere and<br />

to the pool surface <strong>for</strong> transfers from a pool.<br />

The coolant pool mass conservation equation is similarly given in Table 4-5, and the energy<br />

conservation equation <strong>for</strong> a pool is given in Table 4-6.<br />

The thermodynamic state equations <strong>for</strong> the atmosphere and pool given in Table 4-7. From the<br />

component masses and the total internal energy <strong>of</strong> the atmosphere and pool, the thermodynamic state<br />

calculation determines the temperature, pressure, enthalpy, and saturation condition <strong>of</strong> the<br />

atmosphere and the temperature <strong>of</strong> the pool in the cell.<br />

From the given internal energy and the component masses, it is necessary to invert the internal<br />

energy function to obtain the temperature. This is done iteratively <strong>for</strong> both the atmosphere and pool.<br />

An initial guess <strong>for</strong> the temperature close to the expected temperature is made. In practice, these fust<br />

estimates are chosen to be close to the last known temperature. The internal energy <strong>for</strong> ttis<br />

temperature is then calculated and compared to the total energy that should be present. If the<br />

comparison is not acceptable, a new temperature is selected, and the iterative process is continued<br />

until acceptable convergence occurs. In the implicit method, if more than 50 iterations are required,<br />

the calculation simply will abort. In the explicit (Runge-Kutta) method, if more than 30 iterations<br />

are required, a message warning <strong>of</strong> nonconvergence is given. One should note that the inversion<br />

routines are extremely robust. Nonconvergence that is not the result <strong>of</strong> too large a timestep is usually<br />

a symptom <strong>of</strong> a ca.lculational fault outside the solver, such as a negative mass <strong>for</strong> the condensable<br />

gas. ‘The code does check <strong>for</strong> negative masses,<br />

per<strong>for</strong>med prior to this check. Another potential<br />

user-defined materials <strong>for</strong> the gas phase components<br />

thermodynamic laws are specified.<br />

but intermediate calculations are sometimes<br />

cause <strong>of</strong> nonconvergence may be the use <strong>of</strong><br />

<strong>of</strong> the atmosphere, particularly if data violating<br />

Rev O 445 6/30/97

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

Saved successfully!

Ooh no, something went wrong!