5.4.1. Pipe Temperatures

The pipe temperature model is a slug flow model with heat transfer to the pipe walls, as indicated in Figure 5.4.1. The coolant in a pipe is divided into a number of moving nodes or slugs. The node boundaries move with the coolant flow. All nodes in a pipe have equal volumes except for the first and last nodes. The inlet node size starts at zero and grows as the flow continues until it reaches the size of the other nodes. At that point a new node is started at the inlet. Similarly, the outlet node shrinks and eventually is removed when its volume reaches zero. The temperature in a coolant node changes due to internal heating (see Direct Element Heating) or heat transfer with the pipe wall, while the temperature in a wall node may change due to internal heating, heat transfer with the coolant, or heat transfer from the outside of the pipe wall. There is one wall node for each coolant node. One radial node is used in the pipe wall. Heat transfer from the outside of the pipe wall is described in Section 5.4.6 on component-to-component heat transfer. Wall nodes do not move, so the wall node in contact with a given coolant node changes periodically as the coolant node boundaries pass wall nodes.

All of the elements in a pipe temperature group are handled at the same time as if they made a single long pipe. The use of equal coolant volumes for each node determines the locations of the wall nodes. If the region represented by a wall node spans the boundary between two elements, then weighted averages are used to obtain the coolant flow area, Ac, wall perimeter, Per, wall mass, Mw, wall heat capacity, cw, and wall heat-transfer coefficient, hw, for the node. The averaging is done so as to conserve coolant volume and wall mass times heat capacity.

../../_images/image61.png

Figure 5.4.1 Pipe Temperature Calculations.

The primary loop time step is divided into sub-intervals for the pipe temperatures calculations. The coolant slug is ejected from the end, a new slug is formed at the inlet, and the node indexes for intermediate slugs are increased by one. In subsequent sub-intervals, the coolant moves exactly one node per sub-interval until the end of the primary loop time step is approached. Usually, the coolant does not move exactly an integral number of nodes in a primary loop step, so in the last sub-interval the coolant usually moves only a fraction of a node.

For any node except the inlet node, the heat-transfer equation used for the coolant is:

(5.4-1)ρcccAcTct=Perhwc(TwTc)+qc

and that for the wall is

(5.4-2)MwcwTwt=Perhwc(TcTw)+(hA)snk(TsnkTw)+qw

where

Tc = coolant temperature

Tw = wall temperature

ρc = coolant density

cc = coolant specific heat

hwc = effective heat-transfer coefficient between the wall and the coolant

Mw = wall mass per unit length

cw = specific heat of the wall

Per = wall perimeter, 4A/Dh

Tsnk = temperature of a heat sink outside the wall

(hA)snk = heat transfer coefficient times area per unit length for heat transfer to air or liquid sodium outside the pipe wall

qc = linear heat generation in the coolant

qw = linear heat generation in the wall

The effective heat-transfer coefficient hwc contains a coolant heat-transfer coefficient, hc, in series with a wall heat-transfer coefficient, hw:

(5.4-3)1hwc=1hc+1hw

or

(5.4-4)hwc=hchwhc+hw

The coolant heat-transfer coefficient is calculated as

(5.4-5)hc=kcDh[C1(Dh|w|ccAckc)c2+C3]

C1, C2 and C3 = user-supplied correlation coefficients

Dh = pipe hydraulic diameter

w = coolant flow rate

kc = thermal conductivity of the coolant

cc = specific heat of the coolant

The wall heat-transfer coefficient represents heat transfer from the interior of the wall to the surface in contact with the coolant.

Assuming qc and qw to be constant over a timestep, finite differencing of Eq. (5.4-1) and Eq. (5.4-2) gives

(5.4-6)ρcccAc(Tc6Tc5)δt=Perhwc2(Tw6Tc6+Tw5Tc5)+qc

and

(5.4-7)Mwcw(Tw6Tw5)δt=Perhwc2(Tc6Tw6+Tc5Tw5)+(hA)snk[Tsnk(Tw6+Tw5)2]+qw

where

δt = sub-interval time-step size

Tc5 = coolant temperature at beginning of the sub-interval

Tc6 = coolant temperature at end of the sub-interval

Tw5, Tw6 = wall temperatures at the beginning and end of the sub-interval

Simultaneous solution of these equations gives

(5.4-8)Tc6=[d2d1d5(Mwcw+d3)]Tc5+2Mwcwd1d5Tw5+2d1d3d5Tsnk+δtqc+d1d5δtqwd2+d1d5(Mwcw+d3)

and

(5.4-9)Tw6=d5(Mwcwd1d3)Tw5+d1d5(Tc6+Tc5)+2d3d5Tsnk+d5δtqw

where

(5.4-10)d1=δt2hwcPer
(5.4-11)d2=ρcccAc
(5.4-12)d3=δt2(hA)snk

