integral over the whole domain Ω in Eq.(50) to the sum of integrals
over all physical elements
N
X
i=1
[A
i
(V, U) − (V, f)
i
− < V, β >
i
] = 0 ∀V. (51)
For example, for the equation
−∇(p(x, y)∇v(x, y)) + q(x, y)v(x, y) = f(x, y),
the functionals in Eq.(51) can be written as
A
i
(V, U) =
Z Z
Ω
i
(V
x
p(x, y)U
x
+ V
y
p(x, y)U
y
+ V q(x, y)U)dx dy,
(V, f)
i
=
Z Z
Ω
i
V f dx dy,
< V, β >
i
=
Z
∂Ω
i
∩∂
˜
Ω
V β ds.
It is important that the integration in the last integral is performed over
the approximation of the domain boundary ∂
˜
Ω, not over the boundary
∂Ω itself. As we have already noted, they do not necessarily coincide.
• The construction of the global stiffness matrix and load vec-
tor.
As well as for the one-dimensional case, we should number all the basis
functions and combine the global stiffness matrix and the load vector
from the elemental matrices. For the one-dimensional case, we had a
simple and effective numbering according to the increase of the coor-
dinate. In the multidimensional case this numbering is missed but we
have a few different strategies to number the basis functions.
• The solution of the linear algebraic system.
The solution of the linear algebraic system is the last stage of the FEM
49