
Sunden CH004.tex 10/9/2010 15: 9 Page 150
150 Computational Fluid Dynamics and Heat Transfer
Similarly, f
b
is computed from the element as:
f
e
b
=
&
e
N
b
Qd +
&
eq
N
b
q
n
d (45)
To impose the Dirichlet boundary condition we replace
˜
φ
a
by φ
a
for the r
boundary nodes.
ItisevidentinthisexamplethattheGalerkinmethodresultsinasymmetricsetof
algebraic equations (e.g. K
ba
=K
ab
). However, this only happens if the differential
equations are self-adjoint. Indeed the existence of symmetry provides a test for
self-adjointness and also for existence of a variational principle whose stationarity
is sought.
It is necessary to remark here that if we were considering a pure convection
equation:
u
i
∂φ
∂x
i
+ Q = 0 (46)
symmetry would not exist and such equations can often become unstable if the
Galerkin method is used.
4.2.4 Characteristic Galerkin scheme for convection–diffusion equation
Unlikeasimpleconductionequation(astheLaplaceequation),anumericalsolution
for the convection equation has to deal with the convection part of the governing
equationinaddition todiffusion.For most conductionequations, the finiteelement
solution is straightforward. However, if a Galerkin type approximation was used
in the solution of convection equations, the results will be marked with spurious
oscillations in space if certain parameters exceed a critical value (element Peclet
number). This problem is not unique to finite elements as all other spatial dis-
cretization techniques have the same difficulties.A very well-known method used
in finite elements approximation to reduce these oscillations is the Characteristic
Galerkin (CG) scheme (Lewis et al. [19], Zienkiewicz et al. [20]). Here, we follow
the Characteristic Galerkin (CG) approach to deal with spatial oscillations due to
the discretization of the convection transport terms.
In order to demonstrate the CG method, let us consider the simple convection–
diffusion equation in one dimension, namely:
∂φ
∂t
+ u
1
∂φ
∂x
1
−
∂
∂x
1
k
∂φ
∂x
1
= 0 (47)
Let usconsidera characteristic of theflowas shown in Figure 4.26 in thetime–
space domain.The incremental time period covered by the flow is t from the nth
timeleveltothe n+1thtime leveland theincremental distancecoveredduringthis