and

(5.4-13)d5=1d1+Mwcw+d3

For the inlet node, the wall temperature calculation is the same as that used for the other nodes, but the coolant temperature calculation is different, since new coolant is being added to the node. The basic equation used for the coolant temperature is

(5.4-14)LnρcccAct(frTc)=LnρcccAc¯Tinfrt+LnhwcPerfr(TwTc)+frqc

where

Ln = length of a full node at the inlet

fr = fraction of a full node at the inlet

frLn = current length of the inlet node

¯Tin = pipe inlet temperature

After finite differencing, this equation becomes

(5.4-15)ρcccAcfr6Tc6ρcccAcfr5Tc5=ρcccAc¯Tin(fr6fr5)+δt2hwcPer[fr5(Tw5Tc5)+fr6(Tw6Tc6)]+fr6qc

where

fr5 = fr at beginning of step

fr6 = fr at end of step.

The simultaneous solution of Eq. (5.4-15) and Eq. (5.4-7) gives

(5.4-16)Tc6={(d2fr5d1fr5+d21d5fr6)Tc5+d1[fr5+fr6d5(Mwcwd1d3)]Tw5+d2(fr6fr5)¯Tin+2fr6d1d3d5Tsnk+fr6δtqc+fr6d1d5δtqw}/fr6[d2+d1d5(Mwcw+d3)]

and Eq. (5.4-9) is again used for the wall temperature.

If flow in the pipe reverses direction, then the temperature calculations are the same, except that the outlet node becomes the inlet node and the inlet node becomes the outlet node.

5.4.1.1. Eulerian Calculations

The slug flow pipe temperature model described above is a LaGrangian treatment that avoids the spurious numerical diffusion that results from typical Eulerian treatments. On the other hand, there are situations in which this treatment requires significantly more computing time than a Eulerian treatment would; and in many of these situations the effects of numerical diffusion would be small, so there is little gain from the time consuming LaGrangian treatment. The Eulerian computation time per subinterval is comparable to the LaGrangian computation time per subinterval, but the LaGrangian time step subinterval size is limited by the restriction that the coolant can not be allowed to move more than one node per subinterval, whereas no such restriction applies in the Eulerian case. Therefore, there is no advantage to a Eulerian treatment if the coolant flow rates are small and the time step sizes are small; but a Eulerian treatment is much faster than a LaGrangian treatment if the coolant flow rate is high and time steps are large enough that the coolant moves many nodes per time step. Therefore, a Eulerian speed-up option has been added to the pipe temperature calculations in the code.

The Eulerian speed-up option can be especially useful in the null transient used for steady-state initialization when component-to-component heat transfer is used. In this case, the temperature time constants are often large, requiring a long null transient to obtain converged temperatures. The temperature solution is numerically stable for large time steps, so one would use a large time step size in the null transient to reduce computing time; but much of the benefit from a large time step size is nullified if a LaGrangian pipe temperature calculation limits the subinterval size to a small value. Also, the numerical diffusion from a Eulerian solution is small or non-existent in a steady-state pipe temperature result, so there is no reason not to use the Eulerian treatment in the null transient.

There are three options for using the Eulerian speed-up. The default option is to always us only the LaGrangian treatment. The second option is to use the Eulerian speed-up in the steady-state null transient but not in the regular transient. The third option is to use the Eulerian speed-up both in the null transient and in the regular transient. In any case, the LaGrangian calculation is used for small time steps in which the coolant will move less than two nodes. If the Eulerian speed-up is being used for a large time step, then first a LaGrangian subinterval is used to move the coolant to the next node boundary. Next, a Eulerian calculation is used to move the coolant the maximum whole number of nodes that will fit within the time step. Finally, a LaGrangian subinterval is used to finish the time step and move the coolant many fraction of a node remaining. The Eulerian part of the calculation is described in Section 5.16.6.

5.4.1.2. Annular Element Temperatures

An annular element is treated the same as a pipe except that an annular element has two walls in contact with the coolant instead of one. The annular element was added to SAS4A/SASSYS‑1 in order to model the coolant flow in an RVACS/RACS system in which a relatively thin annulus of sodium flows between the vessel wall and an inner liner. Significant heat transfer occurs between the sodium in the annulus and both the vessel wall and the inner liner.

For the annular element, the heat transfer equation used for the coolant is

(5.4-17)ρcccAcTct=Perahwca(TwaTc)+Perbhwcb(TwbTc)+qc

where Pera, hwca, and Twa refer to wall a, and Perb, hwcb, and Twb refer to wall b. Eq. (5.4-2) and Eq. (5.4-7) are still applicable to each wall. Finite differencing of Eq. (5.4-17) gives

(5.4-18)ρcccAc(Tc6Tc5)δt=Perahwca2(Twa6Tc6+Twa5Tc5)+Perbhwcb2(Twb6Tc6+Twb5Tc5)+qc

