Professional Documents
Culture Documents
1 Theoreti
al ba
kground
1.1 Linear adve
tion equation . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.1 Example: The equation of mass transport . . . . . . . . . . . .
1.1.2 Wave solutions of the Cau
hy problem for linear adve
tion equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.3 Solution using the method of
hara
teristi
s . . . . . . . . . . .
1.1.4 Riemann problem of two gases. Conta
t dis
ontinuity . . . . .
1.1.5 Two-dimensional adve
tion type problems . . . . . . . . . . . .
1.2 Linear diusion equation . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.1 Mole
ular diusion: Fi
k's law . . . . . . . . . . . . . . . . . .
1.2.2 Solution of the diusion equation . . . . . . . . . . . . . . . . .
1.3 The steady-state linear adve
tion-diusion rea
tion problem . . . . . .
.
.
3
3
3
.
.
.
.
.
.
.
.
6
7
11
12
15
15
16
19
.
.
.
.
21
21
21
26
32
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
41
41
42
44
46
46
48
49
50
50
52
52
1
Contents
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
57
57
58
59
61
1 Theoreti
al ba
kground
In this
hapter the two basi
type equations
onsidered in this
ourse are presented
u
~u = 0
+ ~a r
t
(1.2)
u
u
+ a
= 0
t
x
(1.3)
1 Theoreti al ba kground
The physi
al prin
iple of
onservation of mass states that mass
an neither be
reated
nor destroyed. Thus for any arbitrary
ontrol volume V R d (where the
ontrol
volume is at rest, i.e., does not move)
Time rate of
hange of mass inside V = Mass
ux through boundary of V
Z
Z
~u ~n d
(1.4)
d~x =
t V
V
Therein V denotes the boundary of
ell V and ~n is the outer unit normal ve
tor. The
mass
ux through boundary of V is asso
iated with the mass transported (
onve
ted)
by the velo
ity ~u through boundary of V .
Now we want to understand this equation physi
ally. For this purpose we
onsider the
following simple situation of a uniform
ow in a
ylindri
al du
t (see Fig. 1.4).
We assume a
ow eld parallel to the
ylinder side walls. Denote the
uid density,
and therefore the innitesimal volume dV represents an innitesimal "
uid parti
le"
of mass dm = dV . We
onsider a
ontrol volume V bounded by the
ross-se
tions
A1 , A2 and by the
ylinder side walls. Denote ~n1 and ~n2 the unit normal ve
tor of A1
and A2 respe
tively poinint in outward dire
tion. Note that at the in
ow boundary
A1 we have ~u ~n1 < 0 and at the out
ow boundary A2 ~u ~n2 > 0. Finally, on the
ylinder side walls, the velo
ity eld is tangential to the wall ~u ~n = 0 (no penetration
ondition). We start with the
onservation prin
iple
dm= dV
11
00
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
000
111
00
11
000
111
000
111
000
111
A1
A2
0
1
1
0
0
1
0
1
0
1
0
1
0
1
0
1
11
00
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
A : Area
u : velocity
11
00
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
V: control volume
Thus all
uid parti
les
ontained in the
ylinder sket
hed in Fig. 1.2 pass through
ross se
tion A in time t. The asso
iated mass m in this
ylinder of volume
V = ~u ~nt A is given by
m = V = ~u ~nt A:
Thus the mass
ux through A is given by
m
= ~u ~n A:
t
More generally the mass
ux through A is given by the integral
m_ =
m_ =
~u ~n d:
Putting this all together the prin
iple of mass
onservation applied to the
ontrol
Cylinder of
volume V
cross section A
u. n t
A1
~u ~n d
A2
~u ~n d
Z
W
~|{z}
u ~n d
=0 on W
where W denotes the
ylinder side wall. Using the denition of the boundary V of
V we arrive at the desired form
Z
Z
~u ~n d
(1.5)
d~x =
t V
V
This is
alled the
onservative (or integral) form of the equation des
ribing the prin
iple
of mass
onservation.
Using Gaussian Theorem we have
Z
V
~u ~n d =
r~ (~u) d~x
5
1 Theoreti al ba kground
Z
~ (~u) d~x = 0
~ (~u) d~x =
+ r
(1.6)
d~x +
r
t V
V
V t
whi
h is
alled divergen
e form. Now for a moment we assume that and ~u are smooth.
Then from the fa
t that (1.6) holds for an arbitrary
ontrol volume
ontaining ~x, we
infer that the integrand must vanish identi
ally:
~ (~u) = 0
+ r
(1.7)
t
This form is
alled dierential form of the prin
iple of
onservation of mass.
In the
ase of non-smooth data, we
an also infer (1.9). However, then the issue is
"in whi
h sense does this equation hold ?" This question will lead us to the
on
ept
of weak solutions of (1.9). Using this
on
ept we will derive a
ondition of fundamental importan
e, the so-
alled Rankine-Hugoniot
ondition. We are interested in
solutions of (1.9) whi
h are pie
ewise C 1 (
ontinuously dierentiable) but whi
h may
have jumps (dis
ontinuities). If su
h a fun
tion solves (1.9) in the weak sense, then it
does also solve (1.6) if and only if the data on both sides of the dis
ontinuity satisfy a
ertain
ondition, the above mentionned Rankine-Hugoniot
ondition.
In this le
ture we are interested in to
alled in
ompressible
uid
ow. A
ow is
alled
in
ompressible if
r~ ~u = 0
(1.8)
Air
ows
an be treated to be in
ompressible if jj~ujj < 0:3Ma, where Ma is the speed
of sound (whi
h is about 340ms 1 for air at standard
onditions). Then using the
relation
r~ (~u) = |r~{z ~u} + r~ ~u
=0
(1.9)
1.1.2 Wave solutions of the Cau
hy problem for linear adve
tion
equations
We study the Cau
hy problem dened by this equation in the spa
e-time domain
R R + f (x; t) 2 R 2 : x 2 R ; t 2 R ; t > 0 g
u
u
+ a
= 0
in R R +
(1.10)
t
x
u(x; t) = u0 (x)
in R f 0 g
(1.11)
A Cau
hy-problem is a partial dierential equation whi
h is dened on the entire R d
(d 2 N ) for the spatial variable(s) and on the half plane of positive real numbers R >0
6
for the temporal variable. Therefore is is an initial value problem and we only have
to impose an initial boundary
ondition (i.e., a boundary
ondition for the temporal
variable at t = 0).
The solution of the Cau
hy problem is given by
u(x; t) = u0 (x at)
(1.12)
a solution preserves the shape of the initial solution (
alled wave form) u0 (x)
and propagates at a
onstant speen a to the right (if a > 0) or left (if a < 0) as
time evolves.
a is
alled wave speed: the wave-front, i.e., the solution u(x; t) whi
h is
onstant
along ea
h ray x at = x0 , propagates with speed a.
Remark 1
u = u(x a(x)t) ; or
(1.13)
u
u
u u
+ a
= (1; a)
;
t
x
t x
= 0
(1.14)
u
We note that u
t + a x is the dire
tional derivative of u(x; t) in the x-t plane in the
dire
tion (a; 1). If we x (x0 ; t0 ) in the x t plane and step to (x0 + a; t0 + 1) in (a; 1)
1 Theoreti al ba kground
dire
tion, then the solution for u remains
onstant. Then (1.14) states that there is
no
hange in the solution u in the dire
tion of (a; 1) in the x-t plane.
In the t x plane, the slope of the
urve x = x(t) is dx=dt, and so we have
dx
= a
(1.15)
dt
In pra
ti
e it is more
onvinient to use the x-t plane to sket
h the
hara
teristi
s. In
that
ase the slope of the
urve t = t(x) is dt=dx = 1=a.
(1.16)
Proof.
u
u dx u
u
d
u(x(t); t) =
+
=
+ a
= 0
dt
t
x dt
t
x
(x0 ;t0 ) (t) is the
hara
teristi
urve
rossing point (x0 ; t0 ) in the x-t plane. For a
linear adve
tion equation, for ea
h point (x; t) in the x-t plane there is exa
tly one
hara
teristi
line passing through (x; t). The
hara
teristi
s provide method for det
u(x,t)
u(x, 3 t )
u(x,t)
u(x, 2 t )
u(x, t )
3t
(x 1 ,t1)
slope
dt/dx=1/a
2t
x = a t
x
2x
3x
x
u(x,0)
t=0
u 0 (x)
a
( , 0)
x = + at
2. The u(x; t) is given by
u(x; t) = u(; 0)
partial dierential equation of adve
tion type by nding the solution of the
orresponding ordinary dierential equation for the
hara
teristi
urves. The
hara
teristi
urves are a one-parametri
family of
urves in the x-t plane whi
h are the integral
urves of the ordinary dierential equation dx=dt = a.
equation
u
u
+
= 0
t
x
u(x; 0) =
(x)
u(0; t) = b(t)
R+
on R + f0g
on f0g R +
in
R+
b(t)
c(x)
1 Theoreti al ba kground
hara
teristi
line passing through (x; t). Note that wavefronts (or
hara
teristi
s) with
t x2 =2 pass through the positive x-axis and hen
e for ea
h (x; t) on su
h a
hara
teristi
the solution is determined by
(x). The wavefronts with t x2 =2 pass through
the positive t-axis and thus the solution at (x; t) lo
ated on su
h a
hara
teristi
is
determined by b(t).
Now we
onsider an arbitrary point (x1 ; t1 ). The wavefront through (x1 ; t1 ) is
1 2
(x
2
t t1 =
x21 )
Case 1. If t1 x21 =2 then this wavefront interse
ts the positive x-axis at x = x0 , say,
where t = 0 and therefore
1
t1 = (x20 x21 ):
2
x0 =
x21 2t1 :
Sin
e any two points (x0 ; t0 ), (x1 ; t1 ) on the same
hara
teristi
urve have the same
value of u, we
on
lude that u(x1 ; t1 ) = u(x0 ; 0) =
(x0 ) whi
h implies that
u(x1 ; t1 ) =
q
x21
2t1
Case 2. If t1 > x21 =2, then the wavefront interse
ts the positive t axis at t = t0 , where
t0
1 2
x :
2 1
t1 =
t0 = t1
Sin
e any two points (x0 ; t0 ), (x1 ; t1 ) on the same
hara
teristi
urve have the same
value of u, we
on
lude that u(x1 ; t1 ) = u(0; t0 ) = b(t0 ) whi
h implies that
u(x1 ; t1 ) = b t1
1 2
x
2 1
u(x; t) =
x2 2t ;
b t 12 x2 ;
t 21 x2
t > 21 x2
1 Theoreti al ba kground
gas 1: O2
diaphragm
gas 2: N O 2
Contact discontinuity at x = a t
Figure 1.5: Illustration of solution of linear s
alar Riemann problem and
onta
t dis
ontinuity.
and x > 0, separated by a rigid diaphragm, see Fig. 1.5. Suppose at ea
h side of the
diaphragm, there are dierent gases, say for x < 0 we have Oxygen O2 with density
l and for x > 0 we have Nitrogen dioxide NO2 with density r . (We assume that
pressure and temperature are the same on both sides). We apply a
onstant velo
ity
eld u > 0 and assume that the diaphragm is instantaneously removed. This is the
situation at t = 0.
Now the velo
ity eld transports the gas mole
ules with adve
tion speed u > 0. The
dis
ontinuity in (initially at x = 0 for t = 0) travels to the right with
hara
teristi
speed u and is lo
ated at x = ut at time t. This dis
ontinuity is a so
alled
onta
t
dis
ontinuity: The gas initially on one side of the diaphragm never mixes with gas
from the other side. As time evolves, the two gases remain in
onta
t along the
hara
terisi
urve in the x t plane along whi
h there is a jump in density. This is
the
onta
t dis
ontinuity.
Gas X
t = t1
Gas X3
Gas X
Gas X3
2
x
Gas X2
x
Gas X2
Gas X1
Gas X1
Figure 1.6: Adve tion type equation for on entration. Solution at t = 0 and t = t1 .
n = nX1 of gas X1 .
n
n
n
+ ux
+ uy
t
x
y
n(x; y; 0)
n(x; y; t)
n(x; y; t)
Its solution is given by
n(x; t) =
n0
0
= 0
in
R +
= 0
= n0
= 0
in
f0g
auf f(x; y) 2
auf f(x; y) 2
(~u) j x > x0 g R +
(~u) j x < x0 g R +
For t large enough (here: t > maxfLx =ux ; Ly =uy g), the solution be
omes stationary
or steady-state (i.e., independent of t)
(
n(x; t) =
n0
0
; y < uuxy (x x0 )
; otherwise
Now the aim is to illustrate what happens physi
ally. As time evolves, the mole
ules
of gas X1 and X2 are adve
ted into the domain whereas the mole
ules of gas X3
are adve
ted out of the domain. Between ea
h two dierent gases, there is a
onta
t
dis
ontinuity, see Fig. 1.10 (left and right). Adve
tive transport of mole
ules is along
the integral
urves of the velo
ity eld ~u, whi
h are straight lines for the
ase ~u =
onst,
see 1.10 (right).
At time t4 , all mole
ules of gas X3 have left the domain,
f. Fig. 1.10 (left). New
mole
ules of gas X1 resp. X2 enter the domain at the in
ow boundary and the same
number of mole
ules of X1 resp. X2 leave the domain at the out
ow boundary. Thus at
two arbitrary times t5 ; t6 > t4 , albeit the individual mole
ules still
hange, the solution
at t5 and t6 is exa
tly the same, see Fig. 1.10 (left): For (x; y) with y < uy =ux (x x0 )
we have ex
lusively gas mole
ules of type X1 and otherwise ex
lusively mole
ules of
typ X2 . This is
alled a stationary solution of the
orresponding time-dependent
13
1 Theoreti
al ba
kground
t = t2
t = t3
Gas X 3
Gas X
Gas X3
Gas X
x
Gas X2
x
Gas X2
Gas X1
Gas X1
Figure 1.7: Adve
tion type equation for
on
entration. Solution at t = 0 and t = t1 .
t=t
t=0
uy
ux
Gas X3
Gas X 2
Gas X 2
x
Gas X2
Gas X1
x
Gas X2
Gas X1
Figure 1.8: Adve
tion type equation for
on
entration. Left: At t = t4 the stationary
solution is rea
hed. Right: Corresponding velo
ity (adve
tion) eld.
problem.
Remark 3 In the above example, the gas mole ules are transported ex lusively along
the integral
urves of the velo
ity eld. In parti
ular, there is a separation between
the two gases at all times
alled
onta
t dis
ontinuity. However, this is an idealized
situation. In a real
uid, there is a mixing of mole
ules due to their thermal random
motion. The solution is a superposition of two solutions stemming from two dierent
kinds of transport pro
esses, viz., adve
tion and diusion:
An adve
tion type solution: the mole
ules are adve
ted along the integral
urves
of the adve
tion eld.
A diusion type solution: the mole ules diuse isotropi ally in all dire tions.
Diusion is due to the individual random thermal motion of the mole
ules. Diusion
an be observed whenever the
on
entration of a substan
e (being the number of
mole
ules of the substan
e per unit volume) varies from pla
e to pla
e. Then diusion
o
urs in the dire
tion in whi
h the
on
entration de
reases. Diusion tends to equalize the mole
ular distribution of the diusing substan
e until statisti
al equilibrium is
rea
hed. The next se
tion is dedi
ated to diusion type pro
esses.
14
11
00
11
00
11
00
111
000
111
000
111
000
111
000
11
00
11
00
11
00
11
00
00
11
11
00
00
11
111
000
000
111
000
111
11
00
00
11
00
11
111
000
000
111
000
111
000
111
11
00
11
00
11
00
t=0
11
00
11
00
11
00
11
00
11
00
11
00
00
11
11
00
00
11
00
11
00
11
11
00
00
11
111
000
000
111
000
111
000
111
Diaphragm
11
00
00
11
00
11
00
11
11
00
00
11
00
11
11
00
00
11
00
11
00
11
111
000
000
111
000
111
000
111
11
00
11
00
11
00
t = t1
111
000
111
000
111
000
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
000
111
111
000
000
111
000
111
11
00
00
11
00
11
11
00
00
11
00
11
00
11
11
00
00
11
00
11
11
00
00
11
00
11
00
11
11
00
00
11
00
11
111
000
000
111
000
111
000
111
11
00
11
00
11
00
111
000
111
000
111
000
000
111
111
000
000
111
000
111
111
000
111
000
111
000
111
000
111
000
111
000
111
000
111
000
111
000
111
000
111
000
111
000
111
000
111
000
00
11
11
00
00
11
00
11
111
000
000
111
000
111
000
111
111
000
111
000
111
000
11
00
00
11
00
11
00
11
11
00
00
11
00
11
00
11
111
000
111
000
111
000
000
111
000
111
111
000
000
111
111
000
111
000
111
000
11
00
11
00
11
00
111
000
000
111
000
111
11
00
11
00
11
00
00
11
00
11
11
00
00
11
00
11
00
11
11
00
00
11
111
000
111
000
111
000
111
000
111
000
111
000
00
11
00
11
11
00
00
11
00
11
11
00
00
11
111
000
000
111
000
111
111
000
111
000
111
000
00
11
00
11
11
00
00
11
11
00
11
00
11
00
11
00
11
00
11
00
11
00
00
11
11
00
00
11
11
00
00
11
00
11
000
111
000
111
111
000
000
111
11
00
11
00
11
00
11
00
11
00
11
00
111
000
111
000
111
000
111
000
111
000
111
000
111
000
000
111
000
111
111
000
000
111
11
00
00
11
00
11
11
00
00
11
00
11
000
111
000
111
111
000
000
111
00
11
11
00
00
11
00
11
000
111
111
000
000
111
000
111
00
11
00
11
11
00
00
11
11
00
11
00
11
00
11
00
00
11
11
00
00
11
Gas X 2
11
00
11
00
11
00
11
00
11
00
11
00
11
00
000
111
000
111
111
000
000
111
00
11
00
11
11
00
00
11
111
000
111
000
111
000
111
000
jE =
where "net number" means the number of parti
les
rossing A in dire
tion of the
surfa
e normal ~n of A minus the number of parti
les
rossing A in the dire
tion of ~n.
The parti
le
urrent density j is of dimension m2 s 1 . Then Fi
k's law states that
j =
d
dx
15
1 Theoreti
al ba
kground
000
111
000
111
000
111
00
11
00
11
11
00
00
11
00
11
00
11
00
11
00
11
11
00
00
11
00
11
00
11
00
11
11
00
00
11
000
111
111
000
000
111
11
00
00
11
00
11
000
111
111
000
000
111
11
00
00
11
00
11
00
11
11
00
00
11
00
11
11
00
00
11
00
11
000
111
00 111
11
000
11
00
111
00 000
11
000
111
111
000
000
111
000
111
000
111
00
11
11
00
00
11
00
11
00
11
00
11
11
00
00
11
111
000
000
111
000
111
11
00
11
00
11
00
000
111
111
000
000 11
111
00
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
00
11
000
111
000
111
000
111
000
111
000
111
000
111
000
111
11
00
111
000
000
111
000
111
000
111
11
00
111
000
00
11
000
111
11
00
111
000
00
11
000
111
00
11
000
111
00
11
000
111
00
11
00
11
000
111
00
11
000
111
000
111
00
11
000
111
000
111
000
111
11
00
000
111
000
111
000
111
11
00
000
111
000
111
11
00
000
111
000
111
00
11
00
11
00
11
00
11
11
00
00 111
11
00
11
000
111
11
00
000
00
11
000
111
11
00
000
111
000
111
000
111
000
111
000
11 111
00
111
000
11
00
000
111
11
00
111
000
11
00
000
111
11
00
111
000
11
00
000
111
000
111
000
111
00
11
000
111
000
111
00
11
000
111
00
11
00 111
11
000
111
000
00
11
000
111
00
11
000
111
00
11
000
111
000
111
000
111
00
11
000
111
000
111
000
111
00
11
000
111
000
111
000
111
00
11
000
111
000
111
000
111
000
111
Larger concentration
000
111
000
111
111
000
000
111
00
11
11
00
00
11
111
000
000
111
000
111
000
111
11
00
11
00
11
00
11
00
00
11
00
11
00
11
00
11
00
11
11
00
00
11
Smaller concentration
(1.17)
(1.18)
u(x; 0) = H (x) =
1
0
; x>0
; x<0
(1.19)
The fun
tion H is often
alled Heavyside fun
tion. As H is invariant with respe
t to
stret
hing, we make the ansatz
x
1 1
u(x; t) = u( p x; t) = u( p ; 1)
t
t
t
where we formally use a = t
px :
t
z (x; t) =
Then we have
dg 1
dg z
p
=
dz x
dz t
d2 g 1
dg 1
p
= 2
Gxx =
Gx =
x
x dz t
dz t
dg x
dg z
=
Gt =
dz x
dz 2t3=2
Gx =
From these relations we obtain the following ordinary dierential equation for g
Gxx
Gt = 0
2
x
= 0
() ddzg2 1t + dg
dz 2t3=2
d2 g
dg x
p =0
2 +
dz
dz
2 t
dh
=
dz
d
dh=dz
=
ln(h) =
h
dz
=)
ln(z ) =
()
z
h
2
d z2
dz 4
~2
z2
4
z 2
h(z ) =
2 e ( 2p )
17
1 Theoreti al ba kground
=)
or
Z z
h(z ) dz =
1 +
2
0
Z x=pt
z 2
G(x; t) =
1 +
2
e ( 2p ) dz
0
Z x=p4t
p
2
e s ds
G(x; t) =
1 + 2
2
g(z ) =
1 +
Z z
z 2
e ( 2p ) dz
x<0 :
p
lim G(x; t) = 1
t!0
1 =
1
;
2
2 =
p1
2
R + then reads
Z x=p4t
2
e s ds
(1.20)
Now we want to visualize the solution (1.20). The
ru
ial point is the integral
Z x=p4t
2
e s ds
I (x; t; ) =
0
whi
h depends on x, t and the parameter . First we x x > 0 (for the
ase x < 0
thepargument is similar) and
p . We
onsider the dependen
e on t. At t = 0 we have
x= t = 1 and I (x; t; ) = =2.
As t in
reases, the upper limit of the integral de
reases and so the value of I (x; t; )
be
omes smaller. As a physi
al intepretation, re
all that the gradient in u in the
initial
ondition
auses a diusion of u in the negative x-dire
tion. As t in
reases,
u(x; t) de
reases due to diusion in the negative x-dire
tion.
Now we study the dependen
e of I (x; t; ) on x for xed t and . For small values of
x the upper limit of the integral is smaller than for large values of x. Thus I (x; t; )
be
omes smaller as x ! 0. As a physi
al interpretation, in the vi
inity of x = 0 the
gradient of u is maximal and hen
e this region is ae
ted largest by diusion.
Finally we study the ee
t of the parameter on the diusion pro
ess. If is de
reased,
18
1.3 The steady-state linear adve tion-diusion rea tion problem
then for xed x, t the integral I (x; t; ) be
omes larger and the diusion pro
ess is
slower. For a larger value of , (for x x, t) the integral I (x; t; ) be
omes smaller and
the diusion pro
ess is faster.
Diusion means that the initial dis
ontinuity at x = 0 is smeared out as time in
reases.
Put in other words, a diusion type pro
ess smoothens strong gradients/dis
ontinuities
in the initial data.
As an illustration, Figures 1.11, 1.12 show snapshots of the solution u(x; t) at three
dierent times t0 = 0, t1 and t2 . In Fig. 1.11 we have a small diusivity . The initial
dis
ontinuity is smeared out slowly. In 1.12 we have a a relatively large diusivity
and the initial dis
ontinuity is smeared out rapidly.
t=0
t = t1
t=t
Figure 1.11: History of u(x; t) for three times t0 = 0 < t1 < t2 for small diusivity .
t=0
t = t1
t = t2
Figure 1.12: History of u(x; t) for three times t0 = 0 < t1 < t2 for large diusivity .
r~ ( r~ u) + ~b r~ u + u = f
in
(0; t0 )
A typi
al example is the heat-transport equation, whi
h governs the spa
e-time evolution of the temperature T in a spa
e-time domain
(0; t0 )
T
~T
+ ~u r
t
with the following notation
p
r~ (r~ T ) = q_V
in
(0; t0 )
1 Theoreti al ba kground
T (~x; 0) = T0 (~x)
Moreover we have to spe
ify boundary
onditions on
. We assume a non-overlapping
partitionning of
into D , N , and R . There are three types of boundary
onditions
D (0; t0 )
on
A Diri
hlet boundary
ondition for temperature states that the boundary temperature remains
onstant and is not ae
ted by the
uid temperature. Of
ourse
the
uid temperature does a
t on the boundary temperature. But in a variety
of situations of pra
ti
al relevan
e this is approximately the
ase, in parti
ular if
the boundary is
onne
ted to an innitely large energy reservoir. E.g., a heating
system operating at, say Tw = 22 C or a
old
oor in the basement of a building
without isolation may have the same temperature as the outside surrounding.
on
(0; t0)
The right hand side term q_ is a surfa
e-spe
i
heat
ux, i.e., heat
ux per unit
area. For a perfe
t insulator q_ = 0.
~ T ~n = h
(Tw
r
T0 )
R (0; t0 )
where Tw and T0 denote the wall-temperature and the free-stream
uid temperature resp., and h
is
alled the
onve
tive heat-transfer
oe
ient, whi
h is a
typi
al quantity of engineering interest in indoor air
ow simulation.
20
(2.1)
u = h
on D
(2.2)
A solution u of (2.1)-(2.2) is
alled
lassi
al solution if
u is in C 2 (
) and satises (2.1) pointwise for ea
h x 2
.
u is also in C 1 (
) and u = g on
pointwise for ea
h x 2
.
Moreover on L2 (
) we dene the norm jj jj0;p by
jjujj0;p =
For p = 1 the norm is given by
Z
ju(x)jp d~x
1=p
Denition 2 Denote u :
! R . Then we dene its support supp(u) by
supp(u) = f x 2
j u(x) 6= 0 g
Denition 3 We denote by C01 (
) the set of innitely-times
ontinuously dierentiable fun
tions from
to R for whi
h supp(u) is a
ompa
t subset of
.
Example. We
onsider the C01 (R )-fun
tion
(
1
Ce 1 t2
0
!(x) =
jtj < 1
jtj > 1
!(x) =
1
Ce 1 jj~xjj2
0
jj~xjj < 1
jj~xjj > 1
!(~x) d~x = 1
j~xj1
Now we des
ribe the averaging pro
edure by Sobolev for smoothening Lp -fun
tions.
For u 2 Lp (
) we dene
Rd
!(~x) d~x =
Z d
~x ~z
uh (x) =
u(~z)!
d~z
(2.3)
h
R
For given ~x, only the values ~z with jj~z ~xjj h
ontribute to the integral. Thus
(2.3)
an be interpreted as the average of u over the jj~x ~zjj h. Now the following
Theorem holds
Theorem 1 Let u 2 Lp (
) (1 p < 1) and let u be extended by zero in R d
. Then
for ea
h h > 0< the fun
tion uh dened by (2.3) is innitesimal times dierentiable.
Moreover, uh 2 Lp (
) and
lim jju uh jj = 0
h!0
The averaging pro
edure by Sobolev
an be interpreted as a measurement of a physi
al
quantity: Ea
h measurement devi
e for determining a physi
al quantity u does not
return pointwise value at ~x but a spe
ied sampling (averaged) value in the neighbourhood of ~x. This average may be
hara
terised by its sampling fun
tion . Then
ea
h measurement may be des
ribed by h ( ~x) where
22
: R d ! R is C 1 -smooth
we dene h = (~x=h) and the support of h has radius h, whi
h
an be interpreted as the sampling radius of the measurement instrument.
jju vjj0;
=
Then the
on
ept of a weak derivative of a fun
tion is motivated by the rule of partial
integration: For any smooth fun
tion u 2 C 1 (
), the rule of integration by parts
be
omes
Z
Z
8 2 C01 (
)
(2.4)
u dx = ( 1) ( u) dx
as and
vanish on
as 2 C 1 (
). Equation (2.4) makes sense also for rough
fun
tions, whi
h leads to the following
DenitionP4 Denote
a domain, and denote = (1 ; : : : ; d ) 2 N d a multi-index
with jj = di=1 i . A fun
tion v 2 L1lo
(
) is
alled weak derivative of u 2 L1lo
(
) if
Z
u dx = ( 1)
v dx
8 2 C01 (
)
f v 2 L2 (
) j u 2 Lp (
) 0 jj n g
23
jjujjm;p =
0jjm
1 p1
jj ujjp0;p A
jjujjm;p = 0jmax
jj ujj0;1
jm
Remark 4
The
on
ept of Lp -fun
tions allows to
onsider also fun
tions with singularities,
whi
h are gently enough to be integrated in a
ertain way. For u(x) = ln(j~xj)
~ u(x) = j~xj 2~x. Therefore for d = 2, u does not belong to H 1 (
), but
we have r
1
u 2 H (
) for d = 3.
An example of a H 1 -fun
tion for d = 2; 3 is
u(x) = ln(ln(j~xj 1 ) + 1) ;
The dominator in the rst term goes very slowly to 1 as jxj ! 0 in a way that
~ u at x = 0 be
omes integrable.
the singularity of r
Hen
e we see that fun
tions in H 1 (
) are not ne
essarily
ontinuous. For
d = 2; 3, we need a fun
tion to have H 2 (
)-regularity to be
ontinuous (Relli
h embedding theorem).
Denote
a bounded Lips
hitz domain and denote C m;1 (
) the set of Lips
hitz
ontinuous fun
tions. Then
C m;1 (
) = H m+1;1 (
)
X Z
0m
u v d~x
and H m;2 (
) be
omes a Hilbert-spa
e.
Finally we have to take
are regarding boundary
onditions of a Sobolev fun
tion in
H m;2 (
). For m 2 fun
tions in H m;2 (
) are smooth (for d = 2; 3) and values on
24
are well-dened. On the other hand, boundary
onditions do not make sense for
L2 -fun
tions. The question is if meaningful boundary
onditions
an be dened for
H 1 (
) fun
tions. As C 1 (
) is dense in H 1 (
), this
an be a
omplished as shown in
the following.
Theorem 2 Denote
R d a bounded Lips
hitz domain. Then the so-
alled tra
e-
operator
: u 7! uj ;
u 2 C 1 (
)
has a unique and
ontinuous extension from C 1 (
) onto H 1;2 (
) su
h that
jj
ujj1=2;2; C jjujj1;2;
;
u 2 H 1;2 (
)
jjujj1;2;
C jju~jj1=2;2; ;
u 2 H 1;2 (
)
v(0; y) =
whi h an be rearranged as
Z x
v(0; y) =
Therefore we have
jv(0; y)j2
Z x
v
(x; y)d
v
(x; y)d + v(x; y)
Z x
2
(; y)jd + jv(x; y)j
j v
0
2
Z 1
v
j (; y)jd + jv(x; y)j
0
Z 1
v
2 j (; y)j2 d + jv(x; y)j2
0
where we used the inequality (a + b)2 2a2 + 2b2 in the last step. Integration rst
over y from 0 to 1 and then over x from 0 to 1 gives
Z 1
jv(0; y)jdy = 2
Z 1Z 1
(; y)j2 d dy + 2
j v
Z 1Z 1
The left hand side integral is the L2 -norm of v along the boundary segment f0g (0; 1)
and the right hand side term
an be bounded from above by the full H 1 -norm of v.
Putting together the
ontributions from all four boundary segments we get
jjvjj2L2 (
) 8jjvjj2H 1 (
)
This argumentation
an be modied to work also for polygonally bounded domains.
For
urvilinear boundaries, we
an transform the boundary lo
ally to
artesian
oordinates.
Using the tra
e inequality, given v 2 H 1 (
) we
an dene its tra
e
v = vj as a
fun
tion in L2 (
). Given v 2 H 1 (
) we
onsider a sequen
e (vk ) C 1 (
) with
jjvk vjjH 1 (
) ! 0 as n ! 1. Then the tra
e inequality implies that
jjvk vl jjL2 (
)
(
)jjvk vl jjH 1(
) ; k; l 2 N
As the right hand side goes to zero for k, l ! 1, the tra
es (vk j
) on
is a Cau
hy
sequen
e in the Lebesgue-spa
e L2 (
). The limit fun
tion vj
is then dened as
tra
e
v of v 2 H 1 (
).
2
Finally we give the
on
ept of so-
alled strong solutions of the ellipti
boundary value
problem (2.1)-(2.2)
r~ ( r~ u) + ~b r~ u +
u = f in
u = h
on D
For this purpose we interpret derivatives in the weak sense and boundary
onditions
are treated in the sense of the tra
e operator
Denition 6 We
onsider the ellipti
boundary value problem (2.1)-(2.2). We assume
the following regularity of the data
, bi 2 H 1;1 (
),
2 L1 (
)
f 2 L2 (
)
h 2 H 1=2;2 ( )
Then a fun
tion u 2 H 2 (
) is
alled strong solution of (2.1)-(2.2), if u satises (2.1)
in L2 (
)-sense, and if
u satises (2.2) in L2 ( )-sense.
(2.5)
u = 0
on D
(2.6)
~
ru ~n = g
on N
(2.7)
26
r~ ( r~ u)v dx +
~b r
~ uv dx +
uv dx =
r~ ( r~ ) dx =
~r
~ dx
r
~
r
fv dx
(2.8)
~n d
~ur
~ v dx
r
~ uv ~n d +
r
~b r
~ uv dx +
uv dx =
fv dx
~ uv ~n d =
r
=
~ u v ~n d +
r
|{z}
=0
~ u ~n v d
| r
{z }
=g
gv d
This boundary integral does not depend on the unknown solution u and is therefore
treated as a right hand side term. Then we obtain
Z
~ur
~ v dx +
r
~b r
~ uv dx +
uv dx =
fv dx +
u = 0
in
on D
~ur
~ v dx +
r
gv d
r~ ( r~ u) + ~b r~ u +
u = f
Z
Z
~b r
~ u +
u
v dx =
(2.9)
(2.10)
fv dx
(2.11)
Now the aim is to relax the regularity of the test- and ansatz fun
tions:
(1) If u 2 C01 (
) satises equation (2.11) holds for all v 2 C01 (
) then it will also
hold for ea
h v 2 H01 (
), as C01 (
) is a dense subspa
e of H01 (
).
(2) We
an then allow the solution u to belong to H01 (
), as C01 (
) is a dense
subspa
e of H01 (
).
27
Then the variational form (or weak form) for the ellipti
boundary value problem
(2.9)-(2.10) reads:
Find u 2 H01 (
) su
h that
with
a(u; v) =
f (v) =
Z
Z
8 v 2 H01 (
)
a(u; v) = f (v)
~ur
~ v dx +
r
~b r
~ uv dx +
uv dx
fv dx
(2.12)
(2.13)
(2.14)
The theory for existen
e and uniqueness of a solution of (2.12) is based on the framework of linear fun
tional analysis.
We introdu
e the
on
ept of a dualspa
e V of a normed spa
e V
Denition 7 The dual spa
e V of a spa
e V with norm jj jjV is dened by
V =f f : V
with norm
jjf jjV
sup
v2V;jjvjjV =1
jf (v)j
u 7!
2 L2 (
)
fu d~x:
Existen
e and uniqueness of the solution of the variational form of a ellipti
boundary
value problem are ensured by the famous Lax-Milgram Lemma.
8 u2V
28
8 u; v 2 V
!R
(2.15)
(2.16)
8v 2 V
(2.17)
(2.18)
u=0
(2.19)
) u=0
(2.20)
Se
ondly we have to show that A(; v) is surje
tive, i.e., we have to show that for
ea
h f 2 V there exists at least one u 2 V su
h that A(u; v) = f (v) 8v 2 V .
In a rst step we show that the set
Range(A) A(V ) f f 2 V j 9 u 2 V su
h that A(u; v) = f (v) 8v 2 V g
is
losed. Let f be an element in A(V ) and let (fn ) be a sequen
e in A(V ) with
fn ! f (as n ! 1). Consider un and um in V with
(2.21)
A(un ; v) = fn (v) 8v 2 V
(2.22)
A(um; v) = f (v) 8v 2 V
m
Then
Then for ea
h f 2 H 1 (
) there exists a solution u 2 H01 (
) of (2.9)-(2.10), whi
h is
uniquely determined.
~ u; r
~ v)) =
((r
uv dx ;
r~ u r~ v dx
and write
~ u; r
~ v)) + (~b r
~ u +
u; v)
a(u; v) = (( r
f (v) = (f; v)
Then we have the following estimates, whi
h show that a(; ) and f () are bounded
relation holds
~b r
~ u udx =
=
Z
Z
r~ (~bu) udx +
~ ~b)u udx
(r
~b r
~ u udx =
Z
Z
~b ~n d
u| 2 {z
}
=0
~b (r
~ u) udx
~ ~b)u2 dx
(r
~ u; r
~ u)) + (~b r
~ u; u) + (
u; u)
a(u; u) = (( r
~ u; r
~ u)) + ((
1 r
~ ~b)u; u)
= (( r
2
30
f (v) =
fv dx +
8 v2V
Z
uv dx
gv d
Finally we summarize some results on the regularity of the solution. Here we only
onsider the
ase of homogeneous Diri
hlet boundary
onditions.
Theorem 5 Denote
a bounded C 1;1 -domain and assume the following regularity of
the data
2 H 1;1 (
)
bj ,
2 L1 (
), and r~ ~b 2 L1 (
)
Moreover assume that the homogeneous problem "Find u su
h that a(u; v) = 0 for all
v 2 H01 (
)" has the unique solution u = 0.
Then for any f 2 L2 (
) the solution u is H 2 -regular.
Moreover we have the following results
In the interior of
, H 2 regularity of the solution
an be obtained even for nonsmooth domains; i.e. u 2 H 2 (
0 ) for any
ompa
t set
0
.
The statement of the theorem
an be "shifted" for k 1: If
is a C k;1-domain,
~ ~b 2 H k 1;1 (
), then for any
and if 2 H k;1 (
), bj ,
2 H k 1;1 (
), and r
k
1
k
given f 2 H (
), we have regularity u 2 H (
).
The regularity assumption
2 C 1;1 is often too restri
tive for problems of pra
ti
al
relevan
e: However, H 2 -regularity
an be obtained even for
onvex domains.
Theorem 6 Denote
a bounded and
onvex domain. Then under the assumtions of
Theorem 5, the solution u is in H 2 (
).
For non-
onvex Lips
hitz-domains this statement is wrong. But then it is still possible
to get u 2 H 1+s (
) with s 2 [0; 21 if 2 C 0;t (
) is Holder
ontinuous.
31
A(uh; v) = f (v)
8v 2 Vh
(2.24)
Remark 8 From the fa
t that the Galerkin solution uh and the
ontinuous solution u
satisfy
8v 2 Vh
A(uh u; v) = 0
8v 2 Vh
whi
h means that the error en = u uh is perpendi
ular on the ansatz spa
e Vh with
respe
t to the "s
alar produ
t" A(; ).
Re
all that the best approximation u of an element x in a normed spa
e X with respe
t
to a subset U X dened by
(u x; v) = 0
8v 2 U ;
The Galerkin proje
tion immediately gives Cea's lemma, whi
h shows that the error
in the Galerkin method jju uh jjV is determined by how well the exa
t solution u
an
be approximated by the subspa
e Vh .
Theorem 7 (Lemma by Cea.) Denote u the solution of (2.23) and uh the solution
of (2.24). Then
32
(2.25)
A(u uh ; uh ) = A(u uh ; v) = 0
Then we obtain the following estimate
jju uh jj2V
A(u uh ; u uh )
= A(u uh ; u v) C jju uh jjV jju vjjV
2
v =
n
X
i=1
vi i
Pn
i=1 ui i
i=1
i=1
The Galerkin equations (2.24) are equivalent to the system of linear equations
n
X
i=1
ui A(i ; j ) = (f; j )
n
X
i=1
Aij ui = fj
j = 1; : : : ; n
(2.26)
j = 1; : : : ; n
where
Aij = A(j ; i ) ;
fj = f (j )
Noti
e that the Galerkin method is only a semidis
rete method, as an expli
it evaluation of the integrals by using quadrature formulas is not spe
ied.
Remark 9 (Examples of global Galerkin ansatz spa
es) If the spa
e domain is
arthesian
= (0; Lx ) (0; Ly ), then a tensor produ
t ansatz
an be made
Vh = Qm (
) =
f p(x; y) =
m
X
i;j =0
ij xi yj g
with h = 1=m.
33
Using the monomial basis 1; x; y; x2 ; xy; y; : : : then gives that the Matrix Ah
is similar to the Hilbert matrix with
ondition number N = (m + 1)2 growing as
ond2 (Ah ) = O(eN ).
Tensor produ
t bases of L2 -orthogonal polynomials (e.g., Legendre polynomials
or Ts
hebys
he polynomials) lead to a matrix Ah whi
h is dense, but with a very
suitable
ondition
ond2 (Ah ) = O(N ). This approa
h leads to so-
all Spe
tralGalerkin methods: On geometri
ally simple domains like re
tangular box or
ylindri
domains this leads to very fast methods.
In fundamental
uid dynami
s resear
h, this is a very popular method for solving
the nonlinear Navier-Stokes equations for turbulent
ows in simple geometries,
whi
h are periodi
in at least one dire
tion, i.e., turbulent
ow in a
hannel/pipe
or thermal
onve
tion problem in a re
tangular box/
ylinder.
approximating ontinuous fun tions by global polynomials is ill- onditioned. Very similarly it an be seen, that the Lapla e problem
d2 u
= f in[0; 1 ;
dx2
u(0) = u(1) = 0
Aij =
Z 1
dxi dxj
dx =
dx dx
Z 1
xi 1 xj 1 dx =
1
dx
i+j 1
34
r~ ( r~ u) + ~b r~ u + u = f
u = 0
in
on
(3.1)
a(u; v) =
f (v) =
Z
Z
~ur
~ v dx +
r
a(uh ; vh ) = f (vh )
~b r
~ uv dx +
8 vh 2 Vh
uv dx
fv dx
{ Polygonal approximation of
(linear splines)
{ Spline interpolation of
(pie
ewise higher order polynomials)
Triangulation of
. A triangulation of
is a set of
ells T , i.e., Th = f T j T
g of
, whi
h satisfy the following properties
{
= [T 2Th T
{ T \ T 0 = ; for all T 6= T 0
{ The subs
ript h denotes an appropriate s
ale parameter regarding T , i.e.,
1
0
i (Nj ) = Nj (xi ) =
if
if
i=j
i 6= j
Then we make the following ansatz for the lo al solution (restri ted to T )
u(x)jT =
Nlo
:dof
X
i;lo
=1
The ansatz fun
tions are dened on the referen
e element. In 2D the referen
e
triangle is
Tb = f (; ) j ; 0 ; 0 ; 1g:
Given a triangle T with
orner points (x0 ; y0 )T , (x1 ; y1 )T , (x2 ; y2 )T we
onsider
the following ane linear mapping
FT :
Tb
!T ;
FT
! FT
= B
x0
y0
B =
x1 x0 x2
y1 y0 y2
FT 00 = xy 0
0
; FT 10 = xy 1
1
; FT 01 = xy 2
2
Linear ansatz. On the referen
e triangle Tb, the basis fun
tions are
N1 (; ) = (1 )(1 ) ; N2 (; ) = ; N3 (; ) =
36
x0
y0
Quadrati
ansatz.
N1 (; ) = (1 )(1 2 2) ;
N2 (; ) = (2 1) ;
N3 (; ) = (2 1) ;
N4 (; ) = 4 (1 )
N5 (; ) = 4
N6 (; 0 = 4(1 )
The ansatz fun
tions
an be plotted easily by taking into a
ount that
(
1 if = = 0
0 if + = 1 or + =
1
2
1 if = 1 ; = 1
0 if = 0 or = 21
N2 (; ) = (2 1) =
1 if = 1 ; = 1
0 if = 0 or =
N3 (; ) = (2 1) =
N4 (; ) = 4 (1 ) =
(
N5 (; ) = 4 =
1
2
1 if = 21 ; = 0
0 if = 0 or = 1
1 if = 21 ; = 21
0 if = 0 or = 1
(
N5 (; ) = 4(1 ) =
1 if = 21 ; = 0
0 if = 0 or = 1
u(x) =
Nglob
X:dof
i;glob
ui;glob i;glob
lo !glob :
Meaning
number of
ells (elements)
ell T 2 Th , asso
iated with the
ell id T 2 f 1; : : : ; Nelmt
number of lo
al degrees of freedom per
ell (whi
h is assumed to be
onstant)
lo
al degree of freedom ilo
2 f 1; : : : ; Nlo
:dof
number of global degrees of freedom
global degree of freedom iglob with
orresponding
nodal fun
tional iglob = (xiglob ) for some test fun
tion .
T (iglob) =
L(iglob) =
f T 2 Th j xi;glob 2 T g
f (T; ilo
) 2 f 1; : : : ; Nelmt g f 1; : : : ; Nlo
:dof g :
xilo
= xiglob is lo
al d.o.f. ilo
in
ell T g
(T;ilo ) (x) =
N(T;ilo
) (x)
0
x2T
else
For ea h global degree of freedom iglob dene the orresponding ansatz fun tion
u(x) =
Nglob
X:dof
i;glob=1
ui;glob i;glob
T 2T
T 2T
a((T;i) ; (T;j ) )
f ((T;j ) )
39
jglob = global_dof[elmt,j;
40
We now onsider the in ompressible Navier-Stokes equations, i.e., the equation of onservation of mass and momentum for an in ompressible uid
r~ ~u = 0
~ (~u
~u) + r
~p
(~u) + r
t
r~ (2S(~u)) = 0
Rapid
flow
u(y)
u(y)
moving
frame of
reference
Rapid flow
net
momentum
transfer
y
y
Slow flow
x
Flux of momentum
through area A
due to viscosity
Slow
flow
Figure 4.1: Illustration of vis
osity. Mean
ow is in x-dire
tion with velo
ity varying
in y-dire
tion
aused by the no-slip
ondition at the wall ~u = 0. Due
to the thermal statisti
al motion of the mole
ules, they are
ontinuously
rossing plane P whi
h is atta
hed to a frame of referen
e moving with
mean velo
ity ~u. As ea
h mole
ule
arries a momentum of the mean
uid
motion in x-dire
tion, this results in a momentum
ow a
ross plane P .
d
d
X
X
p~
u~i u~j
~u~ +
(~u~i u~j ) + x~
~
+
x
~
x
~
x~j x~i
t~ i
i
j =1 j
j =1 j
We introdu
e the following non-dimensional quantities
u~
~
x~
ui = i ;
=
1
xi = i ;
Lref
Uref
ref
42
= 0
(4.2)
(4.3)
Then (4.2)
an be written by substitution of (4.3) and by using the
hain rule of
dierentiation
d
X
t
x p~
xj
2
ref Uref ~ ui + ref Uref
(ui uj ) + i
x
~
x
x~i xi
t t
j =1 j j
d
X
= 0
The non-dimensionalisation of t follows from the denition of x and u and the nondimensional variables for p and arise naturally from the Navier-Stokes equations.
Thus the other quantities are then non-dimensionalised a
ording to
t =
t~Uref
;
xref
p =
p~
2 ;
ref Uref
=
~
~ref Uref xref
d
ui uj
Uref X
= 0
~
+
x2ref j =1 xj xj xi
d
ref Uref xref X
ui uj
= 0
+
x2ref
xj xi
j =1 xj
2 x 1 and obtain the NavierWe then divide the equation by the
ommon fa
tor ref Uref
ref
Stokes equations in non-dimensional form
d
X
p
ui +
(ui uj ) +
t
x
x
i
j =1 j
The parameter
d
X
ui uj
+
x
x
xi
j
j =1 j
= 0
(4.4)
Re =
1
~u~ x~
= ref ref
~
(4.5)
The denition of the Reynolds number relies on two referen
e values, i.e., a referen
e
velo
ity and a referen
e length.
43
Uoo
L
Figure 4.2: Choi
e of
hara
teristi
length for Reynolds number. Left: The
hord
length of an airfoil used as referen
e length for (global) Reynolds number
Re. Right: The distan
e from the leading edge of a
at plate L = x
determines the lo
al
ow
onditions and is therefore used for dening a
lo
al Reynolds number Rex .
Referen
e length.
{ The referen
e length for the global Reynolds number is the diameter of the
nant
ow dire
tion
alled the stream-wise dire
tion (by
onvention: the x-dire
tion),
whi
h are bounded (at least in part) by one or more solid surfa
es;
onveniently, the
wall-normal dire
tion is the y-dire
tion (in a wall-tted lo
al
oordinate system for
urvilinear surfa
es). Su
h
ows may be internal su
h as the
ow through pipes and
du
ts; or they may be external su
h as the
ow around air
raft and ships' hulls.
Here we
onsider the
ow over a
at plate, whi
h shows a variaty of important features
of the full Navier-Stokes equations. We assume a
at plate of length L denoted by W
("W" stands for wall) and lo
ated in the half plane
f ~x 2 R 3 j 0 x L ; y = 0 g
We
onsider the
ow in the bounded domain ( K; L) (0; C ) ( B; B ), i.e.,
= f ~x 2 R 3 j
K < x < L ; 00 < y < C ;
B < z < Bg
with K; L 0. We assume periodi
boundary
onditions at z = B and z = B .
w
~ (~u
~u) + r
~p
(~u) + r
t
r~ ~u = 0
in
(0; T )
(4.6)
r~ (2T (~u )) = 0
in
(0; T )
(4.7)
~u = U1~ex
~u = 0
~u = 0
on (0; T ) (4.8)
on W (0; T ) (4.9)
in
f0g
(4.10)
For the dis
ussion of this
hapter, it is not ne
essary to des
ribe the boundary
onditions at the other boundaries.
4
Uoo
lam
turb
Figure 4.3: Sket
h of
ow over
at plate in an (ideal) innite domain (left) and in a
bounded domain used for a numeri
al simulation (right).
45
4.3 Laminar
ow
The time tl required for the
uid to travel at speed U1 over the distan
e L (re
all
that L is the length of the plate) is
L
(4.11)
U1
Hen
e, at a rst glan
e, it sounds reasonable that there exists a time t0 tl su
h that
a steady state solution is obtained whi
h is of the form
tl =
t t0
(4.12)
Noti
e that the steady-state solution does not depend on the z-
oordinate, as the
onguration is homogeneous in spanwise dire
tion.
unsteady
three-dimensional
46
Remark 12 Note that ow an be laminar, even if the Reynolds number is larger than
the
riti
al Reynolds number. This is the
ase if no disturban
es are present (neither
in the geometry nor in the on
ow
onditions), e.g. for a re-entry spa
e vehi
le (with
a very smooth surfa
e) in the outer part of the atmosphere (where the
uid is almost
perfe
tly at rest).
Now we want to des
ribed the unsteadyness of turbulent solutions in the framework of
dynami
al systems: the time-evolution of the velo
ity-eld is interpreted as the orbit of
the time-evolution operator of the initial-boundary value problem of the Navier-Stokes
equations whi
h wanders on random-like (
haoti
)
urves on a fra
tal(?) manifold in
the spa
e of admissible solutions.
For in
ompressible
ow, at ea
h time t the solution belongs to
~ ~u = 0 g
H1div (
) = f ~u :
! R d j ui 2 H 1 (
) i = 1; : : : ; 3 ; r
We remark that the total kineti
energy of the
uid in the entire domain
is given by
jju(t)jjengy =
j~u(~x; t)j2 d~x
Gt : H1div (
) 7! H1div (
) ;
where ~u(; t) is the solution of (4.6)-(4.10) for the initial ondition ~u(; t) = ~u0 ().
After a transient initial period, the total energy of the
uid remains
onstant. Hen
e,
there exists time t0 and a total energy e0 su
h that
it des
ribes a random-like
urve whi
h lies dense in a
ertain subset of H1div;e0 (
)
of
ompli
ated, fra
tal (?) stru
ture.
47
Remark 13 A prominent example are the Reynolds number ee ts for the ow behind
a
ir
ular
ylinder, often
alled van-Karman vortex street. For the
ow around a
ylinder, the three stages of in
reasing
ow
omplexity
an be observed, as Reynolds
number is in
reased. For small Re, the stationary solution is a globally stable attra
tor.
As Re is in
reased, the steady state solution be
omes a repellor. The solution be
omes
unsteady, but periodi
. As Re is in
reased, the solution be
omes superposition of more
and more frequen
ies. At a
ertain Reynolds number, these frequen
ies
an no longer
be distinguished and the
ow be
omes turbulent and appears fully random.
is dened by
h ~u iN = N1
~u(i)
N
X
i=1
~u(i) (~x; t)
Therein, denote
the solution of the ith
ow experiment where the in
ow boundary
onditions U1 and the shape of the boundary W are disturbed by small
hanges whi
h
are random with a probability fun
tion whi
h is independent and identi
ally distributed.
The time averaging lter h i(t;t+t) over the interval (t; t + t) is dened by
Z
t+t
~u(~x; t) dt
h ~u i(t;t+t) = 1t
t
The spa
e averaging lter h i(z;z+z) in the homogeneous (spanwise) z-
oordinate
dire
tion over the interval (z; z + z ) is given by
h ~u i(z;z+z) = 1z
Z z +z
~u(x; y; z; t) dz
On the other hand, the
on
ept of time-averaging and spa
e-averaging (over homogeneous
ow dire
tions) allows to
onsider only one
ow experiment (or simulation).
In the following we will see that all three averaging
on
epts give the same average
provided the
ow is statisti
ally
onverged.
lim h ~u iN ;
N !1
48
lim
t!1
h ~u i(t;t+t) ;
lim
z !1
h ~u i(z;z+z)
After a
ertain time (in the sense of (4.11)) and if the spanwise extent of the domain
is large enough, then the
ow be
omes statisti
ally steady: The ergodi
theorem now
states that averaging over time or over the homogeneous
oordinate dire
tion give the
same solution, whi
h is therefore two-dimensional and steady-state.
lim h ~u iN =
N !1
lim
t!1
h ~u i(t;t+t) = lim
h ~u i(z;z+z) = u(x; y)~ex ~u(x; y)
z!1
As both time-averaging and spa
e-averaging (over homogeneous dire
tion) are the same,
we may dene the statisti
al averaging operator h i by
~u
h ~u i = Nlim
h ~u iN = lim
h ~u i(t;t+t) = lim
h ~u i(z;z+z) (4.13)
!1
t!1
z!1
de omposed
(4.14)
h ~u i
(4.15)
and into an unsteady random part with zero mean,
alled the turbulent
u
tuating part
and denoted by ~u0
~u0 (~x; t) = ~u(~x; t)
~u(x; y) ;
~u0 = 0
(4.16)
The ensemble averaging lter has the important properties that it is linear and that
ltering and dierentiation
ommute.
Proposition 3 The ensemble averaging hiN lter has the following properties
Linearity (i):
Linearity (ii):
Commutativity with dierentiation w.r.t. xj :
Commutativity with dierentiation w.r.t. t:
Proje
tion identity:
Non-
ommutativity w.r.t. nonlinear expressions:
h + iN = h iN + h iN
h
iN =
h iN ;
2 R
h x
iN = x h iN
j
h
i = t h iN
t N
h h iN iN = h iN
h h iN iN 6= h iN h
iN
Denote y99 = y99 (x) the elevation where u(x; y99 ) = 0:99U1 whi
h is
alled the
boundary-layer thi
kness.
u
;
u
y+ =
yu
;
u =
w
;
w =
u
j
y y=0
where w is
alled wall-shear stress, as it is the for
e exerted by the
uid on the
wall (or vi
e versa by Newton's law a
tio equals re-a
tio). The quantity u has
dimension of velo
ity and is
alled fri
tion velo
ity.
In 1925 Prandtl found that in the near-wall region y / 0:2y99 the solution is
universal (i.e., independent of streamwise position x and Reynolds number) and
given by
(
y+
: y+ / 5
+
+
u (u ) = 1
(4.17)
+
: y+ ' 40
ln(y ) + C
/ 40,
For the ensemble averaging operator is
an be seen immediately, that ltering and
dierentiation are
ommutative operations
(4.18)
h~ui + r~ h~u
~ui + 1 r~ hpi r~ (2 S(h~ui)) = 0
t
We then substitute the mean (average) velo
ity and pressure
h~ui = U~ ; hpi = P
However, the non-linear term gives rise to a problem
h~u
~ui 6= h~ui
h~ui
At least, the non-linear term
an be written in the form
h~u
~ui = h(U~ + ~u0 )
(U~ + ~u0 )i
= hU~
U~ i + 2hU~
~u0 i + h~u0
~u0 i
= hU~
U~ i + 2U~
h~u0 i + h~u0
~u0 i
|{z}
=0
= hU~
U~ i + h~u0
~u0 i
where in the last line we used the fa
t that U~ is no longer random. We nally substitute
the relation
h~u
~ui = hU~
U~ i + h~u0
~u0 i
into (4.18) and obtain
~
~ (U~
U~ ) + r
~ h~u0
u~0 i + 1 r
~P
~ 2 S(U~ ) = 0
U + r
r
t
We already know that the mean solution for the
at plate turbulent boundary layer is
steady state, i.e., U~ =t = 0. The so-
alled Reynolds averaged Navier-Stokes equations
be
ome
r~ U~ = 0
(4.19)
r~ (U~
U~ ) + r~ h~u0
u~0 i + 1 r~ P r~ 2 S(U~ ) = 0
(4.20)
Remark 15
Equation (4.20) is the governing equation for the mean
ow quantities U~ , P .
However, these are 4 equations with 10 unknowns P , Ui (i = 1; 2; 3) and hu0i u0j i
(i; j = 1; 2; 3). Hen
e the mean-
ow equations are un
losed.
The Reynolds averaged Navier-Stokes equations have the same form as the original Navier-Stokes equations, but one-extra term in
luded.
~ h~u0
u~0 i is
alled the Reynolds stress tensor.
This extra term r
51
(~u) ~nd =
d
X
V j =1
uj nj d
and therefore the
omponent uj gives the transport of in xj -dire
tion via the
onve
tive eld ~u; put in other words
Z
V
V
h~u0
u~0 i ~nd =
d
X
V j =1
hu0i u0j i nj d
It is worthwhile pointing out that in the situation of the Reynolds stress tensor
the
onve
tive eld is the random
u
tuating velo
ity eld ~u0
the transported quantity is random
u
tuating momentum ~u0 (or to be more
pre
ise ~u0
Thus the
omponent hui uj i gives the statisti
ally averaged transport of random u0i momentum in xj -dire
tion due to the random
onve
tive eld u0j . Put in other words
Z
V
2U
V
0 0
1 P
2U
U
2 = 0
U +
U +
h
u u i + hu0 v0 i +
2
x
y
x
y
x
x
y
This equation is
alled boundary-layer equation be
ause it is based on the ansatz
designed for boundary layer
ows. Now the following additional assumptions are made
U
U O(1)
x
V
U O(1)
y
0 0
hu u i O(1)
x
2U
2 O(1)
x
1 P
O(1)
(4.21)
x
whi
h are all satised provided the pressure gradient is negligible small. Then the
boundary layer equations redu
e to
2U
0 0
h
uvi 2 = 0
y
y
This equation is often
alled equilibrium stress balan
e equation; however, this equation is un
losed as the turbulent
u
tuation term hu0 v0 i is unknown.
t = t (U; U=y; y)
Substitution into the equilibrium stress balan
e equation gives
U
( + t )
= 0
(4.23)
y
y
Remark 16 Equation (4.23) states that in the near-wall region turbulent boundary
layer
ow, the dominant pro
ess is diusion of momentum in wall-normal dire
tion.
There are two dierent sour
es of wall-normal diusion, viz., (i) laminar diusion due
to the thermal random motion of the mole
ules and (ii) turbulent diusion due to the
turbulent
u
tuation motion of the
uid.
53
The turbulent vis
osity t is of dimension m2 s 1 . This motivates the ansatz to write
t as a produ
t of a
hara
teristi
velo
ity u and a
hara
teristi
length lm
t = u lm
The natural length s
ale from the law of the wall is the fri
tion velo
ity u , and the
natural length s
ale for a wall-bounded
ow is the wall-distan
e:
u = u ;
lm = y
U u+ y+
= w
u+ y+ y
+
2
u u
,
( + t ) + = w
y
+
( + t ) u
1
,
= 2 w
y+
u
u+
,
(1 + t+ ) + = 1
y
In universal
oordinates, Prandtl's model for t be
omes
u y
t+ = t = = y+
( + t )
54
Remark 17 The fa
t that the mean-
ow and the turbulent
u
tuations are zero at
the wall implies that hu0 v0 i = 0. An additional
onsequen
e is that hu0 v0 i and hen
e
t are mu
h smaller for y+ / 10 then predi
ted by the Prandtl relation. This ee
t
is
alled blo
king as it stems from the vis
ous ee
t of the proximity of the wall. It is
modelled by redu
ing t very
lose +to the wall e.g., by using the so-
alled van Driest
damping fun
tion D(y+ ) = 1 e y =26 :
+
t+ = y+ 1: e y =26
Remark 18 Note that the non-dimensional wall-distan
e y+ = yu =
an be interpreted as a lo
al Reynolds number. Therefore for small y+ -values (very
lose to the
wall) we
an assume laminar
ow, whereas for large y+ -values fully developed turbulent
ow
onditions are expe
ted.
Vis
ous sublayer. y+
have t and thus
t+ 1
+
) u
= 1 ) u+ = y+
y+
56
(5.1)
The general form of a s
alar
onservation law reads
r~ F~ (u) = f in
(5.2)
where F~ is
alled
ux fun
tion. In the linear
ase F~ (u) = ~bu. For rst order problems,
a
ording to
hara
teristi
theory only boundary
onditions at the in
ow boundary
an be pres
ribed; hen
e
r~ F~ (u) = f in
(5.3)
u = g on
(5.4)
r~ F~ (u) v dx =
f v dx
,
,
K 2Th
F~ (u)
K 2Th
r~ v dx +
K
r~ F~ (u) v dx =
r~ F~ (u) v dx =
F~ (u) ~n v ds
f v dx
K 2Th
X
K 2Th
f v dx
f v dx
where ~n is the outward normal ve
tor to K . This is the weak formulation used to
dene the DG-methods.
Now we introdu
e the nite element spa
es asso
iated to the triangulation Th = f K g
of
. We set
Vh = f v 2 L2 (
) j vjK 2 P (K ) 8K 2 Th g
57
where P (K ) is the spa
e of polynomial fun
tions of degree less than of equal p 1 on
K.
The
orresponding weak problem then reads
Find uh 2 Vh su
h that 8K 2 Th
Z
Z
~ v dx +
F~ (u) ~n v ds =
F~ (u) r
K
f v dx
8v 2 P (K )
(5.5)
Histori
ally, it is well known that the dire
t numeri
al solution of (5.5) is not stable.
We remark that for setting v 1 the
lassi
al nite volume method (FVM) is re
overed
Find uh
2 Vh su h that
K
F~ (u) ~n ds =
f dx
8K 2 Th
(5.6)
In FVM the term F~ (u) in the surfa
e integral is repla
ed by a suitable approximation
~ (u)
alled numeri
al
ux and denoted by F[
Z
K
F~ (u) ~n ds
K
~ (u) ~n ds
F[
(5.7)
The
hoi
e of the numeri
al
ux determines stability and a
ura
y of the method and
also ae
ts e.g. the symmetry of the stiness matrix.
Therefore the following general DG-FEM formulation is
onsidered:
Find uh 2 Vh su
h that 8K 2 Th
Z
Z
~ (u) ~n v ds =
~ v dx +
F[
F~ (u) r
K
K
f v dx
8v 2 P (K )
(5.8)
and single-valued on
.
L2 ( ) =
The general form of a s alar onservation law with ux fun tion F~ reads
r~ F~ (u) = f in
Fb~ : [H 1 (Th )d ! [T ( )d ; F~
7! Fb~
(5.9)
(5.10)
S
F (u) ~n ds =
\
~
f dx
Denition 14 (Average and jump operator) Denote Eh the set of all edges and
Eh0 the set of interior edges. Let e 2 Eh0 be an interior edge share by elements K1 , K2 .
Dene the unit normal ve
tors ~n1 , ~n2 on e pointing exterior to K1 and K2 , respe
tively.
We set qi qjKi and dene on e
f g : T ( ) ! L2 ( 0 )
fqg = 12 (q1 + q2 ) ;
de : : T ( ) ! [L2 ( 0 )d
dqe = q1~n1 + q2~n2
on e 2 Eh0
59
f g : [T ( )d ! [L2 ( 0 )d
de : : [T ( )d ! L2 ( 0 )
f~g = 12 (~1 + ~2 ) ; d~e = ~1~n1 + ~2~n2 on e 2 Eh0
advantage that it does not depend on assigning any ordering to the elements Ki .
Moreover we noti
e that on boundary edges fqg and d~ e need not to be dened as
su
h terms do not appear in the
orresponding formulations.
Lemma 1 For all q 2 T ( ) and for all ~ 2 [T ( )d the following identity holds
X Z
K 2Th
K
q~ ~n ds =
dqe f~gds +
dqe f~gds +
fqgd~eds =
dqe f~gds +
fqgd~eds
dqe f~gds +
(5.12)
Z
fqgd~eds
dqe f~gds =
q~ ~nds
dqe f~gds +
Z
fqgd~eds
Z
~ 1 + ~ 2
1
ds +
(q1 + q2 )(~ 1 ~n1 + ~ 2 ~n2 )ds
2
e
e2
Z
Z
Z
Z
~
~
~
~
q1~n1 1 ds + q1~n1 2 ds + q2~n2 1 ds + q2~n2 2 ds
=
2
2
2
2
eZ
eZ
eZ
eZ
q1 ~
q2 ~
q2 ~
q1 ~
~n ds +
~n ds +
1 ~n1 ds +
2 ~n2 ds
+
2 1 1
2 2 2
e 2
e 2
Z e
Z e
q1 ~ 1 ~n1 ds + q2 ~ 2 ~n2 ds
=
(q1~n1 + q2~n2 )
60
X Z
K 2Th K
~ (u) ~n v ds
F[
K 2Th
K
F (u) ~n v ds =
[
~
XZ
e2Eh
~ (u)g ~n dve ds
fF[
X Z
e6
fF (u)g ~n dve ds +
[
~
X Z
e
~ (u)g ~n dve ds
fF[
On the in
ow boundary
the boundary
ondition
an be substituted. Then the
variational problem be
omes
Find uh 2 Vh su
h that a(uh ; v) + b(uh ; v) = f (v) + hg; vi 8v 2 Vh (5.13)
with
a(u; v) =
b(u; v) =
f (v) =
hg; vi =
K 2Th
X Z
e6
~ v dx ;
F~ (u) r
~ (u)g ~n dve ds
fF[
f v dx
X Z
e
(5.14)
(5.15)
(5.16)
~ (g)g ~n dve ds
fF[
(5.17)
61
62
u = 0 on
where
is assumed to be a polygonal domain and f is a given fun
tion in L2 (
).
~u
~ = r
r~ ~ = f in
u = 0
on
Multipli
ation of these equations by test fun
tions ~ and v respe
tively, integration
over the domain
and writing the integral over
as a sum over all
ell K gives
Z
X
X
K 2Th
K 2Th
~ ~ dx =
K 2Th
X
r~ ~ v dx =
K 2Th
K
K
r~ u ~ dx
f v dx
K 2Th
K 2Th
~ ~ dx =
~ v dx =
~ r
K 2Th
X
K 2Th
Z
~ ~ dx +
ur
f v dx +
K
K
u ~ ~n ds
~ ~n v ds
63
where ~n is the outward normal ve
tor to K . This is the weak formulation used to
dene the DG-methods. We dene the test- and ansatz-spa
es
Vh =
dh =
f v 2 L2 (
) : vjK 2 P (K ) 8K 2 Th g
f 2 [L2 (
)d : vjK 2 [P (K )d 8K 2 Th g
The
orresponding weak formulation is obtained by introdu
ing the numeri
al
uxes
~ u and u on the boundary of K
~b and ub as suitable approximations for = r
Find uh 2 Vh and h 2 h su
h that 8 K 2 Th
Z
K 2Th
K 2Th
X
~ v dx =
~h r
K 2Th
~h ~ dx =
Z
K 2Th
~ ~ dx +
uh r
f v dx +
K
K
~ h
u h ~ ~n ds
~n v ds
8~ 2 [P (K )2
8v 2 P (K )
~h ~ dx =
~ v dx =
~h r
f v dx +
~h ~ dx =
~ v dx =
~h r
f v dx +
K
K 2Th
~ ~ dx +
uh r
K 2Th K
X Z
X Z
~ ~ dx +
uh r
u h ~ ~n ds
~ h ~n v ds
du h e f~ g ds +
f~ h g dve ds +
8v 2 P (K )
Z
fu h g d~ e ds
d~ he fvg ds
(6.1)
(6.2)
Now we want to express h solely in terms of uh , so that the nal formulation will
only involve uh . For this purpose, we
onsider the following relation, whi
h also follows
from Lemma 1
Z
r~ ~ v d x =
r~ ~ uh d x =
Z
~ uh dx
~ r
~ ~nv ds
f~ g dve ds +
~ vdx
~ r
~ vdx
~ r
f~ g duh e ds +
64
~h ~ dx =
r~ uh ~ dx +
du h uh e f~ g ds +
0
Z
0
Z
d~ e fvg ds
d~ e fvg ds (6.3)
fu h uh g d~ e ds
~ v and obtain
In this equation we take ~ = r
Z
~ v dx =
~h r
r~ uh r~ vdx +
du h uh e fr~ vg ds +
fu h uh g dr~ ve ds
The left hand side of this equation is then substituted into (6.2)
Z
r~ uh r~ vdx +
f v dx +
whi
h is written as
with
B (uh ; v) =
Z
f g dve ds +
r~ uh r~ v dx +
h
fv dx
fu h uh g dr~ ve ds
d~
h e fvg ds
8v 2 Vh
(6.4)
i
du h uh e fr~ vg
f~ h g dve ds
fu h uh g dr~ ve
~ h
Bh (uh ; v) =
du h uh e fr~ vg ds +
d~ h e fvg ds
(6.5)
u = 0 on
2
We
onsider (6.3) with v 2 H (Th ) (re
all that then by denition v 2 H 2 (K ) 8K 2 Th )
Z
r~ ~ v dx =
~ uh and obtain
we set ~ = r
Z
uh v dx =
r~ uh r~ vdx
~ vdx
~ r
f~ g dve ds +
0
Z
fr~ uh g dve ds
B (uh ; v) =
+
=
+
+
r~ uh r~ v dx +
Z
Z
0
h
fu h uh g dr~ ve
dr~ uh e fvg ds
i
du h uh e fr~ vg
f~ h g dve ds
d~ h e fvg ds
fr~ uh g dve ds +
du h uh e fr~ vg
fu h uh g dr~ ve
uh v dx +
d~ e fvg ds
dr~ uh e fvg ds
f~
h g dve g ds
i
d~
h e fvg ds
65
Sin
e f 2 L2 (
) and
is assumed to be a
onvex polygonal domain, we know that
~ ug = r
~ u, dr
~ ue = 0 and u = f we get
u 2 H 2 (
). As fug = u, due = 0, fr
B (uh ; v) =
+
+
f v dx +
r~ u dve ds
i
du h e fr~ vg
f~ h g dve ds
( fu h g
~ ve
u )dr
d~ h e fvg ds
From this equation we see that
onsisten
y of the formulation and
onservativity of
the
uxes are strongly related.
First we assume that the numeri
al
uxes are
onsistent. Then, (i) ub = uj whi
h
~ u.
implies that dube = 0, fubg = u on . Moreover, from (6.3) we see that = r
If we assume that (ii) the ve
tor
ux b is
onsistent, then we get that dbe = 0,
fbg = = r~ u on . Substitution of there relations gives
onsisten
y, i.e.
B (uh ; v) =
f v dx
66
(6.6)
7 Finite-volume methods
We
onsider the nite-volume method for paraboli
problems. We remark that the
dierential form of a
onservation law
u
~ F~ (u) + r
~ ( r
~ u) = f in
+
u + r
t
originates from the following
onservative formulation: For any
ontrol volume V
d
u dx +
dt V
udx +
V
F~ (u) ~nd +
V
~ u ~nd =
r
f dx
(7.1)
d
~ ui ~nd =
r
F~ (ui ) ~nd +
ui dx +
u dx +
dt V i
V
V
V
In the following we
onsider the situation sket
hed in Figure 7.1
f dx
(4) Compute (re
over) the gradients: As the solution that we seek is pie
ewise
onstant, the gradients in the vis
ous
uxes would vanish.
~ u is "re
oved" from u using the GreenAs a remedy, in nite-volume methods r
Gauss divergen
e theorem. For the situation of Figure 7.1 denote
Z
u
u~ek ~n d
dx =
x
Vi k
Vi
where ~ek denotes the unit ve
tor in the xk -dire
tion. In ve
tor notation this
equation be
omes
Z
Z
~ru dx =
u~n d
Vi
Vi
67
7 Finite-volume methods
Pi2
00
11
11
00
00
11
000
111
111
000
000
111
000
111
111
000
000
111
S i, i2
P i3
Pi
00
11
11
00
00
11
Pi1
000
111
111
000
000
111
000
111
111
000
000
111
S i, i1
S i, i3
S i, i4
11
00
00
11
00
11
00
11
111
000
000
111
000
111
000
111
Pi4
111
000
000
111
000
111
000
111
r~ ui = Vol(1V )
i
Vi
u~n d
Using the notation in Figure 7.1, the surfa
e integral is
omputed via
Z
4
1
1 X
ui + uij
u~n d =
area(Si;ij )
Vol(Vi ) Vi
Vol(Vi ) j =1 2
r~ ui =
udx +
V
~ (ui ) ~nd +
F\
V
~d
r
ui ~nd =
f dx
(7.2)
(6) For the numeri
al
ux fun
tion for the vis
ous
uxes, a
entral s
heme is used
Z
V
~d
r
ui ~nd =
=
4 Z
X
j =1 Si;ij
4
X
~
j =1
~d
r
ui ~nd
~ uij
rui + r
area(Si;ij )
2
(7.3)
(7) The design of a numeri
al s
heme for the
onve
tive
uxes is the most
riti
al
issue in nite-volume methods. Here we restri
t ourselves to the situation of
68
linear adve
tion F~ (u) = ~bu with a
onstant adve
tion eld ~b.
Z
V
~bu
i ~nd =
4 Z
X
~bu
i ~nd
j =1 Si;ij
4
X
j =1
~bu ~n area(Si;ij )
u
where u = i
uij
~b ~n > 0
~b ~n < 0
(7.4)
Fvj (~u) =
Fi2 (~u)T ; : : : ;
Fv2 (~u)T ; : : : ;
Z
Z
Vj
Vj
Fin (~u))
Fvn (~u))
F~d
uj ~nd
~d
r
uj ~nd
If we use (7.3), (7.4), then the dis
retisation sten
il for the
uxes of
ell Vj takes into
a
ount only dire
t neighbours of
ell Vj ; hen
e Fi does only depend on ui and the
dire
t neighbours uij .
As we seek a solution whi
h is pie
ewise
onstant w.r.t. the
ontrol volumes, therefore
we have
Z
d
u dx = uj Vol(Vj )
dt V j
Moreover we dene
R~ (~u) = (Rea
1 (~u); Rea
2 (~u); : : : ; Rea
n (~u))T
S~ (f~) = (Sr
1 (f~); Sr
2 (~u); : : : ; Sr
n (~u))T
with
Rea j (~u) =
Vj
udx ;
Sr j =
Vj
f dx
69
7 Finite-volume methods
udx +
V
F~ (u) ~nd +
V
~ u ~nd =
r
f dx
(7.7)
~un+1
~unk
This modi
ation of the
lassi
al Runge-Kutta s
heme is
alled low-storage version,
as the intermediate results ~unk do not have to be stored for the nal update of the
solution.
For an expli
it s
heme the time-step t is limited by the Courant-Friedri
h-Levy
ondition:
"
#
hi
h2i
t =
C
+
jj~bjj1;Vi 4 CFL
where hi is the smallest size of
ell Vi . The
onstant CCFL is
alled Courant-Friedri
hLevy number. For a 3-stage low storage RK-s
heme, CCFL 2 (0; 1:4).
u oo
u oo
7 Finite-volume methods
measured in terms of the denition of the residual from numeri
al linear algebra; this
is equivalent to the situation that a steady-state solution for the iteration in pseudo
time has been obtained.
Usually the number of pseudo time iterations is mu
h smaller then the number of iteration steps for the linear solver, sin
e in the expli
it FV-s
heme, the information travels
along the
hara
teristi
s (whi
h is the most-e
ient way) from the in
ow boundary
through all
ells to the out
ow boundary. The number of iterations required for an
iterative linear solver to
onverge
an be redu
ed signi
antly if the grid-points are also
ordered with respe
t to the transport of physi
al information (downwind numbering).
Hen
e an understanding of the
hara
teristi
transport of information helps arising
in expli
it s
hemes gives valuable ideas for the design of linear-solvers for impli
it
methods. Of
oarse, these improved linear solvers
an be used also for
ontinuous
Finite-Element methods and DG-FEM.
72