A variety of boundary conditions are encountered in heat transfer analysis:
# Temperature conditions
The temperature may be prescribed at specific points and surfaces of the body, denoted by $S_{\theta}$ in (7.2).
# Heat flow conditions
The heat flow input may be prescribed at specific points and surfaces of the body. These heat flow boundary conditions are specified in (7.3).
# Convection boundary conditions
Included in (7.3) are convection boundary conditions where
$$
q ^ {s} = h (\theta_ {e} - \theta^ {s}) \tag {7.4}
$$
and h is the convection coefficient, which may be temperature-dependent. Here the environmental temperature $\theta_{e}$ is known, but the surface temperature $\theta^{S}$ is unknown.
# Radiation boundary conditions
Radiation boundary conditions are also specified in (7.3) with
$$
q ^ {s} = \kappa (\theta_ {r} - \theta^ {s}) \tag {7.5}
$$
where $\theta_{r}$ is the known temperature of the external radiative source and $\kappa$ is a coefficient, evaluated using absolute temperatures,
$$
\kappa = h _ {r} [ (\theta_ {r}) ^ {2} + (\theta^ {S}) ^ {2} ] (\theta_ {r} + \theta^ {S}) \tag {7.6}
$$
The variable $h_{r}$ is determined from the Stefan-Boltzmann constant, the emissivity of the radiant and absorbing materials, and the geometric view factors.
We assume here that $\theta_{r}$ is known. If, on the other hand, the situation of two bodies radiating heat to each other is considered, the analysis is considerably more complicated (see Example 7.6 for such a case).
In addition to these boundary conditions the temperature initial conditions must also be specified in a transient analysis.
For the finite element solution of the heat transfer problem we use the principle of virtual temperatures given as
$$
\int_ {V} \overline {{{\boldsymbol {\theta}}}} ^ {\prime T} \mathbf {k} \boldsymbol {\theta} ^ {\prime} d V = \int_ {V} \overline {{{\theta}}} q ^ {B} d V + \int_ {S _ {q}} \overline {{{\theta}}} ^ {S} q ^ {S} d S + \sum_ {i} \overline {{{\theta}}} ^ {i} Q ^ {i} \tag {7.7}
$$
where
$$
\boldsymbol {\theta} ^ {\prime T} = \left[ \begin{array}{c c c} \frac {\partial \theta}{\partial x} & \frac {\partial \theta}{\partial y} & \frac {\partial \theta}{\partial z} \end{array} \right] \tag {7.8}
$$
$$
\mathbf {k} = \left[ \begin{array}{l l l} k _ {x} & 0 & 0 \\ 0 & k _ {y} & 0 \\ 0 & 0 & k _ {z} \end{array} \right] \tag {7.9}
$$
and the $Q^{i}$ are concentrated heat flow inputs. Each $Q^{i}$ is equivalent to a surface heat flow input over a very small area. The bar over the temperature $\theta$ indicates that a virtual temperature distribution is being considered.
The principle of virtual temperatures is an equation of heat flow equilibrium: for $\theta$ to be the solution of the temperature in the body under consideration, (7.7) must hold for arbitrary virtual (continuous) temperature distributions that are zero on $S_{\theta}$ .
We note that the principle of virtual temperatures is an expression like the principle of virtual displacements used in stress analysis (see Section 4.2). We use the principle of virtual temperatures in the same way as the principle of virtual displacements, and indeed all procedures discussed in Chapters 4 and 5 are directly applicable, except that we now only have the scalar of unknown temperature, whereas in the previous discussion we solved for the vector of unknown displacements.
To further deepen our understanding of the principle of virtual temperatures, we derive the expression in (7.7) in the following example (this derivation is analogous to the presentation in Example 4.2).
EXAMPLE 7.1: Derive the principle of virtual temperatures from the basic differential equations (7.1) to (7.3).
Here we follow the procedure in Example 4.2 (see also Section 3.3.4).
Let us write the governing heat transfer equations in indicial notation. Using $x_{1} \equiv x$ , $x_{2} \equiv y$ , $x_{3} \equiv z$ , and the earlier definitions, we obtain the following.
The differential heat flow equilibrium equation to be satisfied throughout the body
$$
(k _ {i} \theta_ {, i}), _ {i} + q ^ {B} = 0 \quad \text { no sum on } i \text { in parentheses } \tag {a}
$$
The essential boundary condition
$$
\theta = \theta^ {s} \quad \text { on } S _ {\theta} \tag {b}
$$
The natural boundary condition
$$
k _ {n} \theta_ {, n} = q ^ {S} \quad \text { on } S _ {q} \tag {c}
$$
where $S = S_{\theta} \cup S_{q}, S_{\theta} \cap S_{q} = 0$ .
Let us consider any arbitrarily chosen continuous temperature distribution $\bar{\theta}$ , with $\bar{\theta} = 0$ on $S_{\theta}$ . Then we have
$$
\int_ {V} \left[ \left(k _ {i} \theta_ {, i}\right) _ {, i} + q ^ {B} \right] \bar {\theta} d V = 0 \tag {d}
$$
We call $\bar{\theta}$ the “virtual temperature distribution.” Since $\bar{\theta}$ is arbitrary, (d) can be satisfied if and only if the quantity in the brackets vanishes. Hence, (d) is equivalent to (a).
Our objective is to now transform (d) such that we lower the order of derivatives in the integral (from second to first order), and we can introduce the natural boundary condition (c). For this purpose we use the mathematical identity
$$
[ \bar {\theta} (k _ {i} \theta_ {, i}) ] _ {, i} = \bar {\theta} _ {, i} (k _ {i} \theta_ {, i}) + \bar {\theta} (k _ {i} \theta_ {, i}) _ {, i}
$$
to transform the relation in (d), to obtain
$$
\int_ {V} \left\{\left[ \bar {\theta} (k _ {i} \theta_ {, i}) \right] _ {, i} - \bar {\theta} _ {, i} (k _ {i} \theta_ {, i}) + q ^ {B} \bar {\theta} \right\} d V = 0 \tag {e}
$$
Our objective is now achieved by using the divergence theorem (see also Example 4.2). We have
$$
\int_ {V} \left[ \bar {\theta} (k _ {i} \theta_ {, i}) \right] _ {, i} d V = \int_ {S} \left[ \bar {\theta} (k _ {i} \theta_ {, i}) \right] n _ {i} d S = \int_ {S} \bar {\theta} (k _ {n} \theta_ {, n}) d S
$$
We thus obtain from (e)
$$
\int_ {V} \left[ - \bar {\theta} _ {, i} (k _ {i} \theta_ {, i}) + q ^ {B} \bar {\theta} \right] d V + \int_ {S} \bar {\theta} (k _ {n} \theta_ {, n}) d S = 0
$$
In light of (c) and the condition that $\bar{\theta}=0$ on $S_{\theta}$ , we therefore have the required result
$$
\int_ {V} \overline {{{\theta}}} _ {, i} (k _ {i} \theta_ {, i}) d V = \int_ {V} \overline {{{\theta}}} q ^ {B} d V + \int_ {S _ {q}} \overline {{{\theta}}} ^ {s} q ^ {s} d S
$$
where we note that the prescribed heat flux condition (the natural boundary condition) now appears as a forcing term on the right-hand side of the equation.
It is also of value to recognize that the principle of virtual temperatures corresponds to the condition of stationarity of the following functional
$$
\Pi = \int_ {v} \frac {1}{2} \left[ k _ {x} \left(\frac {\partial \theta}{\partial x}\right) ^ {2} + k _ {y} \left(\frac {\partial \theta}{\partial y}\right) ^ {2} + k _ {z} \left(\frac {\partial \theta}{\partial z}\right) ^ {2} \right] d V - \int_ {v} \theta q ^ {B} d V - \int_ {s _ {q}} \theta^ {S} q ^ {S} d S - \sum_ {i} \theta^ {i} Q ^ {i} \tag {7.10}
$$
Namely, invoking $\delta \Pi = 0$ , we obtain
$$
\int_ {V} \delta \boldsymbol {\theta} ^ {\prime T} \mathbf {k} \boldsymbol {\theta} ^ {\prime} d V = \int_ {V} \delta \theta q ^ {B} d V + \int_ {S _ {q}} \delta \theta^ {S} q ^ {S} d S + \sum_ {i} \delta \theta^ {i} Q ^ {i} \tag {7.11}
$$
where $\delta\theta$ can be arbitrary but must be zero on $S_{\theta}$ . Using integration by parts (i.e., the divergence theorem) on (7.11) we can of course extract the governing differential equation of equilibrium (7.1) and the heat flow boundary condition (7.3) (which in essence corresponds to reversing the process used in Example 7.1; see Example 3.18). However, on comparing (7.11) with (7.7), we recognize that (7.11) is the principle of virtual temperatures with $\delta\theta \equiv \overline{\theta}$ .
In the heat transfer problem considered above, we assumed steady-state conditions. However, when significant heat flow input changes are specified over a “short” time period (due to a change of any of the boundary conditions or the heat generation in the body), this period being short measured on the natural time constants of the system (given by the thermal eigenvalues; see Chapter 9), it is important to include a term that takes account of the rate at which heat is stored within the material. This rate of heat absorption is
$$
q ^ {c} = \rho c \dot {\theta} \tag {7.12}
$$
where c is the material specific heat capacity. The variable $q^{c}$ can be understood to be part of the heat generated—of course, $q^{c}$ must be subtracted from the otherwise generated heat $q^{B}$ in (7.7) because it is heat stored—and the effect leads to a transient response solution.
# 7.2.2 Incremental Equations
The principle of virtual temperatures expresses the heat flow equilibrium at all times of interest. For a general solution scheme of both linear and nonlinear, steady-state and
transient problems we aim to develop incremental equilibrium equations. As in an incremental finite element stress analysis (see Section 6.1), assume that the conditions at time t have been calculated and that the temperatures are to be determined for time $t + \Delta t$ , where $\Delta t$ is the time increment.
# Steady-State Conditions
Considering first steady-state conditions, in which the time stepping is merely used to describe the heat flow loading, the principle of virtual temperatures applied at time $t + \Delta t$ gives
$$
\begin{array}{l} \int_ {V} \overline {{{\boldsymbol {\theta}}}} ^ {\prime T} t + \Delta t \mathbf {k} ^ {\prime + \Delta t} \boldsymbol {\theta} ^ {\prime} d V \\ = ^ {t + \Delta t} \mathcal {Q} + \int_ {S _ {c}} \bar {\theta} ^ {S} {} ^ {t + \Delta t} h \left(^ {t + \Delta t} \theta_ {e} - ^ {t + \Delta t} \theta^ {S}\right) d S + \int_ {S _ {r}} \bar {\theta} ^ {S} {} ^ {t + \Delta t} \kappa \left(^ {t + \Delta t} \theta_ {r} - ^ {t + \Delta t} \theta^ {S}\right) d S \tag {7.13} \\ \end{array}
$$
where the superscript $t + \Delta t$ denotes “at time $t + \Delta t$ ,” $S_c$ and $S_r$ are the surface areas with convection and radiation boundary conditions, respectively, and $^{t+\Delta t} \mathfrak{Q}$ corresponds to further external heat flow input to the system at time $t + \Delta t$ . Note that in (7.13) the temperatures $^{t+\Delta t} \theta_e$ and $^{t+\Delta t} \theta_r$ are known, whereas $^{t+\Delta t} \theta^S$ is the unknown surface temperature on $S_c$ and $S_r$ . The quantity $^{t+\Delta t} \mathfrak{Q}$ includes the effects of the internal heat generation $^{t+\Delta t} q^B$ , the surface heat flux inputs $^{t+\Delta t} q^S$ that are not included in the convection and radiation boundary conditions, and the concentrated heat flow inputs $^{t+\Delta t} Q^i$ ,
$$
{ } ^ { t + \Delta t } \mathfrak { Q } = \int _ { v } \bar { \theta } { } ^ { t + \Delta t } q ^ { B } d V + \int _ { s _ { q } } \bar { \theta } ^ { S } { } ^ { t + \Delta t } q ^ { S } d S + \sum _ { i } \bar { \theta } ^ { i } { } ^ { t + \Delta t } Q ^ { i } \tag {7.14}
$$
Considering the general heat flow equilibrium relation in (7.13), we note that in linear analysis ${}^{t+\Delta t}k$ and ${}^{t+\Delta t}h$ are constant and radiation boundary conditions are not included. Hence, the relation in (7.13) can be rearranged to obtain in linear analysis,
$$
\int_ {V} \overline {{{\theta}}} ^ {\prime T} \mathbf {k} ^ {\prime + \Delta t} \theta^ {\prime} d V + \int_ {S _ {c}} \overline {{{\theta}}} ^ {S} h ^ {\prime + \Delta t} \theta^ {S} d S = ^ {\prime + \Delta t} 2 + \int_ {S _ {c}} \overline {{{\theta}}} ^ {S} h ^ {\prime + \Delta t} \theta_ {e} d S \tag {7.15}
$$
and it is possible to solve directly for the unknown temperature $t^{+\Delta t}\theta$ .
In general nonlinear heat transfer analysis the relation in (7.13) is a nonlinear equation in the unknown temperature at time $t + \Delta t$ . An approximate solution for this temperature can be obtained by incrementally decomposing (7.13) as summarized in Table 7.1. As in stress analysis (see Section 6.1), this decomposition can be understood to be the first step of a Newton-Raphson iteration for heat flow equilibrium in which
$$
{ } ^ { t + \Delta t } \theta ^ { ( i ) } = { } ^ { t + \Delta t } \theta ^ { ( i - 1 ) } + \Delta \theta ^ { ( i ) } \tag {7.16}
$$
where $^{t+\Delta t}\theta^{(i-1)}$ is the temperature distribution at the end of iteration $(i-1)$ and $\Delta\theta^{(i)}$ is the temperature increment in iteration $(i)$ ; also, $^{t+\Delta t}\theta^{(0)} = ^{t}\theta$ . In Table 7.1 we use $\theta$ to describe $\Delta\theta^{(1)}$ and consider the equation for the first iteration.
In a full Newton-Raphson iteration the accurate solution of (7.13) would be obtained by using (7.16) and updating all variables in the incremental equation of Table 7.1. in each
TABLE 7.1 Incremental nonlinear heat flow equilibrium equation
1. Equilibrium equation at time $t + \Delta t$
$$
\int_ {V} \overline {{{\theta}}} ^ {\prime T} {} ^ {t + \Delta t} \mathbf {k} ^ {t + \Delta t} \theta^ {t} d V = ^ {t + \Delta t} \mathfrak {Q} + \int_ {s _ {c}} \overline {{{\theta}}} ^ {S} {} ^ {t + \Delta t} h ^ {(t + \Delta t} \theta_ {e} - ^ {t + \Delta t} \theta^ {S)} d S + \int_ {s _ {r}} \overline {{{\theta}}} ^ {S} {} ^ {t + \Delta t} \kappa^ {(t + \Delta t} \theta_ {r} - ^ {t + \Delta t} \theta^ {S)} d S
$$
2. Linearization of equation
We use: $t^{+\Delta t}\theta = {}^{\prime}\theta +\theta ;{}^{t + \Delta t}\theta^{\prime} = {}^{\prime}\theta^{\prime} + \theta^{\prime};$ $\tilde{\kappa} = 4^{\prime}h_{r}(^{\prime}\theta^{S})^{3}$
$$
^ \prime \kappa = ^ {\prime} h _ {r} ((^ {\prime + \Delta t} \theta_ {r}) ^ {2} + (^ {\prime} \theta^ {S}) ^ {2}) (^ {\prime + \Delta t} \theta_ {r} + ^ {\prime} \theta^ {S})
$$
Substituting into the equation of heat flow equilibrium, we obtain
$$
\begin{array}{l} \int_ {V} \bar {\theta} ^ {\prime T} {} ^ {\prime} \mathbf {k} \theta^ {\prime} d V + \int_ {S _ {c}} \bar {\theta} ^ {S} {} ^ {\prime} h \theta^ {S} d S + \int_ {S _ {r}} \bar {\theta} ^ {S} {} ^ {\prime} \tilde {\kappa} \theta^ {S} d S = ^ {\prime + \Delta t} \mathfrak {Q} + \int_ {S _ {c}} \bar {\theta} ^ {S} {} ^ {\prime} h \left(^ {\prime + \Delta t} \theta_ {e} - ^ {\prime} \theta^ {S}\right) d S \\ + \int_ {S _ {r}} \overline {{\theta}} ^ {s} {} ^ {\prime} \kappa \left(^ {t + \Delta t} \theta_ {r} - ^ {\prime} \theta^ {s}\right) d S - \int_ {V} \overline {{\theta}} ^ {\prime T} {} ^ {\prime} \mathbf {k} ^ {\prime} \theta^ {\prime} d V \\ \end{array}
$$
iteration. Hence, we solve for $i = 1, 2, \ldots$ ,
$$
\begin{array}{l} \int_ {V} \overline {{{\theta}}} ^ {\prime T} {} ^ {t + \Delta t} \mathbf {k} ^ {(i - 1)} \Delta \theta^ {\prime (i)} d V + \int_ {S _ {c}} \overline {{{\theta}}} ^ {S} {} ^ {t + \Delta t} h ^ {(i - 1)} \Delta \theta^ {S (i)} d S + \int_ {S _ {r}} \overline {{{\theta}}} ^ {S} {} ^ {t + \Delta t} \tilde {\kappa} ^ {(i - 1)} \Delta \theta^ {S (i)} d S \\ = ^ {t + \Delta t} 2 + \int_ {S _ {c}} \bar {\theta} ^ {S t + \Delta t} h ^ {(i - 1)} \left(^ {t + \Delta t} \theta_ {e} - ^ {t + \Delta t} \theta^ {S (i - 1)}\right) d S \tag {7.17} \\ + \int_ {S _ {r}} \overline {{\theta}} ^ {S} {} ^ {t + \Delta t} \kappa^ {(i - 1)} \left(^ {t + \Delta t} \theta_ {r} - ^ {t + \Delta t} \theta^ {S (i - 1)}\right) d S - \int_ {V} \overline {{\boldsymbol {\theta}}} ^ {\prime T} {} ^ {t + \Delta t} \mathbf {k} ^ {(i - 1)} {} ^ {t + \Delta t} \boldsymbol {\theta} ^ {\prime (i - 1)} d V \\ \end{array}
$$
where $t+\Delta t h^{(i-1)}$ , $t+\Delta t \kappa^{(i-1)}$ , and $t+\Delta t \mathbf{k}^{(i-1)}$ are the convection and radiation coefficients and the conductivity constitutive matrix that correspond to the temperature $t+\Delta t \theta^{(i-1)}$ .
Frequently, in practice, the modified Newton-Raphson iteration is employed, in which case the left-hand side of $(7.17)$ is evaluated only at the beginning of the time step and not updated until the next time increment (see Section 8.4.1).
Although it might appear that an actual linearization of the heat flow equilibrium equation is achieved in Table 7.1, a closer study shows that the equations in the table correspond to only an approximate linearization. Consequently, (7.17) is, in general, also not a full linearization about the state of the last iteration. The difficulty lies in that the tangent relations of the material constants, that is, of the conduction, convection, and radiation coefficients when temperature-dependent, need to be included in the linearization, and this can be achieved only when the functional relationship between the material property and temperature is given in analytical form. We demonstrate this observation in the following example.
EXAMPLE 7.2: Consider the analysis of the slab shown in Fig. E7.2. Establish the incremental form of the principle of virtual temperatures for the modified Newton-Raphson iteration and for the full Newton-Raphson iteration.

