Professional Documents
Culture Documents
v
Keywords 2 dimension , 3 dimension , FDM , MOM 2V (6)
0
1
2 V(x, y) V x h, y V x h, y
h2
V x, y h V x, y h 4V x, y (8)
Figure 1. (a) The general five-point scheme, (b) The three-point scheme at the
corner.
V1 V2 V3 V4
V0 (9)
4 However, in Poisson's equation, it will modify the charge
density that is to be evaluated at the central point (0). For the
The voltage at the center is approximated as being the special case of a corner point, this five point scheme has to be
averageof the voltages at the four tips of the star. [4]For the modified to a three point one as shown in Figure 1(b). In this
three-dimensional case, the square is replaced with a cube and case the principle of the average value simply gives[4]
a seven-point scheme is applied. In this case, the coefficient
1/4 in equation (9) is simply replaced with 1/6.
V1 V2
V0 (10)
2
four charges are specified with reference to this coordinate The four equations in (13) can also be written in matrix
system. The potential at two of the charges (Q1 and Q2) is notation. Remember that MATLAB was originally created in
specified to be V1 = V2 = -1 and the potential atthe other two order to solve problems of the type
(Q3and Q4) is specified to be V3 = V 4 = +1. The value of the
individual charges is unknown. In order to obtain a unique
solution for the values, of these 4 charges, we must be able to [P][Q] = [V] (15)
writedown 4 equations that will describe the potential at the 4
defined locations. We assume that the region is a vacuum and
we can use superposition. We write four linear equations for
the potentials at the four points where [V] is the column vector of the known potentials, [Q] is
the column vector of the unknown charges and [P] is the
square matrix of coefficients
1 1 1 1
r1 r1 r1 r2 r1 r3 r1 r4
1 1 1 1
1 r2 r1 r2 r2 r2 r3 r2 r4
P (16)
40 1 1 1 1
r3 r1 r3 r2 r3 r3 r3 r4
1 1 1 1
r4 r1 r4 r2 r4 r3 r4 r4
V. REFERENCES