Professional Documents
Culture Documents
Lecture 1
Neela Nataraj
Department of Mathematics,
Indian Institute of Technology Bombay,
Powai, Mumbai 76
neela@math.iitb.ac.in
Adaptive FEM Worshop, IIST, Tvm - March 2012
• Admissible space : V =
1 2 ∂v ∂v
• Admissible space : V = H (Ω) = v : v ∈ L (Ω), , ∈ L2 (Ω)
∂x ∂y
1 2 ∂v ∂v
• Admissible space : V = H (Ω) = v : v ∈ L (Ω), , ∈ L2 (Ω)
∂x ∂y
1 2 ∂v ∂v
• Admissible space : V = H (Ω) = v : v ∈ L (Ω), , ∈ L2 (Ω)
∂x ∂y
1 2 ∂v ∂v
• Admissible space : V = H (Ω) = v : v ∈ L (Ω), , ∈ L2 (Ω)
∂x ∂y
1 2 ∂v ∂v
• Admissible space : V = H (Ω) = v : v ∈ L (Ω), , ∈ L2 (Ω)
∂x ∂y
is continuous.
Neela Nataraj IITB
Galerkin Variational Formulation (PG )
Triangulation of Ω̄:
Triangulation of Ω̄:
By an admissible triangulation τh of a closed domain Ω̄ ⊂ R2 , we
mean a subdivision of Ω̄ into closed
triangles/rectangles/quadrilaterals denoted by {Ti }NELEM
i=1 such
that
Triangulation of Ω̄:
By an admissible triangulation τh of a closed domain Ω̄ ⊂ R2 , we
mean a subdivision of Ω̄ into closed
triangles/rectangles/quadrilaterals denoted by {Ti }NELEM
i=1 such
that
(i) Ω̄ = ∪NELEM
i=1 Ti
Triangulation of Ω̄:
By an admissible triangulation τh of a closed domain Ω̄ ⊂ R2 , we
mean a subdivision of Ω̄ into closed
triangles/rectangles/quadrilaterals denoted by {Ti }NELEM
i=1 such
that
(i) Ω̄ = ∪NELEM
i=1 Ti
φ
(ii) Ti ∩ Tj =
Triangulation of Ω̄:
By an admissible triangulation τh of a closed domain Ω̄ ⊂ R2 , we
mean a subdivision of Ω̄ into closed
triangles/rectangles/quadrilaterals denoted by {Ti }NELEM
i=1 such
that
(i) Ω̄ = ∪NELEM
i=1 Ti
φ
(ii) Ti ∩ Tj = common vertex for i 6= j
Triangulation of Ω̄:
By an admissible triangulation τh of a closed domain Ω̄ ⊂ R2 , we
mean a subdivision of Ω̄ into closed
triangles/rectangles/quadrilaterals denoted by {Ti }NELEM
i=1 such
that
(i) Ω̄ = ∪NELEM
i=1 Ti
φ
(ii) Ti ∩ Tj = common vertex for i 6= j (5)
common side
Triangulation of Ω̄:
By an admissible triangulation τh of a closed domain Ω̄ ⊂ R2 , we
mean a subdivision of Ω̄ into closed
triangles/rectangles/quadrilaterals denoted by {Ti }NELEM
i=1 such
that
(i) Ω̄ = ∪NELEM
i=1 Ti
φ
(ii) Ti ∩ Tj = common vertex for i 6= j (5)
common side
◦ ◦
(iii) Ti ∩ Tj = φ for i 6= j
Matrix formulation:
First of all, choose an appropriate basis {φih }N
i=1 for Vh
Matrix formulation:
First of all, choose an appropriate basis {φih }N
i=1 for Vh
(the construction of {φih }N
i=1 will be explained with details).
Matrix formulation:
First of all, choose an appropriate basis {φih }N
i=1 for Vh
(the construction of {φih }N
i=1 will be explained with details).
Matrix formulation:
First of all, choose an appropriate basis {φih }N
i=1 for Vh
(the construction of {φih }N
i=1 will be explained with details).
N
X
Let uh = ui φih , where ui0 s need to be determined.
i=1
• F = (l(φjh ))1≤j≤N
2 0 0 3
is {ai = (ai1 , ai2 )}i=1 .
called a 2-simplex in R with 3 vertices
a11 a21 a31
such that D3 = a12 a22 a32 6= 0
1 1 1
2 0 0 3
is {ai = (ai1 , ai2 )}i=1 .
called a 2-simplex in R with 3 vertices
a11 a21 a31
such that D3 = a12 a22 a32 6= 0
1 1 1
2 0 0 3
is {ai = (ai1 , ai2 )}i=1 .
called a 2-simplex in R with 3 vertices
a11 a21 a31
such that D3 = a12 a22 a32 6= 0
1 1 1
Definition
Let T be a 2-simplex in R2 with three vertices {ai }3i=1 such that
X 3 3
X
∀ x ∈ T, x = λi ai , 0 ≤ λi ≤ 1, λi = 1. Then (λ1 , λ2 , λ3 )
i=1 i=1
are the barycentric co-ordinates of the point x of the 2 simplex
T ⊂ R2 .
× × 0 × 0 0 0 0 0
× × × × 0 0 0 0
× 0 × × 0 0 0
× × 0 × 0 0
K =
× × × × 0
× 0 × ×
× × 0
× ×
× 9×9
Z " j j
#
∂φih ∂φh ∂φih ∂φh
kij = a(φih , φjh ) = + i j
+ φh φh dΩ
Ω ∂x ∂x ∂y ∂y
Z "
j j
#
∂φih ∂φh ∂φih ∂φh
kij = a(φih , φjh )
= + i j
+ φh φh dΩ
Ω ∂x ∂x ∂y ∂y
" #
j j
XZ ∂φih ∂φh ∂φih ∂φh i j
= + + φh φh dΩ
T ∂x ∂x ∂y ∂y
T ∈τh
Z "
j j
#
∂φih ∂φh ∂φih ∂φh
kij = a(φih , φjh )
= + i j
+ φh φh dΩ
Ω ∂x ∂x ∂y ∂y
" #
j j
XZ ∂φih ∂φh ∂φih ∂φh i j
= + + φh φh dΩ
T ∂x ∂x ∂y ∂y
T ∈τh
For example,
∂φ1h ∂φ1h ∂φ1h ∂φ1h
Z
a(φ1h , φ1h )
= + 1 2
+ (φh ) dT1 ,
T1 ∂x ∂x ∂y ∂y
since the node a1 is present only in the triangle T1 .
For example,
∂φ1h ∂φ1h ∂φ1h ∂φ1h
Z
a(φ1h , φ1h )
= + 1 2
+ (φh ) dT1 ,
T1 ∂x ∂x ∂y ∂y
since the node a1 is present only in the triangle T1 .
But in T1 , we know φ1h = λT 1
1 and hence
For example,
∂φ1h ∂φ1h ∂φ1h ∂φ1h
Z
a(φ1h , φ1h )
= + 1 2
+ (φh ) dT1 ,
T1 ∂x ∂x ∂y ∂y
since the node a1 is present only in the triangle T1 .
But in T1 , we know φ1h = λT 1
1 and hence
Z
1 1 ∂ T1 ∂ T1 ∂ T1 ∂ T1 T1 2
a(φh , φh ) = (λ1 ) (λ1 ) + (λ ) (λ ) + (λ1 ) dxdy .
T1 ∂x ∂x ∂y 1 ∂y 1
For example,
∂φ1h ∂φ1h ∂φ1h ∂φ1h
Z
a(φ1h , φ1h )
= + 1 2
+ (φh ) dT1 ,
T1 ∂x ∂x ∂y ∂y
since the node a1 is present only in the triangle T1 .
But in T1 , we know φ1h = λT 1
1 and hence
Z
1 1 ∂ T1 ∂ T1 ∂ T1 ∂ T1 T1 2
a(φh , φh ) = (λ1 ) (λ1 ) + (λ ) (λ ) + (λ1 ) dxdy .
T1 ∂x ∂x ∂y 1 ∂y 1
Similarly,
Z
1 2 ∂ T1 ∂ T1 ∂ T1 ∂ T1 T1 T1
a(φh , φh ) = (λ1 ) (λ2 ) + (λ ) (λ ) + λ1 λ2 dxdy .
T1 ∂x ∂x ∂y 1 ∂y 2
For example,
∂φ1h ∂φ1h ∂φ1h ∂φ1h
Z
a(φ1h , φ1h )
= + 1 2
+ (φh ) dT1 ,
T1 ∂x ∂x ∂y ∂y
since the node a1 is present only in the triangle T1 .
But in T1 , we know φ1h = λT 1
1 and hence
Z
1 1 ∂ T1 ∂ T1 ∂ T1 ∂ T1 T1 2
a(φh , φh ) = (λ1 ) (λ1 ) + (λ ) (λ ) + (λ1 ) dxdy .
T1 ∂x ∂x ∂y 1 ∂y 1
Similarly,
Z
1 2 ∂ T1 ∂ T1 ∂ T1 ∂ T1 T1 T1
a(φh , φh ) = (λ1 ) (λ2 ) + (λ ) (λ ) + λ1 λ2 dxdy .
T1 ∂x ∂x ∂y 1 ∂y 2
a(φ1h , φ3h ) = 0 as a1 and a3 do not belong to the same triangle.
" #
∂ T2 2 ∂ T2 2
Z
T2 2
a(φ2h , φ2h ) = (λ ) + (λ ) + (λ3 ) dxdy
T2 ∂x 3 ∂y 3
" #
∂ T2 2 ∂ T2 2
Z
T2 2
a(φ2h , φ2h ) = (λ ) + (λ ) + (λ3 ) dxdy
T2 ∂x 3 ∂y 3
Z " #
∂ T3 2 ∂ T3 2
T3 2
+ (λ ) + (λ ) + (λ1 ) dxdy
T3 ∂x 1 ∂y 1
" #
∂ T2 2 ∂ T2 2
Z
T2 2
a(φ2h , φ2h ) = (λ ) + (λ ) + (λ3 ) dxdy
T2 ∂x 3 ∂y 3
Z " #
∂ T3 2 ∂ T3 2
T3 2
+ (λ ) + (λ ) + (λ1 ) dxdy
T3 ∂x 1 ∂y 1
(f )T ∀ T ∈ τh .
(f )T ∀ T ∈ τh .
Then we assemble these element matrices to obtain the 0 global
stiffness matrix0 K and the global load vector 0 F 0 .
(f )T ∀ T ∈ τh .
Then we assemble these element matrices to obtain the 0 global
stiffness matrix0 K and the global load vector 0 F 0 .
We will illustrate this 0 assembly procedure0 for our example:
Z
∂ T ∂ T ∂ T ∂ T
kijT = (λ ) (λ ) + T T
(λ ) (λ ) + λi λj dT 1 ≤ i, j ≤ 3
T ∂x i ∂x j ∂y i ∂y j
.
Z
∂ T ∂ T ∂ T ∂ T
kijT = (λ ) (λ ) + T T
(λ ) (λ ) + λi λj dT 1 ≤ i, j ≤ 3
T ∂x i ∂x j ∂y i ∂y j
. Z
T
fi = f λT
i dT 1 ≤ i ≤ 3.
T
Z
∂ T ∂ T ∂ T ∂ T
kijT = (λ ) (λ ) + T T
(λ ) (λ ) + λi λj dT 1 ≤ i, j ≤ 3
T ∂x i ∂x j ∂y i ∂y j
. Z
T
fi = f λT
i dT 1 ≤ i ≤ 3.
T