text_image
Uniform convection
with coefficient h; h = 2 + θ
Uniform radiation with hr
= constant
Temperature θe(t) = 20°C
θr(t) = 100°C
Conductivity
k = 10 + 2θ
Uniform heat flow qs
2
3
1
r = -1
r = 0
r = +1
x
L
∞
text_image
Thickness = t
Conductivity = k
s
1
2 cm
r
2 cm
3
4
2 cm
Convective boundary
condition with
constant h
y
x
| Integral | Finite element evaluation |
| $\int_{V} \overline{\theta}^{tT} t + \Delta t \mathbf{k}^{(i-1)} \Delta \theta^{t(i)} dV$ | $^{t+\Delta t} \mathbf{K}^{k(i-1)} \Delta \theta^{(i)} = \left( \sum_{m} \int_{V^{(m)}} \mathbf{B}^{(m)^T} t + \Delta t \mathbf{k}^{(m)(i-1)} \mathbf{B}^{(m)} dV^{(m)} \right) \Delta \theta^{(i)}$ |
| $\int_{S_c} \overline{\theta}^S t + \Delta t h^{(i-1)} \Delta \theta^{S(i)} dS$ | $^{t+\Delta t} \mathbf{K}^{c(i-1)} \Delta \theta^{(i)} = \left( \sum_{m} \int_{S_c^{(m)}} ^{t+\Delta t} h^{(m)(i-1)} \mathbf{H}^{S(m)^T} \mathbf{H}^{S(m)} dS^{(m)} \right) \Delta \theta^{(i)}$ |
| $\int_{S_r} \overline{\theta}^S t + \Delta t \tilde{\kappa}^{(i-1)} \Delta \theta^{S(i)} dS$ | $^{t+\Delta t} \mathbf{K}^{r(i-1)} \Delta \theta^{(i)} = \left( \sum_{m} \int_{S_r^{(m)}} ^{t+\Delta t} \tilde{\kappa}^{(m)(i-1)} \mathbf{H}^{S(m)^T} \mathbf{H}^{S(m)} dS^{(m)} \right) \Delta \theta^{(i)}$ |
| $\int_{S_c} \overline{\theta}^S t + \Delta t h^{(i-1)} (t + \Delta t \theta_e - ^{t+\Delta t} \theta^{S(i-1)}) dS$ | $^{t+\Delta t} \mathbf{Q}^{c(i-1)} = \sum_{m} \int_{S_c^{(m)}} ^{t+\Delta t} h^{(m)(i-1)} \mathbf{H}^{S(m)^T} \left[ \mathbf{H}^{S(m)} (t + \Delta t \theta_e - ^{t+\Delta t} \theta^{(i-1)}) \right] dS^{(m)}$ |
| $\int_{S_r} \overline{\theta}^S t + \Delta t \kappa^{(i-1)} (t + \Delta t \theta_r - ^{t+\Delta t} \theta^{S(i-1)}) dS$ | $^{t+\Delta t} \mathbf{Q}^{r(i-1)} = \sum_{m} \int_{S_r^{(m)}} ^{t+\Delta t} \kappa^{(m)(i-1)} \mathbf{H}^{S(m)^T} \left[ \mathbf{H}^{S(m)} (t + \Delta t \theta_r - ^{t+\Delta t} \theta^{(i-1)}) \right] dS^{(m)}$ |
| $\int_{V} \overline{\theta}^{tT} t + \Delta t \mathbf{k}^{(i-1)} t + \Delta t \theta^{t(i-1)} dV$ | $^{t+\Delta t} \mathbf{Q}^{k(i-1)} = \sum_{m} \int_{V^{(m)}} \mathbf{B}^{(m)^T} \left[ t + \Delta t \mathbf{k}^{(m)(i-1)} \mathbf{B}^{(m)} t + \Delta t \theta^{(i-1)} \right] dV^{(m)}$ |