
Section 2.1 Finite-difference problem 25
Even in the simplest case of constant coefficients k(x) and q(x), we arrive at an un-
usual approximation of the lowest term in A.
Difference schemes with basis functions chosen in the form of piecewise polyno-
mials of higher degree (quadratic, cubic, etc.) can be constructed in a similar manner.
In the treatment of convection-diffusion problems (see equation (2.5)), FEM schemes
based on the Petrov–Galerkin method have gained acceptance, in which trial and ver-
ifying functions differ from each other. Along this line, in particular, finite element
analogues of ordinary difference schemes with directed differences can be constructed.
2.1.4 Balance method
Normally, differential equations reflect one or another law of conservation for elemen-
tary volumes (integral conservation laws) on contraction of the volumes to zero. In
fact, construction of a discrete problem implies a reverse transition from a differential
to an integral model. One can reasonably demand that, upon such a transition, the con-
servation laws remained fulfilled. Difference schemes expressing conservation laws
on a grid are called conservative difference schemes.
Construction of conservative finite-difference schemes can be reasonably started
from conservation laws (balances) for individual meshes of the difference scheme.
This construction method for conservative difference schemes received the name
integro-interpolation method (balance method). This approach is also known as finite-
volume method. The integro-interpolation method was proposed by A. N. Tikhonov
and A. A. Samarskii in the early 50ths.
Consider the integro-interpolation method as applied to construction of a difference
scheme for the model one-dimensional problem (2.1), (2.2). Let us consider Q(x) =
−k(x)du/dx. We choose the control volumes as the segments x
i−1/2
≤ x ≤ x
i+1/2
,
where x
i−1/2
= (i − 1/2)h. Integration of (2.1) over the control volume x
i−1/2
≤ x ≤
x
i+1/2
yields:
Q
i+1/2
− Q
i−1/2
+
x
i+1/2
x
i−1/2
q(x)u(x) dx =
x
i+1/2
x
i−1/2
f (x) dx. (2.26)
The balance relation (2.26) reflects a conservation law for the segment x
i−1/2
≤
x ≤ x
i+1/2
. The quantity Q
i±1/2
is the flux through the section x
i±1/2
. Unbalance
between these fluxes is caused by distributed sources (right-hand side of (2.26)) and
by additional sources (integral in the left-hand side of the equation).
To derive a difference equation from the balance relation (2.26), one has to use
some completion of mesh functions. We seek the solution itself at integer nodes (y(x),
x = x
i
), and fluxes, at half-integer nodes (Q(x), x = x
i+1/2
). We express the fluxes
at half-integer nodes in terms of the values of u(x) at nodal points. To this end, we