Professional Documents
Culture Documents
HW 3
ME/AOE 6434
Spring 2019
Due Thursday Feb. 14 2019
[25 points] The steady convection diffusion equation is given by
2
c 2 0 . c ; and 0
x x
The equation is to be solved on the 5 node grid as shown in the Figure. The boundary values at
nodes 1 and 5 are known values given as a and b, respectively. The grid spacing is ∆.
1 2 3 4 5
If the first derivative at node i is discretized as | i i 1 i 1 , and the second derivative as
x 2
2 2 i i 1
| i 1 , and if the Peclet number, Pe c / , construct the system A=Q
x 2 i
2
using the Peclet number. A is the 5x5 system matrix, is the solution vector and Q is the right
hand side vector.
(a) Specify each element of A, and Q.
(b) For what values of Pe is A diagonally dominant?
(c) For what values of Pe is A strictly diagonally dominant?