Documente Academic
Documente Profesional
Documente Cultură
(146)
(147)
at , and
(148)
Furthermore, suppose that satisfies the following simple Dirichlet boundary conditions
in the -direction:
(149)
Note that, since is a potential, and, hence, probably undetermined to an arbitrary
additive constant, the above boundary conditions are equivalent to demanding that take the
same constant value on both the upper and lower boundaries in the -direction.
(150)
Note that the above expression for automatically satisfies the boundary conditions in the -
direction. The functions are orthogonal, and form a complete set, in the interval
. In fact,
(151)
(152)
where
(153)
at , and
(155)
at , where
(156)
etc.
Substituting Eqs. (150) and (152) into Eq. (146), and equating the coefficients of the
(since these functions are orthogonal), we obtain
(157)
for . Now, we can discretize the problem in the -direction by truncating our Fourier
expansion: i.e., by only solving the above equations for , rather than . This is
essentially equivalent to discretization in the -direction on the equally-spaced grid-points
. The problem is discretized in the -direction by dividing the domain into equal
segments, according to Eq. (114), and approximating via the second-order, central
difference scheme specified in Eq. (115). Thus, we obtain
(158)
(159)
(160)
for . Eqs. (158), (159), and (160) constitute a set of uncoupled tridiagonal
matrix equations (with one equation for each separate value). These equations can be inverted,
using the algorithm discussed in Sect. 5.4, to give the . Finally, the values can be
reconstructed from Eq. (150). Hence, we have solved the problem.
Next: 2-d problem with Neumann Up: Poisson's equation Previous: An example solution of
Richard Fitzpatrick 2006-03-29