Professional Documents
Culture Documents
Discontinuous Petrov-Galerkin (DPG) Method With Optimal Test Functions Tutorial and Perspectives
Discontinuous Petrov-Galerkin (DPG) Method With Optimal Test Functions Tutorial and Perspectives
METHOD
WITH OPTIMAL TEST FUNCTIONS
Tutorial and Perspectives
Leszek Demkowicz
ICES, The University of Texas at Austin
U, V - Hilbert spaces,
b(u, v) - bilinear (sesquilinear) continuous form on U × V ,
Bu = l B : U → V 0
u∈U
⇔
b(u, v) = l(v) ∀v ∈ V < Bu, v >= b(u, v) v ∈ V
|b(u, v)|
inf sup |b(u, v)| =: γ > 0 ⇔ sup ≥ γkukU
kukU =1 kvkV =1 v∈V kvkV
l(v) = 0 ∀v ∈ V0
where
V0 := N (B 0 ) = {v ∈ V : b(u, v) = 0 ∀u ∈ U }
then the variational problem has a unique solution u that satisfies the stability
estimate:
1
kuk ≤ klkV 0 .
γ
Proof: Direct interpretation of Banach Closed Range Theorem∗ .
∗ see e.g. Oden, D, Functional Analysis, Chapman & Hall, 2nd ed., 2010, p.518
Texas A&M, May 2015 DPG Method 7 / 131
Petrov-Galerkin Method and Babuška Theorem
Theorem (Babuška† ).
The discrete inf-sup condition
|b(uh , vh )|
sup ≥ γh kuh kU
vh ∈Vh kvh kV
† I. Babuska, “Error-bounds for Finite Element Method.”, Numer. Math, 16, 1970/1971.
Texas A&M, May 2015 DPG Method 8 / 131
Petrov-Galerkin Method and Babuška Theorem
Uh ⊂ U, Vh ⊂ V, dim Uh = dim Vh - finite-dimensional trial and test (sub)spaces
uh ∈ Uh
b(uh , vh ) = l(vh ), ∀vh ∈ Vh
Theorem (Babuška† ).
The discrete inf-sup condition
|b(uh , vh )|
sup ≥ γh kuh kU
vh ∈Vh kvh kV
implies existence, uniqueness and discrete stability
kuh kU ≤ γh−1 klkVh0
and convergence
M
ku − uh kU ≤ inf ku − wh kU
γh wh ∈Uh
unless ‡ we employ special test functions that realize the supremum in the inf-sup
condition:
|b(uh , v)|
vh = arg maxv∈V
kvk
unless ‡ we employ special test functions that realize the supremum in the inf-sup
condition:
|b(uh , v)|
vh = arg maxv∈V
kvk
Recall that the Riesz operator RV : V → V 0 is an isometry. Then:
−1
|b(uh ,v)| (RV Buh ,vh )V
supv kvh k
= kBuh kV 0 = k RV−1 Buh kV = kvh kV
| {z }
=vh
hBuh ,vh i b(uh ,vh )
= kvkV
= kvkV
vh ∈ V
Variational definition of vh :
(v, δv)V = b(uh , δv) ∀δv ∈ V .
The operator T := RV−1 B : Uh → V will be called the trial to test operator.
‡ L.D., J. Gopalakrishnan. “A Class of Discontinuous Petrov-Galerkin Methods. Part II:
|b(u, v)|
kukE := kRV−1 BukV = kBukV 0 = sup
v∈V kvkV
Two points:
I With respect to the new, energy norm, both continuity constant M and inf-sup
constant γ are unity.
I The use of optimal test functions (their construction is independent of the choice of
trial norm) implies that γh ≥ γ = 1.
Thus, by the Babuška Theorem,
M
ku − uh kE ≤ inf ku − wh kE .
γh wh ∈Uh
|{z}
=1
In other words, FE solution uh is the best approximation of the exact solution u in the
energy norm. We have arrived through a back door at a Minimum Residual Method.
§ Residual norm really...
Texas A&M, May 2015 DPG Method 10 / 131
Moral of the story
Bu = l B : U → V 0
u∈U
⇔
b(u, v) = l(v) v ∈ V hBu, vi = b(u, v)
¶
I J.H. Bramble, R.D. Lazarov, J.E. Pasciak, “A Least-squares Approach Based on a Discrete Minus One Inner Product for First Order
Systems”Math. Comp, 66, 935-955, 1997.
I L.D., J. Gopalakrishnan. “A Class of Discontinuous Petrov-Galerkin Methods. Part II: Optimal Test Functions.”Numer. Meth. Part. D. E., 27,
70-105, 2011.
Bu = l B : U → V 0
u∈U
⇔
b(u, v) = l(v) v ∈ V hBu, vi = b(u, v)
¶
I J.H. Bramble, R.D. Lazarov, J.E. Pasciak, “A Least-squares Approach Based on a Discrete Minus One Inner Product for First Order
Systems”Math. Comp, 66, 935-955, 1997.
I L.D., J. Gopalakrishnan. “A Class of Discontinuous Petrov-Galerkin Methods. Part II: Optimal Test Functions.”Numer. Meth. Part. D. E., 27,
70-105, 2011.
Bu = l B : U → V 0
u∈U
⇔
b(u, v) = l(v) v ∈ V hBu, vi = b(u, v)
I Riesz operator:
RV : V → V 0 , hRV v, δvi = (v, δv)V
is an isometry, kRV vkV 0 = kvkV .
¶
I J.H. Bramble, R.D. Lazarov, J.E. Pasciak, “A Least-squares Approach Based on a Discrete Minus One Inner Product for First Order
Systems”Math. Comp, 66, 935-955, 1997.
I L.D., J. Gopalakrishnan. “A Class of Discontinuous Petrov-Galerkin Methods. Part II: Optimal Test Functions.”Numer. Meth. Part. D. E., 27,
70-105, 2011.
Bu = l B : U → V 0
u∈U
⇔
b(u, v) = l(v) v ∈ V hBu, vi = b(u, v)
I Riesz operator:
RV : V → V 0 , hRV v, δvi = (v, δv)V
is an isometry, kRV vkV 0 = kvkV .
I Minimum residual method reformulated:
1
2 kBuh − lk2V 0 = 21 kRV−1 (Buh − l)k2V → min
uh ∈Uh
¶
I J.H. Bramble, R.D. Lazarov, J.E. Pasciak, “A Least-squares Approach Based on a Discrete Minus One Inner Product for First Order
Systems”Math. Comp, 66, 935-955, 1997.
I L.D., J. Gopalakrishnan. “A Class of Discontinuous Petrov-Galerkin Methods. Part II: Optimal Test Functions.”Numer. Meth. Part. D. E., 27,
70-105, 2011.
or
hBuh − l, RV−1 Bδuh i = 0 δuh ∈ Uh
or
hBuh − l, RV−1 Bδuh i = 0 δuh ∈ Uh
| {z }
vh
or
hBuh − l, vh i = 0 vh = RV−1 Bδuh
or
hBuh , vh i = hl, vh i vh = RV−1 Bδuh
or
b(uh , vh ) = l(vh )
where
vh ∈ V
(vh , δv)V = b(δuh , δv) δv ∈ V
An alternate route k ,
k W. Dahmen, Ch. Huang, Ch. Schwab, and G. Welper. “Adaptive Petrov Galerkin methods
for first order transport equations”, SIAM J. Num. Anal. 50(5): 242-2445, 2012
Texas A&M, May 2015 DPG Method 14 / 131
DPG is a mixed method
An alternate route k ,
or
ψ = RV−1 (Buh − l)
(
k W. Dahmen, Ch. Huang, Ch. Schwab, and G. Welper. “Adaptive Petrov Galerkin methods
for first order transport equations”, SIAM J. Num. Anal. 50(5): 242-2445, 2012
Texas A&M, May 2015 DPG Method 14 / 131
DPG is a mixed method
An alternate route k ,
or
(ψ, δv)V − b(uh , δv) = −l(δv) ∀δv ∈ V
(
b(δuh , ψ) =0 ∀δuh ∈ Uh
k W. Dahmen, Ch. Huang, Ch. Schwab, and G. Welper. “Adaptive Petrov Galerkin methods
for first order transport equations”, SIAM J. Num. Anal. 50(5): 242-2445, 2012
Texas A&M, May 2015 DPG Method 14 / 131
DPG method, a summary so far
I Stiffness matrix is always hermitian and positive-definite (it is a
generalization of the least squares method...).
∗∗ J.T.Oden, L.D., T.Strouboulis and Ph. Devloo, “Adaptive Methods for Problems in Solid and Fluid Mechanics”, in Accuracy Estimates and
Adaptive Refinements in Finite Element Computations, Wiley & Sons, London 1986
Texas A&M, May 2015 DPG Method 15 / 131
DPG method, a summary so far
I Stiffness matrix is always hermitian and positive-definite (it is a
generalization of the least squares method...).
I The method delivers the best approximation error (BAE) in the “energy
norm”:
|b(u, v)|
kukE := kBukV 0 = sup
v∈V kvkV
∗∗ J.T.Oden, L.D., T.Strouboulis and Ph. Devloo, “Adaptive Methods for Problems in Solid and Fluid Mechanics”, in Accuracy Estimates and
Adaptive Refinements in Finite Element Computations, Wiley & Sons, London 1986
Texas A&M, May 2015 DPG Method 15 / 131
DPG method, a summary so far
I Stiffness matrix is always hermitian and positive-definite (it is a
generalization of the least squares method...).
I The method delivers the best approximation error (BAE) in the “energy
norm”:
|b(u, v)|
kukE := kBukV 0 = sup
v∈V kvkV
I The energy norm of the FE error u − uh equals the residual and can be
computed,
No need for a-posteriori error estimation, note the connection with implicit
a-posteriori error estimation techniques ∗∗
∗∗ J.T.Oden, L.D., T.Strouboulis and Ph. Devloo, “Adaptive Methods for Problems in Solid and Fluid Mechanics”, in Accuracy Estimates and
Adaptive Refinements in Finite Element Computations, Wiley & Sons, London 1986
Texas A&M, May 2015 DPG Method 15 / 131
DPG method, a summary
I A lot depends upon the choice of the test norm k · kV ; for different test
norms, we get get different methods.
I A lot depends upon the choice of the test norm k · kV ; for different test
norms, we get get different methods.
I How to choose the test norm in a systematic way ?
I A lot depends upon the choice of the test norm k · kV ; for different test
norms, we get get different methods.
I How to choose the test norm in a systematic way ?
I Is the inversion of Riesz operator (computation of the optimal test functions,
energy error) feasible ?
I A lot depends upon the choice of the test norm k · kV ; for different test
norms, we get get different methods.
I How to choose the test norm in a systematic way ?
I Is the inversion of Riesz operator (computation of the optimal test functions,
energy error) feasible ?
I Being a Ritz method, DPG does not experience any preasymptotic
limitations.
T̃ : Uh → Ṽ T̃ uh := ṽh
Ṽh := T̃ Uh .
ψ̃ ∈ Ṽ , ũh ∈ Uh
f V − b(ũh , δψ)
(ψ̃, δψ) f = −l(δψ)
f δψf ∈ Ṽ
b(δuh , ψ̃) =0 δuh ∈ Uh
The (discrete) inf sup condition must be satisfied:
˜
|b(uh , δψ)|
sup ≥ γh kuh k
˜ Ṽ
δψ∈
˜
kδψk
Π̃ : V → Ṽ
such that
kΠ̃vkV ≤ CkvkV
and
b(uh , Π̃v − v) = 0 ∀uh ∈ Uh
††
solves the problem
†† J. Gopalakrishnan and W. Qiu. “An analysis of the practical DPG method.”, Math. Comp.,
‡‡ L.D., Various Variational Formulations and Closed Range Theorem, ICES Report 15/03.
Texas A&M, May 2015 DPG Method 21 / 131
Notation
I N Lipschitz domain,
Standard assumptions: Ω ⊂ R
Elements:K
Edges:e S
Skeleton:Γh = K ∂K
Internal skeleton:Γ0h = Γh − ∂Ω
u = u0 on Γ1
u = u0 on Γ1
σn = σ0 on Γ2
∂u
∂n − βn u = σ0 on Γ2 ⇔
σ = ∇u − βu /τ (1)
−∆u + ∇ · (βu) + cu =f in Ω
−div σ + cu =f /v (2)
The inf-sup constants for different variational formulations are equal or O(1)-equivalent
(Closed Range Theorem at work).
u = u0 on Γ1
σn = σ0 on Γ2
σ = ∇u − βu /τ (1)
−div σ + cu =f /v (2)
Relax (2):
u ∈ H 1 (Ω) : u = u0 on Γ1
(
u = u0 on Γ1
σn = σ0 on Γ2
1
(σ + βu) = ∇u /τ (1)
−div σ + cu =f /v (2)
Relax (1) and (2):
u ∈ L2 (Ω), σ ∈ (L2 (Ω))N
1
(σ + βu, τ ) = −(u, divτ ) + hu0 , τn i, τ ∈ H(div, Ω) : τn = 0 on Γ2
(σ, ∇v) + (cu, v) = (f, v) + hσ0 , vi, v ∈ H 1 (Ω) : v = 0 on Γ1
In each of the possible variational formulations we can replace the conforming test
functions with broken test functions. The resulting inf-sup constants remain of the
same order and, in particular, they are mesh independent .
C. Carstensen, L.D., and J. Gopalakrishnan, The Paradigm of Broken Test Functions in DPG
Discretizations of Elliptic Second–Order PDEs, in preparation.
Texas A&M, May 2015 DPG Method 27 / 131
Classical Formulation with Broken Test Functions
N
X M
X
uh = ui ei , vh ≈ vj gj , M >> N
i=1 j=1
or
v = G−1 Bδu
The DPG stiffness matrix and load vector:
G −B ψ −b
=
BT u 0
Condensing out error indication function ψ,
ψ = G−1 (Bu − b)
we get again,
B T G−1 B u = G−1 Bb
uh := ( uh , t̂h )
|{z} |{z}
field flux
Mixed system:
G −B 1 −B 2 ψ −b
B T1 0 0 u = 0
B T2 0 0 t̂ 0
Neglecting the error steming from the approximation of optimal test function
(computation of residual), we have,
1/2
ku − uh k2H 1 (Ω) +kt̂ − t̂h k2H −1/2 (Γ
h)
1/2
≤ 1
inf
γ w ,r
ku − wh k2H 1 (Ω) + kt̂ − rh k2H −1/2 (Γh )
h h
| {z }
best approximation error
Additionally,
1/2
ku − uh k2H 1 (Ω) +kt̂ − t̂h k2H −1/2 (Γ
h)
https://github.com/libESEAS/ESEAS
3D div-grad Examples:
I Poisson problem
I Reaction-dominated diffusion
I Convection-dominated diffusion
Hexahedral meshes
H 1 element for field uh :
P p ⊗ P p ⊗ P p,
Trace of H(div) element:
u =0 on Γ
−2 ∆u + u = 1 in Ω
−2 ∆u − u = sin πy sin πz at x = 0
u =0 on the rest of Γ
−2 ∆u + ∂u =0 in Ω
∂x
3D Maxwell
∇ × E + iωµH =0 Faraday Law
= J imp
∇ × H − iωE − σE Ampère Law
∇ · (µH) =0 Gauss Magnetic Law
= ρimp + ρ
−∇ · (()E) Gauss Electric Law
−iωρ + ∇(σE) =0 conservation of charge
where:
E electric field
H magnetic field the unknowns
ρ free charge
µ permeability
permittivity material constants
σ conductivity
J imp
impressed current
load data
ρimp impressed charge
Electrostatics:
Coulomb’s Law (1775) electric field
→ →
polarization, dielectrics, Gauss Electric Law (1835)
Magnetostatics:
= n × E imp
n×E on Γ1
n×H = n × H imp on Γ2
∇ × E + iωµH =0 /φ (1)
∇ × H − (iω + σ)E = J imp /ψ (2)
The inf-sup constants for different variational formulations are equal or O(1)-equivalent
(Closed Range Theorem at work).
Only standard variational formulations are eligible for the Bubnov-Galerkin method
(symmetric functional setting)
L.D. “Various Variational Formulations and Closed Range Theorem”, ICES Report
15/03
Texas A&M, May 2015 DPG Method 51 / 131
Standard variational formulation
Relax the Ampère equation:
I multiply with factor −iω,
I multiply with a test function ψ and integrate by parts the curl term,
I build the second boundary condition into the formulation and eliminate the rest of
the boundary term by not testing on Γ1 , i.e. assuming n × ψ = 0 on Γ1 ,
−1/2
where Ht (curl, Γ) := trΓ H(curl, Ω).
Both formulations retain stability properties of the original variational formulations with
mesh independent inf-sup constants of the same order of magnitude.
C. Carstensen, L.D., and J. Gopalakrishnan, The Paradigm of Broken Test Functions in DPG
Discretizations of Elliptic Second–Order PDEs, in preparation.
Texas A&M, May 2015 DPG Method 54 / 131
FE discretization for curl problems
Hexahedral meshes
H(curl) element for electric field E:
and trace of the same element for flux (surface current) Ĥ.
Same element for the enriched space but with order p + ∆p.
In reported experiments: p = 2, ∆p = 2.
= µ = 1, σ = 0
ω = 5(1.6 wavelengths in the cube)
Cut the waveguide and use the lowest propagating mode for BC along the cut.
Texas A&M, May 2015 DPG Method 57 / 131
Fichera corner microwave
Residual (dotted line) decreases always while error (solid line) decreases only in
the asymptotic regime.
Texas A&M, May 2015 DPG Method 128 / 131
A non-trivial question
I Does the satisfaction of the weak form of the Ampère equation imply the
satisfaction of the continuity equation?
I Does the satisfaction of the weak form of the Ampère equation imply the
satisfaction of the continuity equation?
I More precisely, does the minimization of the residual corresponding to the
Ampère eqn imply the control of the residual corresponding to the continuity
equation ? (Not the case for an explicit a-posteriori error estimation for the
standard Galerkin method.)
I Does the satisfaction of the weak form of the Ampère equation imply the
satisfaction of the continuity equation?
I More precisely, does the minimization of the residual corresponding to the
Ampère eqn imply the control of the residual corresponding to the continuity
equation ? (Not the case for an explicit a-posteriori error estimation for the
standard Galerkin method.)
I The answer to the last two questions seems to be positive. For the primal
DPG method,
Thank you