Professional Documents
Culture Documents
net/publication/351607939
CITATIONS READS
3 2,222
1 author:
Brian G Higgins
University of California, Davis
176 PUBLICATIONS 2,381 CITATIONS
SEE PROFILE
All content following this page was uploaded by Brian G Higgins on 15 May 2021.
Mathematical Formulation
We will consider steady conduction without any sources. The energy equation reduces to
∇ · ( k ∇T) = 0 (1)
Consider now conduction in a 1-D slab of thickness L, and a thermal conductivity k = k (T). At x = 0
the temperature is T0 and at x = L the temperature is TL . The mathematical statement of the conduc-
tion problem becomes
T
k[T] (2)
x x
and the associated boundary conditions (for fixed temperature) are
BC1 : T (0) = T0
(3)
BC2 : T (L) = TL
We will find it convenient to introduce dimensionless variables as defined below:
T - T0 x k
θ= , ξ= , = , ΔT = T0 - TL (4)
ΔT L k0
where k0 is the thermal conductivity at T = T0
Recall for a 1-D conduction in a slab with constant k, the temperature profile is linear. Thus the above
definitions for our variables ensure that θ is of O(1), and ξ is of O(1). Also, we have made the thermal
0 HeatConduction_VariableConductivity_2021.nb
conductivity dimensionless with respect to a reference thermal conductivity k0 such that over the
temperature range of interest K is of O(1). Thus our new variables may be written as
θ = θ (ξ), = [θ (ξ)] (5)
(7)
BC1 : θ (0) = 0
BC2 : θ (1) = 1
2
Since the group K0 ΔT L is a non-zero constant we can divide through by it to obtain
θ
=0
ξ ξ
(8)
BC1 : θ (0) = 0
BC2 : θ (1) = 1
To solve this equation we need to specify how the thermal conductivity depends on temperature, viz.,
= (θ) (9)
T(K) k (W/(m·K)
200 413
300 401
400 393
500 386
600 379
800 366
We can use Mathematica to examine this dependence. First, we create an interpolation function from
the data:
HeatConduction_VariableConductivity_2021.nb 0
In[]:= data = {{200, 413}, {300, 401}, {400, 393}, {500, 386}, {600, 379}, {800, 366}};
cond = Interpolation[N[data]];
k[T_] := cond[T]
410
400
K(T)
390
Out[]=
380
370
360
200 300 400 500 600 700 800
T(K)
Note that for temperatures T > 250 K, the plot is effectively linear. This suggest we write k (T) as a
Taylor series about a reference temperature
T
k[T] = k0 [T0 ] + (T - T0 ) + … + HOT (10)
T T0
or more compactly as
k[T] = k0 + α (T - T0 ) (11)
Analytical Solution
In this section we show that if the thermal conductivity is taken as a linear function of temperature, we
0 HeatConduction_VariableConductivity_2021.nb
can solve the 1-D thermal conduction problem analytically. Recall the problem we need to solve is
θ
(1 + β θ) =0
ξ ξ (13)
BC1 : θ (0) = 0
(14)
BC2 : θ (1) = 1
We can integrate the ODE once to get
θ
(1 + β θ) = C1 (15)
ξ
Reorganizing this equation as
(1 + β θ) θ = C1 ξ (16)
Using Mathematica
We can use Mathematica to solve this quadratic equation for θ (obviously we could do this by hand)
β β
In[]:= sol1 = Solveθ + θ2 == 1 + ξ, θ
2 2
-1 - 1 + 2 β ξ + β2 ξ -1 + 1 + 2 β ξ + β2 ξ
Out[]= θ , θ
β β
The solution is in the form of a replacement rule. If we evaluate these two solutions at the boundaries ξ
=0, 1 we obtain after simplifying the expressions and expanding the radicals
In[]:= {θ /. sol1 /. ξ 0, θ /. sol1 /. ξ 1} // Simplify // PowerExpand
2 2+β
Out[]= - , 0, - , 1
β β
Thus the first solution does not satisfy the boundary conditions, and should be discarded. Here is a plot
of the second solution for copper with a β = -0.0237
HeatConduction_VariableConductivity_2021.nb 0
0.8
0.6
θ
Out[]= 0.4
0.2
0.0
0.0 0.2 0.4 0.6 0.8 1.0
The plot shows as expected that when β << 1, then θ (ξ) ≈ ξ. That is, θ is a linear function of ξ
which is the result found previously for a constant thermal conductivity. In summary, we expect that a
constant thermal conductivity will suffice in most situations.
T (19)
BC1 : - k = h[T (0) - T∞ ]
x T (0)
BC2 : T (L) = TL
For this problem it is convenient to use the previous dimensionless variables. The problem statement
becomes
θ
(1 + β θ) =0
ξ ξ
θ (20)
BC1 : (1 + β θ) = i ( θ[0] + γ)
ξ θ (0)
BC2 : θ (1) = 1
where the dimensionless groups i and γ are defined as
0 HeatConduction_VariableConductivity_2021.nb
h T0 - T ∞
i = , γ= (21)
k0 L ΔT
where i is the Biot number. Note that in the limit i 0, we get a zero flux BC at ξ = 0. In the limit i
∞, T0 T∞ ,and thus γ 0 so that θ[0] 0. The relevant general solution is
β
In[]:= Solveθ[ξ] + θ[ξ]2 == C1 ξ + C2 , θ[ξ]
2
-1 - 1 + 2 β ξ C1 + 2 β C2 -1 + 1 + 2 β ξ C1 + 2 β C2
Out[]= θ[ξ] , θ[ξ]
β β
β
In[]:= sol = LastSolveθ[ξ] + θ[ξ]2 == C1 ξ + C2 , θ[ξ][[1]]
2
-1 + 1 + 2 β ξ C1 + 2 β C2
Out[]= θ[ξ]
β
-1 + 1 + 2 β C2
Out[]= C1 i γ +
β
We have two equations and two unknowns which we can solve for the constants C1 and C2 in terms of
β, i and γ. The solution is given by
By examining the limiting cases i 0, we require that θ=1 for all values of β. In this way we can
deduce that the relevant solution is the first one.
HeatConduction_VariableConductivity_2021.nb 0
Let is evaluate the temperature profile when the Biot number Bi is zero:
In[]:= ((θ[ξ] /. tempProfile) /. i 0) // FullSimplify // PowerExpand
Out[]= 1
1.5
θ (ξ)
1.0
Out[]=
0.5
0.0
0.0 0.2 0.4 0.6 0.8 1.0
Here is a plot of the temperature profile when β = - 0.02137, γ = 0.8, and i = 20:
0 HeatConduction_VariableConductivity_2021.nb
In[]:= Plot[Evaluate[θ[ξ] /.tempProfile /.i 20 /.β - 0.02137` /.γ 0.8`], {ξ, 0, 1},
Frame True, FrameLabel {Style["ξ", 16], Style["θ (ξ)", 16]}, PlotStyle Thick]
1.0
0.5
θ (ξ)
Out[]= 0.0
-0.5
0.5
θ (ξ)
0.0
Out[]=
-0.5
380
360
T(x)
Out[]= 340
320
300
0.0 0.5 1.0 1.5 2.0
x
As expected, since β << 1 for the full temperature range, the solution is effectively a straight line, as we
saw previously. It is important to recognize that our numerical analysis used the interpolation expres-
sion for the thermal conductivity
In[]:= k[T]
Thus if our thermal conductivity data was not linear over the temperature range of interest, we can still
solve the problem using this method.
This problem cannot be solved analytically, but we can readily obtain a solution via our shooting
method.
In[]:= system[Ω_] :=
{D[(k[T[x]] × T '[x]), x] == - 8000 Exp[0.005 T[x]], T[0] == 300, T '[0] == Ω}
sol5[Ω_] := NDSolve[system[Ω], T[x], {x, 0, 2}]
yend[Ω_ ? NumericQ] := First[(T[x] /. sol5[Ω]) /. x -> 2]
By first plotting how our BC at x = L varies with Ω we can determine our initial guesses for FindRoot.
Recall we want the value of Ω such that yend[Ω] = 400.
40
yend[Ω]-400
20
0
Out[]=
-20
-40
T(x)
Thus the value of the slope that we are looking for is Ω ≈ 190. The initial guesses we will use for Find-
Root are Ω = 150, Ω = 250. Here is the final result
440
420
400
380
T(x)
Out[]=
360
340
320
300
0.0 0.5 1.0 1.5 2.0
x
As expected, since we have a source term, the profile is no longer linear, but exhibits a local maximum.
View publication stats
HeatConduction_VariableConductivity_2021.nb 0
Summary
The above calculations show how to solve the thermal conduction problems when the thermal conduc-
tivity is an arbitrary function of temperature. When the temperature dependence of the thermal conduc-
tivity can be expressed as a linear function of temperature, the problem can be solved analytically,
though the algebra may be prohibitive if the BCs involve Newton's law of cooling. Since k/T can
often be approximated as a constant, a prudent approach is to use a conductivity value based on the
average temperature.
If one is given specific data for the thermal conductivity it is relatively straightforward to incorporate
the data into a numerical solution of the nonlinear BVP. This method also allows one to analyze conduc-
tion problems involving nonlinear source terms.