Lecture 5
Lecture 5
1
Copyright © Sandip Mazumder
Lecture 5: What we will learn The Ohio State University
2
Copyright © Sandip Mazumder
Review of Linear ODEs The Ohio State University
d 2T dT
2
+ f1 ( x) + f 2 ( x)T =
f3 ( x)
dx dx
If we replace T by cT (where c is a constant), and the original ODE is
recovered, then the ODE is homogeneous.
Let us perform this test on the above ODE:
d 2 (cT ) d (cT )
2
+ f1 ( x) + f 2 ( x)(cT ) = f3 ( x)
dx dx
d 2T dT f3 ( x)
Simplify: 2
+ f1 ( x) + f 2 ( x)T =
dx dx c
Since this equation is different from the original ODE, the original
ODE is not homogeneous or non-homogeneous.
The ODE would be homogeneous if f3(x) were to be equal to zero. 4
Copyright © Sandip Mazumder
Review of Linear ODEs The Ohio State University
Case 1: λ2 = 0.
2
GE becomes d T T (=
x) C1 x + C2
= 0
dx 2
T (0) =0 ⇒ C2 =0
Apply BCs: T ( x) = 0
T ( L) =0 ⇒ C1 L + C2 =0 ⇒ C1 =0
In our case, this is characterized by the positive sign in front of the λ2.
9
Copyright © Sandip Mazumder
Two-dimensional Steady State Heat Conduction
The Ohio State University
Next, we will develop analytical methods for solving the 2D steady state
heat conduction equation.
Assumptions: heat conduction only, no heat generation (we will look at
this later), constant properties (k), 2D, steady state.
y To 2 2
∂ T ∂ T
GE: ∇ 2T = 2
+ 2
= 0
∂x ∂y
T (0, y ) = T0
To L TB
T ( L, y ) = TB
BCs:
T ( x,0) = T0
To x T ( x, L) = T0
Q: Is the system homogeneous?
A: No. The GE is homogeneous, but the BCs are not.
Q: Is there a transformation that will make the BCs homogeneous?
A: Yes, but not all of them. φ = T – To will make 3 of the BCs homog. 10
Copyright © Sandip Mazumder
Two-dimensional Steady State Heat Conduction
The Ohio State University
0 x φ ( x, L ) = 0 H
Another way of attaining the same goal (of homogenizing to the best
possible extent) could be to use a non-dimensional temperature:
T − To
θ= ⇒ (TB − To ) ∇ 2θ =
∇ 2T
TB − To 11
Copyright © Sandip Mazumder
Two-dimensional Steady State Heat Conduction
The Ohio State University
Separation of Variables
Next, we write θ as a product of two separate functions:
=θ θ ( x=
, y ) X ( x) ⋅ Y ( y )
Note: this may not always work out mathematically. In order for it to work
out, a certain set of rules must be obeyed strictly. For now, we will just
proceed, and visit those rules later.
∂2 ∂2
Substitute into GE: 2
( XY ) + 2 ( XY ) =
0
∂x ∂y
d2X d 2Y 1 d2X 1 d 2Y
Simplify: Y 2
+X 2 = 0 2
= −
dx dy X dx Y dy 2
Since X = X(x) and Y = Y(y), the LHS is a function of x only, while the
RHS is a function of y only.
1 d2X 1 d 2Y
The only way they can be equal is if: 2
=
− 2
constant
=
X
dx Y dy
13
f ( x) f ( y)
Copyright © Sandip Mazumder
Two-dimensional Steady State Heat Conduction
The Ohio State University
1 d 2Y
Next, we try a positive constant: − = + λ 2
Y dy 2
d 2Y Y (0) = 0
GE: +λ Y =
2
0 BCs:
2
dy Y ( L) = 0
We already know that this is an EV problem, and has a non-trivial solution:
nπ
Yn ( y ) C1n sin( =
= y ), n 0,1, 2,..., ∞
L
Now that we know that the constant must be positive, let us consider
solution to the other part of the problem.
1 d2X 1 d 2Y
=
− =
+ λ 2
X dx 2 Y dy 2
d2X
GE: 2
− λ 2
0
X= BC: X (0) = 0
dx 15
Copyright © Sandip Mazumder
Two-dimensional Steady State Heat Conduction
The Ohio State University
Recall that while we have used the three homogeneous BCs, we still
have not used the non-homogeneous BC.
Q: Why did we not try to derive a BC for X from the n-h BC?
A: Because a n-h BC, by definition, is also non-separable.
θ ( L, y ) = 1 X ( L) ⋅ Y ( y ) =
1
There are infinite many combinations that can satisfy this equation. In
other words, it is not separable uniquely, as opposed to the other BCs.
Let us first examine the integral on the LHS of the equation. It turns out
this integral is equal to zero unless n = m. Thus,
Principle of
L
0 if n ≠ m Orthogonality
nπ mπ L
I LHS ∫0=sin( y )sin( y ) dy 2 mπ
L L ∫ sin ( L y )dy if n = m
0
L L
2 mπ mπ
Therefore, Am ∫ sin ( y ) dy = ∫ sin( y ) dy
0
L 0
L
L L
mπ L mπ L
∫0 sin( L y) dy =
I RHS = − cos( y) = [1 − cos(mπ )]
mπ L 0 mπ
L L
mπ 1 2mπ
∫0 sin ( L y= ∫
2
I=
LHS ) dy 1− cos( y ) dy
20 L
L
1 L 2mπ 1 L
= y− sin( y ) = [ L − 0 − (0 − 0)=
]
2 2mπ L 0 2 2 20
Copyright © Sandip Mazumder
Two-dimensional Steady State Heat Conduction
The Ohio State University
22
Copyright © Sandip Mazumder
Two-dimensional Steady State Heat Conduction
The Ohio State University
Now that we have completed the derivation of the solution, let us re-visit
some aspects of the derivation.
Criteria that must be obeyed for Separation of Variables to apply:
1. PDE must be linear.
2. ALL equations (GE + BC + IC combination), EXCEPT ONE, must be
homogeneous.
3. All equations cannot be homogeneous. This will only produce a trivial
solution, no matter what we do.
Note: If all 3 of the above criteria are not satisfied, do not attempt SoV.