12.6. Vapor Pressure Gradient Model: Large Vapor Bubbles
As mentioned above, whenever a bubble grows to a length greater than a user-specified value (usually 5-50 cm), the vapor bubble calculation is switched from the uniform-vapor-pressure model to a vapor-pressure-gradient model. Saturation conditions are assumed in this model, so the vapor energy equation can be combined with the mass continuity equation. The vapor continuity and momentum equations are solved simultaneously for each node in a bubble using a fully implicit finite differencing scheme.
The equations described in this section are only for the vapor. Any liquid in a bubble region is assumed to be a film on the cladding and structure, and this film is treated separately, as described at the beginning of Section 12.1. The vapor calculation is influenced by the liquid film in only two ways: heat flow through the film provides the vapor source for the vapor calculations; and if a two-phase friction factor multiplier for the friction between the vapor and the film is used, then the film thickness determines the value of this multiplier.
12.6.1. Continuity and Momentum Equations
The vapor continuity equation can be written as
while the vapor momentum equation is given by
The symbols used in Eq. (12.6-1) and Eq. (12.6-2) are defined as follows:
\(W =\) vapor mass flow rate
\(z =\) axial height
\(\rho_{v} =\) sodium vapor density
\(A_{c} =\) coolant flow area
\(t =\) time
\(Q =\) heat flow rate per unit volume
\(\lambda =\) heat of vaporization
\(p =\) pressure
\(f_{v} =\) friction factor
\(D_{h} =\) hydraulic diameter
\(F_{c} =\) condensation momentum loss term
\(k_{or} =\) orifice pressure drop term
Note that, because the flow area \(A_{c}\) is included in the mass and momentum equations as a function of both space and time, the model is able to treat problems involving variable flow areas.
The heat flow rate per unit volume is given by
where
\(\lambda =\) ratio of cladding surface area to coolant volume
\(T_{e} =\) cladding temperature
\(T_{s} =\) structure temperature
\(T =\) vapor temperature
\(R_{ec} =\) thermal resistance between the cladding and the vapor
\(R_{sc} =\) thermal resistance between the structure and the vapor
\(\gamma_{2} =\) ratio of structure surface are to cladding surface area
The thermal resistances \(R_{ec}\) and \(R_{sc}\) account for the resistance to heat flow of the cladding, liquid film, and vapor and are computed according to the expressions discussed in Section 12.5.1.
The expression for the heat flow rate \(Q\) can be rewritten as the sum of the heat flow rate through the cladding, \(Q_{e}\), and the heat flow rate through the structure, \(Q_{s}\), where
and
These two quantities are used to compute the condensation momentum loss term \(F_{c}\). This term accounts for momentum lost from the system when flowing sodium vapor condenses on cladding or structure that is colder than the vapor. Only a momentum loss term is included, since it is assumed that the system does not gain momentum when vaporization occurs from cladding or structure that is hotter than the sodium film. The condensation momentum loss is simply the product of the rate of mass condensing per unit volume, \(\frac{Q}{\lambda}\), times the average velocity, \(\frac{W}{2\rho_{v}A_{c}}\). Splitting the condensation momentum loss term into separate contributions from the cladding and structure then gives.
where
and
These definitions reflect the assumption that momentum is lost when condensation of vapor occurs (\(Q_{e}\), \(Q_{s}\) negative) but that no momentum change occurs when liquid is vaporized (\(Q_{e}\), \(Q_{s}\) positive).
The friction factor, \(f_{v}\) is expressed as
where \(\mu\) is the vapor viscosity and \(A_{fr}\) and \(b_{fr}\) are input constants. The quantity in parentheses, \(D_{h}|W|/\left( \mu A_{c} \right)\), is just the Reynolds number of the sodium vapor. The two-phase friction factor multiplier, \(f_{tp}\), is based on a correlation by Wallis [12-10]:
where \(f_{2\phi}\) is set to 1.0 when the two-phase multiplier is used and is set to 0 by the user if a smooth tube friction factor is described.
Two approximations are made to Eq. (12.6-1) and Eq. (12.6-2) before finite differencing. First, in the continuity equation, the term
is taken to be
So that \(A_{c}\) is assumed constant in time (but not space) over the time step for purposes fo solving the mass and momentum equations for the vapor pressures and mass flow rates. This assumption is also made with the variables \(D_{h}\), \(\gamma\), and \(\gamma_{2}\). This simplification is a reasonable one, since one of these four quantities changes rapidly with time. Second, in the momentum equations, the momentum convection term can be expanded as
Any changes in area over a spatial node are incorporated into the orifice term, and so \(\frac{W^{2}}{\rho_{v}}\frac{\partial}{\partial z}(\frac{1}{A_{c}})\) is included in the \(\frac{\partial k_{or}}{\partial z}\) term. Therefore,
so \(A_{c}\) appears piecewise constant in space. This is also true for \(D_{h}\), \(\gamma\), and \(\gamma_{2}\).
Therefore, the continuity and momentum equations to be differenced are
and
12.6.2. Finite Differencing
The mass and momentum equations must now be reduced to algebraic equations that can be coded into SASSYS-1. This is accomplished in three steps: (1) the equations are discretized using finite differences, (2) the advanced time terms are linearized, and (3) saturation conditions are imposed to limit the independent variables to the change in mass flow rate and the change in pressure. The details of these three steps are presented below. The result is the set of algebraic equations Eq. (12.6-45), Eq. (12.6-79), Eq. (12.6-87) (discretized form of the continuity equation at an interior node, lower interface, and upper interface of a bubble, respectively), Eq. (12.6-132), Eq. (12.6-147), and Eq. (12.6-153) (discretized form of the momentum equation in the interior, the lower interface, and the upper interface). These equations are then solved according to the procedure discussed in Section 12.6.3.
As indicated in Figure 12.6.1, some of the variables in the mass and momentum equations are calculated at node boundaries, whereas others are calculated at node mid-points. In general, midpoint quantities are used as if they were constant over the node. The quantities defined at node boundaries are \(z\), \(T\), \(p\), \(W\), \(\rho_{v}\), \(\mu\), and the velocity \(V\). At liquid-vapor interfaces, these quantities are defined at the interface, and the vapor velocity is set to the value of the interface velocity.
Midpoint quantities include \(T_{e}\), \(T_{s}\), \(R_{ec}\), \(A_{c}\), \(D_{h}\), \(\gamma\), \(\gamma_{2}\), \(k_{or}\), \(\gamma\), \(Q\), \(F_{e}\), and the spatially averaged coolant temperature \(\overline{T}\). With all variables, a subscript 1 indicates that the variable is evaluated at the beginning of the time step; a subscript 2 means the variable is taken to be at the end of the time step.
12.6.2.1. Finite Differencing of the Continuity Equation for a Mesh Segment Contained Entirely in One Bubble
This section gives a detailed explanation of how the continuity equation is expressed in finite difference form. The extra factors required to model bubble-liquid interfaces correctly are not included here; they will be discussed in Section 12.6.2.2. Therefore, the equations to be developed in this section apply as they stand only to axial mesh segments which are entirely contained within the bubble.
12.6.2.1.1. Differencing of the Continuity Equation
The terms making up the continuity equation are differenced as follows:
and
These differencing schemes are illustrated in Figure 12.6.2. Also,
Therefore, the differenced continuity equation becomes
12.6.2.1.2. Linearization of Advanced Time Terms
Eq. (12.6-20) can be linearized by expressing the advanced time terms in the form
where x is any quantity. This produces
Since
then
The heat flux then becomes
The heat flux expression can be written in a more compact form by defining the variable \(Q_{o}(J)\)
The derivative with respect to vapor temperature of \(Q_{o}\) is then
These can be substituted into the above equation for \(Q_{2}(J)\) to give
Substituting Eq. (12.6-22) through Eq. (12.6-25) and Eq. (12.6-31) for the advanced time terms in the differenced continuity equation, Eq. (12.6-20) gives
If \(\Delta \lambda (J) \ll \lambda_{1}(J)\),
which changes Eq. (12.6-32) to
Eliminating second-order terms gives the linearized differenced continuity equation
12.6.2.1.3. Utilization of Saturation Conditions to Limit the Independent Variables to \(\Delta W\) and \(\Delta p\)
Since saturation conditions are assumed, \(\rho\), \(T\), and \(\lambda\) are all functions of \(p\) only. Therefore, the difference terms can be expressed in terms of \(\Delta p\) as follows:
with \(\Delta p (J) = p_{2} (J) - p_{1} (J)\). All derivatives are evaluated at the start of the time step. When Eq. (12.6-36) through Eq. (12.6-38). are inserted into Eq. (12.6-35) the result is a differenced continuity equation which is linear in \(\Delta W\) and \(\Delta p\):
Multiply through by \(\left(z(J + 1) - z(J)\right) \Delta t\) and define the coefficients
Also, define the source term
Then the differenced mass equation becomes
12.6.2.2. Finite Differencing of the Continuity Equation for a Mesh Segment Which Contains a Bubble Interface
12.6.2.2.1. Adjustment of the Form of the Continuity Equation to Account for Interface Motion
The representation of the partial derivative with respect to time is not as straightforward at an interface as it is at an interior node. Referring to Figure 12.6.3, in which node boundary \(J\) is the interface, the partial derivative of the density \(\rho\) is still calculated as
The partial derivatives at \(J\) and \(J + 1\) are computed just as they are for an interior node; in particular,
so the partial derivative at \(J\) is differenced as though the interface were stationary at \(z\left(J,t\right)\). However, the interface is moving at a velocity \(v^{i}\) and moves a distance \(v^{i}\Delta t\) from \(z\left(J,t\right)\) to \(z\left(J,t + \Delta t\right)\) during the time step, so the spatial derivative in the continuity equation must be differenced from \(z\left(J + 1,t + \Delta t\right)\) to \(z\left(J, t + \Delta t\right)\), rather than to \(z\left(J,t\right)\). Thus, the continuity equation for an interface node will involve advanced time quantities at three spatial points (\(z \left(J,t \right)\), \(z \left( J,t + \Delta t \right)\), and \(z\left(J + 1, t + \Delta t\right)\)) rather than at two. This difficulty can be resolved if the partial derivative with respect to time is expressed in terms of \(\rho\left(z\left(J,t + \Delta t\right), t + \Delta t\right)\) rather than \(\rho\left(z\left(J,t\right), t + \Delta t\right)\) by introducing the Lagrangian total derivative, \(\frac{d\rho}{dt}\).
or
with
and
The factor of (1/2) appears in the velocity term to represent the average of the velocity of the interface point \(J\) (which is \(v^{i}\)) and that of the point \(J + 1\) (which is zero). This formulation is equivalent to expressing \(\rho\left(z\left( J,t\right),t + \Delta t\right)\) as an interpolated value between \(\rho\left(z\left(J,t + \Delta t\right)\right)\) and \(\rho\left(z(J + 1), t + \Delta t\right)\). The continuity equation now takes the form
Let a node boundary quantity \(x\) be represented at the lower interface by \(x_{j}^{i}(J1)\) and at the upper interface by \(x_{j}^{i}(J2)\) where \(j = 1\) or \(2\) to designate the beginning or end of the time step. A node midpoint quantity \(y\) is represented at the lower interface by \(y_{j}(J1)\) (since it is contained in node \(J1\)) and at the upper interface by \(y_{j}(J2-1)\) (since it is located in node \(J2-1\)). As shown in Fig. 12.6-4, \(J1\) is the number of the fixed mesh node boundary below the lower interface, while \(J2\) is the fixed node boundary number above the upper interface. Looking first at the lower interface, the total time derivative of the density is then
or, using Eq. (12.6-22) and Eq. (12.6-37) to express \(\frac{d\rho}{dt}\) in terms of the change in vapor pressure,
The spatial derivative term becomes
The advanced time velocity is expressed in the linearized form of Eq. (12.6-21) as
It is apparent from Eq. (12.6-56) and Eq. (12.6-57) that the added complication of treating the bubble interface introduces two extra unknowns beyond those described in Section 12.6.2.1, namely, the change in interface velocity \(\Delta v^{i}\) and the advanced time interface position \(z_2^i\) (the current time interface velocity, \(v_1^i\), is assumed known). As will be shown in Section 12.6.2.2.2 and Section 12.6.2.2.3, both of these quantities can be expressed as functions of \(\Delta p\) and of known terms, so that their effect on the final differenced equation is to add terms to the coefficients \(c_{1,J}\) and \(c_{3,J}\) and to the source term \(h_{J}\) in Eq. (12.6-45).
12.6.2.2.2. Formulation of \(\Delta v^i\) as a Function of \(\Delta p\)
If the bubble under consideration is labeled bubble \(K\), the change in interface velocity is calculated from the change in mass flow rate \(\Delta W_{l}\left(K\right)\) in liquid slug \(K\), which is the slug below bubble \(K\):
where \(f_{rwt}\left(K\right)\) is the liquid film rewetting factor at the top of slug \(K\) and \(\rho_{l}^{i}(J1)\) is the liquid sodium density at the interface. The film rewetting factor accounts for the effect of liquid film on the cladding and structure on the interface velocity; this has already been discussed in Section 12.3. From Eq. (12.3-6) of Section 12.3, the liquid film rewetting factor is
The change in mass flow rate is computed from the liquid slug momentum equation given in Eq. (12.2-38):
with \(\theta_{1} = \theta_{2} = 1/2\) for the semi-implicit method and \(\theta_{1} = 0\), \(\theta_{2} = 1\) for the fully implicit formulation. The pressure changes are defined as
\(\Delta p_{b}\left(K\right) =\) change in pressure at lower end of liquid slug K.
\(\Delta p_{t}\left(K\right) =\) change in pressure at upper end of liquid slug K.
Since \(\Delta p_{t}\left(K\right)\) is the pressure change at the bubble interface,
Therefore, \(\Delta v^{i}(J1)\) can be split into two parts as
with
being the change in interface velocity with no change in interface pressure and
being the velocity change with respect to the change in interface pressure. With the change in interface velocity now expressed as a linear function of the change in interface pressure Eq. (12.6-62), the advanced time interface velocity in the expression for the spatial derivative term \(v\frac{\partial\rho}{\partial z}\) Eq. (12.6-56) can be replaced using Eq. (12.6-57) and Eq. (12.6-62). In addition, the advanced time densities in Eq. (12.6-56) can be linearized through Eq. (12.6-22) and written in terms of pressure changes form Eq. (12.6-37). This gives \(v\frac{\partial\rho}{\partial z}\) as
Now, all that remains is to express the interface position \(z_{2}^{i}\) as a function of the change in pressure; this will be done in the next subsection.
12.6.2.2.3. Formulation of \(z_2^i\) as a Function of \(\Delta p\)
The function height can be written as
which, substituting Eq. (12.6-57) and Eq. (12.6-62) for \(v_{2}^{i}\), becomes
Define
as the interface height with no pressure change at the interface and
as the change in interface height with respect to the change in interface pressure. Then \(z_{2}^{i}\) is the linear function
Using Eq. (12.6-70) in Eq. (12.6-65), \(v\frac{\partial\rho}{\partial z}\) can be expressed as a function of only \(\Delta p\),
12.6.2.2.4. Final Differenced Form of the Continuity Equation at the Lower Interface as a Function of Only \(\Delta p\) and \(\Delta W\)
With \(\frac{d\rho}{dt}\) in the interface continuity equation, Eq. (12.6-53), written in the form in Eq. (12.6-55) and \(v\frac{\partial\rho}{\partial z}\) given by Eq. (12.6-71) and all other terms in Eq. (12.6-53) treated as in Section 12.6.2.1, the differenced form of the continuity equation at the lower interface is, after multiplication by \(\left( z(J1 + 1) - z_{2}^{i}(J1) \right)\) and substitution of Eq. (12.6-70) for \(z_{2}^{i}\),
Setting \(\Delta z_{0}(J1) = z(J1 + 1) - z_{0}^{i}(J1)\) and eliminating second-order terms gives a differenced interface continuity equation which is linear in the pressure and mass flow rate changes:
Eq. (12.6-73) can be simplified by defining the coefficients
and the source term
Then the differenced continuity equation at the lower interface can be written as
Note that with \(v_{1}^{i}\), \(\Delta v_{0}^{i}\), \(\frac{dv^{i}}{dp}\), and \(\frac{dz^{i}}{dp}\) set to zero, the expressions for the coefficients \(c_{1,J1}\), and the source term \(h_{J1}\) reduce to the forms given at the end of Section 12.6.2.1 for the continuity equation for a mesh segment which lies entirely within the bubble.
12.6.2.2.5. Differenced Form of the Continuity Equation at the Upper Interface
The derivation of the differenced continuity equation at the upper interface is nearly identical to that for the lower interface, and so just a brief explanation will be given here. The terms in the interface continuity equation of Eq. (12.6-53) are now expressed as follows:
The time derivative is
The \(v\frac{\partial\rho}{\partial z}\) term is
where
and
The rewetting factor at the bottom of liquid slug \(K + 1\), \(f_{rwb}\left(K + 1\right)\), is computed as in Eq. (12.6-59). The expression for \(\Delta v_{i}(J2)\) then reduces to
with the definitions of \(\Delta v_{0}^{i}(J2)\) and \(\frac{dv^{i}}{dp_{J2}}\) being set as were those for \(\Delta v_{0}^{i}(J1)\) and \(\frac{dv^{i}}{dp_{J1}}\). Also,
can be derived in exactly the same fashion as was Eq. (12.6-70). Therefore,
Substituting Eq. (12.6-80) and Eq. (12.6-86) into Eq. (12.6-53) and expressing \(\frac{\partial W}{\partial z}\) and \(A_{c}\frac{Q}{\lambda}\) as in Section 12.6.2.1 gives the differenced upper interface continuity equation
where
and
12.6.2.3. Finite Differencing of the Momentum Equation for a Mesh Segment Contained Entirely in One Bubble
Now that differenced forms of the continuity equation both within the bubble and at liquid-vapor interfaces have been derived, a similar process must be applied in the momentum equation. The differencing of the momentum equation is accomplished in essentially the same way as that of the continuity equation. Once again, bubble interface will be ignored for the sake of simplicity until the equations for an interior node have been developed.
12.6.2.3.1. Differencing of the Momentum Equation
The differenced forms of the terms in the momentum equation, Eq. (12.6-2), are a follows. The channel pressure drop is given by
The momentum convection takes the form
The condensation term is expressed in terms of the contributions from cladding and structure as
where the functions for \(F_{ce}\) and \(F_{cs}\) are linearly approximated as follows:
and
\(Q_{e_2}(J)\) and \(Q_{s_2}(J)\) are defined in Eq. (12.6-19). Now, linearize \(Q_{e_2}\) and \(Q_{s_2}\) by defining
These expressions are related to \(Q_{o}(J)\), defined in Section 12.6.2.1.2, by
and
Substituting these functions into the above formulations of \(F_{ce}\) and \(F_{cs}\) gives
If the definitions
are used in the expressions for \(F_{ce}\) and \(F_{cs}\), the condensation term becomes
This expression can be simplified by setting
which can be stated more compactly as
Similarly,
so that the definition
can be made. This gives
as the differenced form of the condensation term.
The change in mass flow rate with time is
The orifice pressure drop becomes
Finally, if the friction factor
is considered in the differencing, the friction term may be written as
Using Eq. (12.6-94), Eq. (12.6-95), Eq. (12.6-119), Eq. (12.6-120), Eq. (12.6-121), and Eq. (12.6-123) results in a differenced momentum equation as follows:
The equation must now be linearized and reduced to a linear function of \(\Delta p\) and \(\Delta W\); this procedure will be discussed in the next subsection.
12.6.2.3.2. Linearization of Advanced Time Quantities and Introduction of Saturation Conditions
Eq. (12.6-124) is made linear by expressing the advanced time variables in linearized form as in Eq. (12.6-21). This means that, in addition to using the expressions in Eq. (12.6-22) through Eq. (12.6-25) for density, heat of vaporization, mass flow rate, and temperature, the linearized form of Eq. (12.6-124) must include the following representations of pressure and viscosity:
The differenced momentum equation therefore becomes
Note that the orifice coefficient \(k_{or}\) and the hydraulic diameter \(D_{h}\) are, like the channel area \(A_{c}\), considered to be constant over the time step. Now, Eq. (12.6-127) can be expressed in terms of only two independent variables, \(\Delta p\) and \(\Delta W\), by imposing the restriction that \(\rho\), \(T\), \(\lambda\), and \(\mu\) be functions of \(p\) only, i.e., by imposing saturation conditions. This is accomplished by substituting Eq. (12.6-36) through Eq. (12.6-38), as well as the expression
into Eq. (12.6-127). The resulting equation, after multiplying by \(\Delta t \left( z (J+1) - z (J) \right)\) and letting \(\Delta z(J) = z(J+1) - z(J)\), is the very long expression
where it is assumed that \(\Delta \mu \ll \mu_{1}\) and \(\Delta \rho \ll \rho_{1}\), so that
and
Eliminating second-order terms produces the final linearized form of the differenced momentum equation:
with
12.6.2.4. Finite Differencing of the Momentum Equation for a Mesh Segment Which Contains a Bubble Interface
The inclusion of a bubble interface in node \(J\) introduces the Lagrangian total derivative, as described in Section 12.6.2.2.1. The momentum equation then becomes
As in the case of the continuity equation, the impact of the bubble interface on the differenced equation is transmitted via the interface velocity \(v^{i}\) and the interface position \(z^{i}\). Therefore, only those terms in Eq. (12.6-138) which include either \(v^{i}\) or \(z^{i}\) will alter the coefficient \(b_{i}\) or the source term \(g\) in Eq. (12.6-132).
12.6.2.4.1. Differenced Form of the Momentum equation at the Lower Interface
The terms of Eq. (12.6-138) can be differenced as in Section 12.6.2.3; in addition, the term \(v\frac{\partial W}{\partial z}\) can be expressed as
where \(\Delta z^{i}(J1) = z (J1 + 1) - z_{2}^{i}(J)\). Therefore, the differenced form of Eq. (12.6-138) is
Multiplying Eq. (12.6-140) by \(\Delta t\Delta z^{i}(J1)\) eliminates \(z_{2}^{i}(J1)\) from all but the third, fourth, and fifth terms. The sixth term is the only one which includes \(v_{2}^{i}(J1)\). Thus, only these four terms need to be examined to determine the contribution of the bubble interface to the final differenced momentum equation.
12.6.2.4.2. Specification of Bubble Interface Terms
Of the four terms, all but the one involving \(v_{2}^{i} (J1)\) are present in the momentum equation as derived in Section 12.6.2.3. They affect the interface contribution only because they involve the factor \(z\Delta^{i}(J1)\). For example, consider the condensation term:
The first term on the right-hand side is identical to the condensation term as expressed in the differenced momentum equation, Eq. (12.6-132). Therefore, the condensation term contribution to the momentum equation is modified to account for the bubble interface simply by adding the second term on the right-hand side of Eq. (12.6-140) to Eq. (12.6-132). Written out in full, this term is, after linearization of advanced time quantities and substitution of the saturation condition relations,
Neglecting second-order terms, this reduces to
Similarly, the friction term contribution comes from
if second-order terms are dropped. The time derivative of the mass flow rate is
if second-order terms are dropped. This is identical to the differenced form of \(\frac{1}{A_{c}}\frac{\partial W}{\partial t}\) for mesh segments which are contained within the bubble and so this term actually makes no contribution with respect to the bubble interface.
The last term to analyze is \(v\frac{\partial W}{\partial z}\). This reduces to
Adding Eq. (12.6-143), Eq. (12.6-144) and Eq. (12.6-146) to Eq. (12.6-132) produces the final differenced momentum equation at the lower interface:
where
with \(b_{1,J1}\), \(b_{2,J1}\), \(b_{3,J1}\), \(b_{4,J1}\), and \(g_{J1}\) being defined as in Eq. (12.6-132).
12.6.2.4.3. Differenced Form of the Momentum Equation at the Upper Interface
The development of the momentum equation at the upper interface is identical to that explained in Section 12.6.2.4.1 and Section 12.6.2.4.2 for the lower interface, and so only the final equation will be given here:
with
12.6.2.5. Additional Details Concerning Interface Nodes
Because at least one of the boundaries of an interface mesh segment is not usually aligned with the fixed segment boundaries of the axial mesh, variables defined at the interface segment midpoint must be handled somewhat differently from what they are for a segment located in the interior of a bubble. Midpoint quantities such as \(A_c\) and \(D_{h}\), which are considered to be piecewise constant over the fixed mesh segments, are assigned the values of the fixes mesh segment in which the bubble interface lies. Thus, for example, the flow area at the upper interface is taken as \(A_{c}(J2 - 1)\) because the upper interface lies in axial mesh segment \(J2 - 1\). This convention has been used throughout the equations in Section 12.6.2.2 and Section 12.6.2.4. However, three midpoint variables are exceptions to this rule: the cladding temperature \(T_{e}\), the structure temperature \(T_{s}\), and the average coolant temperature \(\overline{T}\). \(T_{e}\) and \(T_{s}\) are calculated outside the two-phase flow model once every heat-transfer time step. As used in the boiling calculation, both temperatures are extrapolated values calculated using the temperatures at the beginning and the end of the last heat-transfer time step and extrapolated to the end of the current coolant time step. All three temperatures are taken to be located at the midpoints of the Eulerian grid intervals, whereas the boiling calculation needs them at the midpoints of the interface vapor mesh segments (for example, \(T_{e}\), \(T_{s}\), and \(\overline{T}\) are needed at a point halfway between \(z (J2 - 1)\) and the upper interface). Therefore, \(T_{e}\) and \(T_{s}\) are interpolated in space to the center of the interface segments using the values in the interface fixed mesh segments and the adjacent vapor segments, while \(\overline{T}\) is interpolated to the points using the temperatures at the interfaces and at the nearest fixed mesh boundaries contained in the bubble.
Special considerations must be given to any mesh boundary that is crossed by a liquid-vapor interface during a time step. When setting up the interior segments for the pressure-drop calculation, any segment which is outside the bubble at either the beginning or the end of the time step is bypassed and treated as part of the interface segment. Also, if at the end of the step the interface is within \(\varepsilon\) of a segment boundary (\(\varepsilon = .002\)) then the segment is also bypassed. These tests are all made on the basis of \(z_{1}^{i}(J)\) and \(z_{0}^{i}(J)\) as given by Eq. (12.6-68). Therefore, a segment \(JC\) is included as an interior segment only if
and
After the calculations of \(\Delta p\) and \(\Delta W\) for segments inside the bubble are completed, \(p_{2}\) and \(W_{2}\) for bypassed segments are obtained by linear interpolation between the interface and the first segment inside the interface.
If an interface segment, \(JT = J1\) or \(JT = J2\), represents parts of more than one fixed Eulerian mesh segment, then \(A_{c}(JT)\) and \(D_{h}(JT)\) for the interface segment are obtained as weighted averages over the Eulerian segment values. The weighting factors are proportional to the \(\Delta z\) within the bubble. Also, \(1/D_{h}\) is averaged:
The \(\Delta z(JC)\)s are based on \(z_0^i(JT)\).
12.6.3. Simultaneous Solution of the Differenced, Linearized Mass and Momentum Equations
If the discretized mass and momentum equations derived in Section 12.6.2 (Eq. (12.6-45) and Eq. (12.6-132)) are applied to each axial segment in the bubble, the result is a set of simultaneous linear equations which have as independent variables only the changes in vapor pressure and in mass flow rate. To this set must be added the equations at the upper and lower bubble interfaces ( Eq. (12.6-79), Eq. (12.6-87), Eq. (12.6-43), and Eq. (12.6-153)), giving a set of \(2 \left( J2 - J1 \right)\) equations in \(2 \left( J2 - J1 + 1 \right)\) unknowns. To complete the set, a boundary condition must be imposed at both interfaces. This requirement is satisfied by expressing the interface mass flow rate as
which can be differenced to give
The index \(JT\) is \(J1\) for the lower interface and \(J2\) for the upper interface, while \(JX\) is \(J1\) for the lower interface and \(J2-1\) at the upper one. Using the expressions derived earlier for \(\Delta \rho^{i}\left( JT \right)\) and \(\Delta v^{i}\left( JT \right)\) (Eq. (12.6-37) and Eq. (12.6-62)) produces
which can be rearranged to give
Define
and
Then Eq. (12.6-163) becomes
If Eq. (12.6-167) is applied to both upper and lower interfaces and the resulting two equations are added to the set of mass and momentum equations, a set of \(2 \left( J2 - J1 + 1 \right)\) equations in \(2 \left( J2 - J1 + 1 \right)\) unknowns will result. This set can be written in matrix form as
where the form of matrix \(\mathbf{A}\) is given by Eq. (12.6-169) and the \(\mathbf{X}\) and \(\mathbf{B}\) vectors are given by Eq. (12.6-170) and Eq. (12.6-171).
and
This matrix equation can be solved using Gaussian elimination to give the changes in vapor pressure and mass flow rate at all nodes in the bubble. Section 12.16 presents a step-by-step description of how Eq. (12.6-168) is solved using Gaussian elimination. Once the new vapor pressures are known, the vapor temperatures and all thermodynamic sodium properties can be calculated.