# Pipe Flow with Heat

## Contents

# Pipe Flow with Heat#

(Lecture 7)

Following the 1D pipe flow problem in lecture 5, we now turn to problems involving both fluid flow and heat transfer.

## Problem 6.26#

Apply analysis to pressure-driven steady-state channel flow for no-slip walls. Assume \(dp/dx=1\), and \(y=-h/2\) to \(h/2\). We consider the case in which the wall temperature of the channel \(T_w\) is changing linearly along its length; that is,

where \(C_1\) and \(C_2\) are constants.

Accordingly, we consider the temperature of the fluid at any point (x,y) is given by

where \(\theta(y)\) is the difference between the fluid temperature and the wall temperature.

Figure 8.1

Derive the temperature equation in the cartesian coordinate.

First of all, let’s use the general equation for velocity we derived in lecture 5 for the same channel flow problem.

With the boundary conditions of \(u(y=\pm h/2)=0\), we have

Then, we assume that the heat going into the system (i.e. any tiny red rectangle as shown in figure 8.2) equals to the heat going out of the system. This means that the net heat flowing into or out of the system due to wall heating should be the same amount of heat as the net heat flowing into or out of the system due to fluid flow. In a word, the net heat conduction in y-direction should be the same as the net heat advection in x-direction. However, we do not consider the heat being stored in the system, so the net heat rates must be balanced out.

The velocity profile we derived earlier will help us find the net heat advection in x-direction.

Figure 8.2

As shown in the figure 8.2, the net heat advection rate (in the tiny red rectangle) is

Using the approximation that

We have the net rate of heat due to advection

We can write the equation (229) in another form by replacing velocity \(u\) with \(\frac{dx}{dt}\) to understand the physical unit (since we are all familiar with the famous equation \(Q=cm\Delta T\)).

where tiny mass of red rectangle \(dm = dx dy \rho\)

Since we know that the derivative of temperature \(T(x,y)\) in (229) wrt. \(x\) is \(C_1\), and the velocity \(u(y)\) from (225), we can rewrite (229) as

Next, we study the net heat conduction rate in the y-direction due to wall heating.

Figure 8.3: Thickness of the channel \(h\) is also represented by \(d\) since \(h\) is used as heat transfer coefficient later.

where heat flux \(q_x = - k \frac{\delta T}{\delta y}\), and \(k\) is the thermal conductivity of the fluid.

Again, using the first term of the Taylor expansion to approximate \(q_x(y+\delta y)\), we have

So equation (232) becomes

Finally, as we said before, the net heat rate of the system should be balanced by the conduction and convection. So we combine (231) and (234), and have

where \(\frac{\delta^2 T}{\delta y^2}=\frac{\delta^2 \theta}{\delta y^2}\) from (224).

Rearrange (235), we have an equation of \(\frac{\delta^2 \theta}{\delta y^2}\)

Integrate it twice, and apply two boundary conditions (\(\frac{\delta \theta}{\delta y}=0\) at \(y=0\) and \(\theta = 0\) at \(y = \pm h/2\)), we will arrive at

Using \(\frac{1}{\kappa} = \frac{\rho c}{\mu}\), \(\frac{dp}{dx}=1\) and \(d=h\) to rewrite equation (237), we will have the same answer as the book

Finally, we have

```
from mpl_toolkits import mplot3d
import numpy as np
import matplotlib.pyplot as plt
N = 100 # number of points to plot (ignore)
mu = 0.001 # viscosity of water
dpdx = 1 # when pressure difference = 0, known as Couette ﬂow
h = 0.1 # thickness of channel (m)
d = h # we use d to denote thickness h because h is later used to represent heat transfer coefficient
C1 = 0.01 # temperature rise 1 degree every 1000 m
C2 = 10
rho = 1000 # density of water
c = 4190 # specific heat capacity of water
k = 4 # thermal conductivity of water at 20 degree = 4.18 in SI unit
kappa = k/(rho*c) # thermal diffusivity, sometimes called alpha
x_range = 200 # length of the channel
def T(x, y):
return C1*x +C2 + C1/(4*kappa*mu)*( (1/6)*y**4 - ((1/4)*d**2) * y**2 + (5/96)*d**4 )
x = np.linspace(0, x_range, N)
y = np.linspace(-d/2, d/2, N)
X, Y = np.meshgrid(x, y)
Z = T(X, Y)
fig = plt.figure(figsize=(7, 5))
ax = plt.axes(projection='3d')
ax.contour3D(X, Y, Z, 50)
ax.set_xlabel('x')
ax.set_ylabel('y')
ax.set_zlabel('$T$')
ax.view_init(30, 200)
ax.set_title('Channel Flow Temperature Profile')
plt.show()
```

Then, we can work out the wall heat flux (\(q_x\) at \(y=d/2\))

The heat flux is thus a constant, independent of \(y\). If \(C_1\) is positive, the wall temperature increases in the direction of flow, and heat flows through the wall of the pipe into the fluid. If \(C_1\) is negative, the wall temperature decreases in the direction of flow, and heat flows out of the fluid into the wall of the pipe. The heat flux to the wall can be expressed in a convenient way by introducing a heat transfer coefficient \(h\) between the wall heat flux and the excess fluid temperature according to

where the overbar represents an average over the cross section of the channel.

The average is weighted by the flow per unit area, that is, the velocity through \(dy\) in 2D. Thus the flow-weighted average excess fluid temperature is

where the result can be obtained from WolframAlpha.

Note that the (243) is valid only for Reynolds numbers less than about 2200. At higher values of the Reynolds number the flow is turbulent.

The fluid mechanics literature commonly introduces a dimensionless measure of the heat transfer coefficient known as the Nusselt number \(Nu\). For pipe flow with heat addition,

The Nusselt number measures the efficiency of the heat transfer process. If the temperature difference \(\bar{T} −T_w\) were established across a stationary layer of fluid of thickness \(D\) and thermal conductivity \(k\), the conductive heat flux \(q_c\) would be

Thus the Nusselt number can be written as the ratio of convective to conductive heat transfer at a boundary in a fluid.

## Problem 6.28#

The results of this section were based on the assumption of a laminar heat transfer coefficient for the aquifer flow. Because this requires \(Re < 2200\), what limitation is placed on the Peclet number?

The Peclet number is a dimensionless measure of the mean velocity of the flow through the aquifer. It is related to the dimensionless parameters \(Re\) and \(Pr\) already introduced. Since the thermal diffusivity \(\kappa\) is \(k/\rho c\), \(Pe\) can be written as

If the flow is turbulent, then the mean velocity of the fluid is likely to be reduced because some streams would be flowing in the opposite direction as the other streams. Therefore, the \(Pe\) number would be low in reality but high in calculations.