
258 FINITE ELEMENT METHOD
and
(fi
v
)= / / f{x,y)v(x,y)dxdy
/Ω
The function v is a member of the set V of all functions with continuous second
partíais on the interior of
Ω
and having zero value of the boundary 9Ω of V. Recall
that it is necessary for the solution to the BVP (10.16) to be continuous up to at least
its second
partíais.
Using Green's Theorem and the fact that v is zero on the boundary
of Ω, it follows that
(Du,v) — I I Vu(x,y) -\7v(x,y) dxdy
J Jn
so that the weak formulation of the BVP
( 10.16)
is to find u G V such that
/ / Vu{x,y) -\7v(x,y) dxdy = / / f(x,y)v(x,y)dxdy (10.18)
for all v eV.
10.3.2 Finite Element Approximation
For the sake of developing the finite element approximation to u, the domain Ω is the
unit square. That is,
Ω = {(x, y)\0 < x < 1 and 0 < y < 1}
The approximation
Uh
will be determined at 16 evenly spaced locations with Ω, as
shown in Figure 10.3. The domain Ω is partitioned into triangular elements with the
vertices of the triangles coinciding with the nodes. The nodes are numbered 1-16
and the triangular elements are numbered 1-50. The finite-dimensional subspace Vh,
from which the approximate solution
Uh
will be found, is the set of all continuous
functions that are linear over each of the triangular elements shown in Figure 10.3.
A set of basis φι(χ, y) functions for Vh are function having value one at node i and
zero at all other nodes. The functions are constructed by defining functions ψ^(χ, y)
on the triangles having node i as a vertex. Each function ipj(x, y) is linear and of the
form ax + by + c. Figure 10.4 shows the graph of basis function φ\(χ, y) and the
functions
i/)j(x,
y). From the figure, one can see that
Φι
(x,
y)
=
V>i(x,
y)
+
ψ2(χ,
y)
+
ψζ(χ,
y)
+
^14
(z,
y)
+
^13
(^,
y)
+
^12(2,
y)
Consequently, the set {φι, φ^,
··.,
φ\§) is a basis for the set Vh of piecewise-linear
functions on Ω, with value zero on the boundary <9Ω.
The Galerkin solution to Equation (10.17) from the set Vh is the function
Uh
=
J2j
ßj4>j
e V
h
, such that
//
V
(Ç^i) · ^(Y^a^dxdy = J J fY^a^idxdy (10.19)