Simultaneous solution of the finite difference equations for Tc, Twa, and Twb gives

(5.4-19)Tc6={[d2d1ad5a(Mwacwa+d3a)d1bd5b(Mwbcwb+d3b)]Tc5+2d1ad5a(MwacwaTwa5+d3aTsnka+δt2qwa)+2d1bd5b(MwbcwbTwb5+d3bTsnkb+δt2qwb)+δtqc}/[d2+d1ad5a(Mwacwa+d3a)+d1bd5b(Mwbcwb+d3b)]

where qwa and qwb refer to linear heat sources for walls a and b, respectively. The solutions for Twa and Twb are the same as Eq. (5.4-9). For the inlet node, simultaneous solution of the finite difference equations gives

(5.4-20)Tc6={[d2fr5d1a(fr5fr6d1ad5a)d1b(fr5fr6d1bd5b)]Tc5+d1a[fr5+fr6d5a(Mwacwad1ad3a)]Twa5+d1b[fr5+fr6d5b(Mwbcwbd1bd3b)]Twb5+d2¯Tin(fr6fr5)+2fr6[d1ad3ad5aTsnka+d1bd3bd5bTsnkb]+fr6[δtqc+d1ad5aδtqwa+d1bd5bδtqwb]}/fr6[d2+d1ad5a(Mwacwa+d3a)+d1bd5b(Mwbcwb+d3b)]

5.4.1.3. Direct Element Heating

During operation, heat may be generated and/or removed in a variety of different components. For example, during pump operation, heat may be generated in both the working fluid and in the pump structure itself. This phenomenon may strongly impact system temperatures under certain conditions, and therefore SAS provides users with flexibility when modeling it.

Direct element heating is currently supported in all pipe-like elements. Pipe-like elements include: pipes, pumps, check valves, valves, annular pipes, and annular pumps. Two mechanisms are in place for defining direct element heat, time-dependent functions and built-in pump heat models.

5.4.1.3.1. Time-Dependent Element Heating

Time-dependent functions for direct fluid and direct structure heat can be defined using CoolHeatTableID and WallHeatTableID, respectively.

(5.4-21)qc=fc,k(t)Lk

where

fc,k = user-defined, time-dependent function for element k coolant (W).

Lk = length of element k

and

(5.4-22)qw=fw,k(t)Lk

where

fw,k = user-defined, time-dependent function for element k wall (W).

A description of the CoolantHeat Table and the WallHeat Table, identified in CoolHeatTableID and WallHeatTableID, as well as example tables are presented below.

Table 5.4.1 Input in a Direct Coolant Heat Table

Column Label

Description

Range

iEll

Element ID.

1 iEll NELEMT

fID

ID of function defining direct coolant heat for element iELL.

The output of this function should be in Watts.

Table 5.4.2 Input in a Direct Wall Heat Table

Column Label

Description

Range

iEll

Element ID.

If iEll is greater than 1000, the second wall of iEll-1000 is identifeid.

1 iEll NELEMT

fID

ID of function defining direct wall heat for element iELL.

The output of this function should be in Watts.

Example Direct Coolant Heat Table input:

TABLE <id> Coolant
iEll fID
3     1
4   100
END

Example Direct Wall Heat Table input:

TABLE <id> Structure
iEll fID
1003     200
3   100
4   1
END

5.4.1.3.2. Pump Heat

Pump heating is implemented by calculating the contributions to linear heat rates qc, qw, qwa, and qwb in the equations above. Currently this treatment is limited only to equivalent circuit pump models, where the scaling factor fH is used to control the fraction of power dissipated in various resistors representing fluid and wall components.

Detailed Equivalent Circuit Model

For reference to the variables cited below, see the governing circuit. Power dissipated by R1 and RD in each phase is deposited into the element wall while power disspated in RJ is deposited in the fluid. For nodes of element k that corresponds to an equivalent circuit pump, this is expressed as

(5.4-23)qc=3fHI23RJLk

where

Lk = length of element k

I3 = current through resistor RJ

and

(5.4-24)qw=3fH(I2R1+I22RD)Lk

If the pump element is annular (see ITYPEL), users can control how much of the wall heat is put into each of qwa and qwb as

(5.4-25)qwa=fODqwqwb=(1fOD)qw

where fOD is fOD.

Simple Equivalent Circuit Model

For reference to the variables cited below, see the governing circuit. Power dissipated by R1 in each phase is deposited into the element wall as

(5.4-26)qw=3fHI2R1Lk

No power is deposited into the coolant in the simple circuit model.

If the pump element is annular (see ITYPEL), users can control how much of the wall heat is put into each of qwa and qwb as

(5.4-27)qwa=fODqwqwb=(1fOD)qw

where fOD is fOD.