Professional Documents
Culture Documents
Notes On Finite Elements: 1 Basic Definitions
Notes On Finite Elements: 1 Basic Definitions
1 Basic definitions
All the derivatives are weak derivatives(see 2).
Test function The approximation must fulfil the weak form for those.
An important idea to keep in mind is that in the Galerkin method, we
impose that our approximation (a linear combination of the trial functions)
is orthogonal to all the test functions (the solution is orthogonal to any test
function) under a certain inner product 1 For instance,
L2 () = {v| v 2 d < }
R
v
H 1 () = {v L2 ()| xi
L2 () for i = 1, ..., n}
1 Inner product is not the correct name
1
H01 () = {v H 1 ()|v = 0 on E }
R
(u, v)H 1 () =
(uv + u v)d
1
kvkH 1 () = (v, v)H
2
1 ()
R
Seminorm |v|H 1 () =
v v d = kvkL2 ()
2v
R P P
Seminorm |v|H 2 () = r s rs d
Residue The residue is usually defined as, R(v) = L(v) a(uh , v). The
following equality is useful R(v) = a(e, v). It can be proved by adding and
subtracting a(u, v) to the residue and seeing that L(v) a(u, v) = 0.
2 Weak derivatives
Let u be a function in the Lebesgue space L1 ([a, b])2 . We say that v in L1 ([a, b])
is a weak derivative of u if,
Z b Z b
u(t)0 (t)dt = v(t)(t)dt (1)
a a
for all Cc (U ),
that is, for all infinitely differentiable functions with
compact support in U . If u has a weak derivative, it is often written D u since
weak derivatives are unique (at least, up to a set of measure zero).
2
Integrals over arbitrary domains C are introduced using the concept of char-
acteristic functions: (
1 xC
C = (4)
0 x 6 C
Then, Z Z
f= f C (5)
C A
where A is some closed rectangle that contains C. This integral exists if f is
integrable on A and the frontier of C is measure zero.
It is shown that there exists open sets that have non-measure zero fron-
tiers and therefore, integrals over those domains are not defined. To solve this
problem, the concept of partition of unity is introduced.
It is proved that for any set in Rn , there always exist a partition of unity.
Then it is shown, that under certain conditions (less restrictive) than the
previous, the following integral exists
XZ
f (6)
A
and this integral independent of the partition of unity choosen. Then the (ex-
tended) integral of f is defined to have this value.
4 Properties
5 Theorems
5.1 Cauchy-Schwarz inequality
5.2 Poincainre inequality
5.3 Greens lemma
The first Greens identity reads,
Z Z
f g ndS = (f 2 g + f g)dV (7)
and then expanding the left hand side. There is another version of the first
identity, Z Z Z
h (f g) = hf g n f h g (10)
3
The second identity states that,
Z Z
(f g gf ) ndS = (f 2 g g2 f )dV (11)
thus the boundary conditions, under certain assumptions (TODO state those
assumptions) the problem is equivalent to the following minimization problem:
1
min a(u, u) L(u) (13)
uV 2
Indeed, this can be shown quite easily. Let u be the function that minimizes the
functional. Then, lets introduce g = u + v ( is a scalar and v is any function
that is 0 on the Dirichlet boundary) on the functional,
1 1
a(g, g) L(g) = (a(u, u) + 2 a(v, v) + 2a(u, v)) L(u) L(v) (14)
2 2
Since the functional was transformed in a function on , we can minimize by
taking its derivative and making it equal to 0,
Thus, we also know that the minimum is achived when = 0 (we assumed u to
be the function that minimizes the functional), we have initial weak formulation
7 Lagrange multipliers
8 Penalty method
9 Best approximation property
The best approximation property states that
4
where, uh is the FE solution and u is the exact solution. This means that the
FEM approximation uh has the smallest error in energy-norm among all the
functions in V h . This statement can be proved in 2 steps. We have,
First, we have to prove that the error is orthogonal to all the functions in
V h . This result is quite meaninful by itself. We have
a(uh , v) = L(v) v V h (19)
and also that,
a(u, v) = L(v) v V (20)
h h
This last equation also holds for v V (since V V ). Then subtracting the
two equations and defining the error, e = u uh , we have
a(e, v) = 0 v V h (21)
which means that the error is orthogonal to all the elements of V h . Making use
of that and that our bilinear form fulfills,
a(v, v) 0 v (22)
we can finally prove the result:
kv uk2 = a(v u, v u) = a(v uh + uh u, v uh + uh u)
= a(v uh , v uh ) + a(u uh , u uh ) 2a(u uh , v uh )
(23)
= a(v uh , v uh ) + a(e, e) 2a(e, v uh )
= a(v uh , v uh ) + a(e, e) a(e, e) = kuh uk2
5
11 Moving least squares
Given the pairs (xi , fi )ni=1 function (x (called weighting function), and a func-
tion f (x) that depends of several constants (ci )m i=1 , the moving least squares
method assign values to the constants such that
n
X
(|x xi |)kf (xi ) fi k2 (29)
i=1
12 Patch test
Patch test is a technique proposed to check whether a certain FE mesh will
converge. The patch test is not a necessary nor sufficient criteria to guarantee
convergence. However, and it is widely used. The idea is to choose is to define
the patch of a node (the node where we want to perform the patch test) and
solve a batch of boundary problems over this domain. The boundary conditions
are for 2D are:
1. ux = 1 uy = 0
2. ux = 0 uy = 1
3. ux = x uy = 0
4. ux = 0 uy = x
5. ux = y uy = 0
6. ux = 0 uy = y
The solution must be exact inside the domain must be exact, otherwise it is
considered that patch test has failed. This can be easily generalized for other
problems and three-dimensional problems.
6
14 Results regarding norms
The energy norm is equivalent to the trial space norm (H s )
c2 kvkH s kvka c1 kvkH s
Poicares inequality:
ku uh ka ku vka v V h (32)
where
|a(u, v)| c1 kukH s kvkH s u, v H s (34)
and
c2 kvk2H s kvk2a v H s (35)