Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Mats G Larson
mgl@math.chalmers.se
a = x0 x1 x2 x3 xi−1 xi xi+1 xN −1 xN = b
x0 x1 x2 x3 x4 x5 x6 x7
Linear combination of basis functions
9 13
v(x) = (ϕ0 + ϕ9 ) + (ϕ1 + ϕ8 )
4 8
5
+ ϕ2 + ϕ7 + (ϕ4 + ϕ6 )
8
1.0
x0 x1 x2 x3 x4 x5 x6 x7
Every function v ∈ Vh can be written:
N
X
v(x) = v(xi )ϕi (x)
i=0
1.5
0.5
−0.5
−1
−1.5
−2
−2.5
−1 0 1 2 3 4 5
Coordinates
0.000000 0.000000
0.250000 0.000000
0.250000 0.250000
0.500000 0.250000
0.500000 0.500000
2.5 v = λ2 + 3λ3
2
1.5
PSfrag replacements 1
0.5
0
1 1
0.8 0.8
0.6 0.6
0.4 0.4
0.2 0.2
x2 0 0
x1
0.8 ϕi (x1 , x2 )
0.6
0.4
0
1
0.8 1
0.6 0.8
0.4 0.6
0.4
0.2
0.2
x2 0 0
x1
v
0
−2
PSfrag replacements −4
−6
−8
3
2
4
1
3
0 2
−1 1
−2 0
x2 −3 −1
x1
Basis defined by
1, if j = i,
λi (pj ) =
0, if j 6= i.
where {xi }N
0 is a set of nodes and {ϕ N
i 1 a basis of Vh .
}
0.5
−0.5
PSfrag replacements
−1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x
Proof:
kf − P f k2 = (f − P f, f − P f )
≤ (f − P f, f − v) + (f − P f, v − P f )
| {z }
0 orthogonality
≤ kf − P f kkf − vk
where kuk2 = (u, u).
0.07
0.06
0.05
U
0.04
0.03
0.01
0
1
0.8 1
0.6 0.8
0.4 0.6
0.4
0.2
0.2
x2 0 0
x1
0.5
0.4
0.3
U 0.2
0
1
0.8 1
0.6 0.8
0.4 0.6
0.4
0.2
0.2
x2 0 0
x1
tN
tN −1 SN
s0 s1 sj sm
Figure: Space-time discretization.
FN,j = f ϕj dxdt.
IN Ω
Also,
Z Z 1 Z Z 1
v̇η dxdt + u0 η 0 dxdt = 0,
In 0 In 0
and
Z Z 1
VN − VN −1
ϕj dxdt
IN 0 kN
Z Z 1
+ (UN0 −1 ψN −1 + UN0 ψN )ϕ0j dxdt = 0.
IN 0
• L
adv - (SUPG).
• −L∗ .
Special cases:
• Nitsche’s method: α = −1, β large.
k =2 k =2 k =2
0.15 τ =0 0.15 τ =1/h 0.15 τ =10/h
x =0.69 x =0.69 x =0.69
0 0 0
0.1 0.1 0.1
0 0 0
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
x x x
Figure: Quadratic dG, with α = 1 and β = 0, 1, 10. (τ = β/h)