• 沒有找到結果。

2020SummerWorkshopforScientificComputingSep.1,2020 Min-HungChen DiscontinuousGalerkinMethods

N/A
N/A
Protected

Academic year: 2022

Share "2020SummerWorkshopforScientificComputingSep.1,2020 Min-HungChen DiscontinuousGalerkinMethods"

Copied!
48
0
0

加載中.... (立即查看全文)

全文

(1)

Discontinuous Galerkin Methods

Min-Hung Chen

Department of Mathematics, NCKU

2020 Summer Workshop for Scientific Computing Sep. 1, 2020

(2)

Outline

1 Introduction DG for ODE

2 Linear Hyperbolic System

3 Steady-State Problems Elliptic Problems Fenics and Colab

4 HDG

Elliptic Model Problem

Matlab tools for HDG - HDG3D

5 Summary

M.-H. Chen Discontinuous Galerkin Methods 2 / 47

(3)

Introduction

What is the Discontinuous Galerkin Method?:

a method between a finite element and a finite volume method local to the generating element

a practical framework for the development of high-order accurate methods using unstructured grids

(4)

Introduction

A short (and biased) historical overview of the DGM

1

First DG method introduced in 1973 by Reed and Hill for linear transport.

First studied in 1974 by Lesaint and Raviart.

Extended to nonlinear hyperbolic conservation laws in the 90’s by B.

Cockburn and C.-W. Shu.

Extended to compressible flow in 1997 first by F. Bassi and S. Rebay.

New DG methods for diffusion appear and some old ones (the IP

methods of the late 70’s) are resuscitated. A unified analysis is proposed in 2002 by D. Arnold, F. Brezzi, B. Cockburn and D. Marini.

They clash with the well-established mixed and continuous Galerkin methods. In response, the HDG methods are introduced in 2009 by B.

Cockburn, J. Gopalakrishnan and R. Lazarov. The HDG methods are strongly related to the hybrid methods and to the hybridization

techniques of the mid 60’s introduced as implementation techniques for mixed methods.

1https://www.lacan.upc.edu/dg2017/

M.-H. Chen Discontinuous Galerkin Methods 4 / 47

(5)

Notation

Jump Operator:

[[w]] =

w|K+n++ w|Kn on ∂K+∩ ∂K

wn on ∂Ω

[[v]] =

v|K+· n++ v|K· n on ∂K+∩ ∂K

v · n on ∂Ω

Average Operator:

{w} =

1

2(w|K++ w|K) on ∂K+∩ ∂K

w on ∂Ω

{v} =

1

2(v|K++ v|K) on ∂K+∩ ∂K

(6)

DG for ODE

ODE

2

Equation

d

dtu(t) = f (t), t ∈ (0, T ), u(0) = u0. Partition of (0, T ) = {tn}Nn=0, In= (tn, tn+1):

Local Basis: {φnj}kj=0;(for example, φnj(t) = Pj(2t−ttn+1n+1−t−tnn)) weak form:

Z

In

d

dtuh(s)v(s) ds = Z

In

f (s)v(s) ds, or

Z

In

uh(s)d

dtv(s) ds + uhv|ttn+1n = Z

In

f (s)v(s) ds, DG form:

Z

In

uh(s)d

dtv(s) ds +uchv|ttn+1n = Z

In

f (s)v(s) ds,

2B. Cockburn, Discontinuous Galerkin methods, ZAMM Z. Angew. Math. Mech. 83

M.-H. Chen Discontinuous Galerkin Methods 6 / 47

(7)

Numerical Flux

DG form: −R

Inuh(s)dtdv(s) ds +cuhv|ttn+1n =R

Inf (s)v(s) ds, Upwinding Numerical Flux uch(tn) =

 u0, if tn= 0, uh(tn−), otherwise.

Assuming Numerical Solution: uh|In(t) =Pk

i=0aniφni(t) Numerical Scheme: On In, for j = 0, ..., k,

Z

In k

X

i=0

aniφni(s)d

dtφnj(s) ds +

k

X

i=0

aniφniφnj(tn+1) −

k

X

i=0

an−1i φn−1i φnj(tn)

= Z

In

f (s)φnj(s) ds.

Matrix Equation: M

an0

.. . an

= F

(8)

DG for ODE

Properties of the DG methods

Discontinuous from element to element.

Locally conservative

uch|ttn+1n =R

Inf (s) ds,

Relation between the residuals and jumps

Z

In

uh(s)d

dtv(s) ds +uchv|ttn+1n = Z

In

f (s)v(s) ds, Integration by parts,

Z

In

d

dtuh(s)v(s) ds + (uch− uh)v|ttn+1n = Z

In

f (s)v(s) ds, Or,

Z

In

R(s)v(s) ds = (uhuch)v|ttn+1n

Take v = 1,

Z

In

R(s) ds = [[uh]] (tn)

M.-H. Chen Discontinuous Galerkin Methods 8 / 47

(9)

Example

d

dtu = etu(t), t ∈ (0, 2), u(0) = 1.

dg ode.zip

Rate of Convergence and super-convergence (P3) N L2-error order Lnode order

2 0.50E+02 - 0.45E+02 -

4 0.66E+01 2.92 0.11E+01 5.33 8 0.63E-00 3.40 0.14E-01 6.34 16 0.44E-01 3.83 0.11E-03 6.93 32 0.28E-02 4.00 0.87E-06 7.01 64 0.17E-03 4.03 0.68E-09 7.02

(10)

DG for ODE

Numerical Solutions of P

3

(Left) and P

5

(Right)

M.-H. Chen Discontinuous Galerkin Methods 10 / 47

(11)

Relation between the residuals and jumps

Ztn+1 tn

R(s) ds = [[uh]] (tn)

Interval 1 Interval 2

k Error [[u]] Ratio Error [[u]] Ratio

1 0.33E-01 0.19E+00 0.17 0.19E-00 0.11E+01 0.17 2 0.35E-02 0.26E-01 0.13 0.27E-01 0.20E-00 0.14 3 0.34E-03 0.31E-02 0.11 0.34E-02 0.30E-01 0.12 4 0.32E-04 0.33E-03 0.097 0.41E-03 0.40E-02 0.10 5 0.28E-05 0.32E-04 0.087 0.45E-04 0.50E-03 0.090 6 0.24E-06 0.30E-05 0.080 0.47E-05 0.57E-04 0.082

Interval 3 Interval 4

k Error [[u]] Ratio Error [[u]] Ratio

1 0.19E-00 0.11E+02 0.17 0.73E+02 0.96E+02 0.76 2 0.43E-01 0.30E+01 0.14 0.29E+02 0.17E+03 0.18 3 0.72E-02 0.60E-00 0.12 0.46E+01 0.37E+02 0.12 4 0.11E-03 0.11E-01 0.10 0.95E-00 0.87E+01 0.11 5 0.16E-04 0.17E-02 0.094 0.18E-00 0.18E+01 0.098

(12)

Linear scalar equation

Advection Equation

Equation (Ω ⊂ Rd)

ut+ ∇ · (au) = 0in Ω × (0, T ), u(t = 0) = u0,on Ω.

Triangulation: Th

Local Space: V (K) for K ∈ Th

weak form: For all v ∈ V (K)

Z

K

(uh)tv dx + Z

K

∇ · (auh)v dA = 0,

or Z

K

(uh)tv dx − Z

K

auh· ∇v dx + Z

∂K

auh· nv ds = 0,

DG form: Z

K

(uh)tv dx − Z

K

auh· ∇v dx + Z

∂Kaudh· nv ds = 0,

M.-H. Chen Discontinuous Galerkin Methods 12 / 47

(13)

Numerical Flux and Stability

ut+ ∇ · (au) = 0,

Stability for the transport equation 1

2 Z

Rd

u2(x, T ) dx +1 2

Z T 0

Z

Rd

∇ · a(x)u2(x, t) dx dt = 1 2

Z

Rd

u20(x) dx Stable if ∇ · a ≥ 0

(14)

Linear scalar equation

DG form

Z

K

(uh)tv dx − Z

K

auh· ∇v dx + Z

∂K

audh· nv ds = 0, Stability for the DG methods (Take v = uh)

1 2 Z

Rd

u2h(x, T ) dx +1 2

Z T 0

Z

Rd

∇ · a(x)u2h(x, t) dx dt + Z T

0

Θh(t) dt =1 2 Z

Rd

u2h,0(x) dx,

where

Θh(t) = X

K∈Th

(1 2 Z

K

∇ · (a(x)u2h)(x, t) dx) + Z

∂K

audh(x, t) · nuh(x, t) ds).

= X

K∈Th

Z

∂K

(audh· nuh(x, t) −1

2au2h· n) ds.

= X

e∈Eh

Z

e

(audh− a{uh}) · [[uh]] ds.

Numerical Flux: (Θh(t) ≥ 0)

I General: audh(tn) = a{uh} + C [[uh]]

I Up-winding: C =12|a · n|Id audh(tn) = a lim↓0uh(x − a)

I Lax-Friedrichs: C =12|a|Id audh(tn) = a{uh} +12|a| [[uh]]

M.-H. Chen Discontinuous Galerkin Methods 14 / 47

(15)

DG Scheme

DG form Z

K

(uh)tv dx − Z

K

auh· ∇v dx + Z

∂K

audh· nv ds = 0,

audh(tn) = a{uh} + C [[uh]]

Assuming Numerical Solution: uh|K(t, x) = ai(t)φi(x) Numerical Scheme: On K, for j = 0, ..., k,

Z

K

(ai)tφi(x)φj(x) dx − Z

K

aaiφi(x) · ∇φj(x) dx + Z

∂K

audh· nφj(x) ds = 0,

ODE

Md

dtU = N U

(16)

Linear scalar equation

Example

ut+ ux= 0 in (0, T = 1) × (0, 1) u(t = 0) = sin 2πx on (0, 1) Rate of Convergence (P4with RK 5)

N L2-error order 10 0.17E-05 - 20 0.52E-07 5.01 40 0.16E-08 5.01 80 0.51E-10 5.00 160 0.16E-11 5.00

M.-H. Chen Discontinuous Galerkin Methods 16 / 47

(17)

Procedures to implement the RK-DG methods

Conservation Form:

ut+ ∇·f (u) = 0, DG space discretization

Z

K

(uh)tvhdx − Z

K

f (uh) · ∇vhdx + Z

∂K

f (u[h) · nKvhds = 0.

Here, the proper definition of [f (uh)is essential for the stability and convergence of the method.

RK time discretizatin:

d

dtuh= L(uh)

(18)

Linear System

Wave Equation

Equation

utt− c24u = 0in Rd× (0, T ).

First-order system

Ut+ ∇ · F (U ) = 0, in Rd× (0, T ),

where

U =

q1

.. . qd

u

, F (U ) = −c

u . . . 0 ..

. . .. ... 0 . . . u q1 . . . qd

.

Triangulation: Th

Local Space: U (K) = Pk(K) × . . . × Pk(K)for K ∈ Th

DG form: For all V ∈ U (K)

Z

K

(Uhi)tVi Z

K

Fij(Uh)Vi,j+ Z

∂K

FcijnjVidx = 0,

M.-H. Chen Discontinuous Galerkin Methods 18 / 47

(19)

Wave Equation

Equation

utt− c24u = 0in Rd× (0, T ).

First-order system

Ut+ ∇ · F (U ) = 0, in Rd× (0, T ),

where

U =

q1

.. . qd

u

, F (U ) = −c

u . . . 0 ..

. . .. ... 0 . . . u q1 . . . qd

.

Triangulation: Th

Local Space: U (K) = Pk(K) × . . . × Pk(K)for K ∈ Th

DG form: For all V ∈ U (K)

Z

K

(Uhi)tVi Z

K

Fij(Uh)Vi,j+ Z

∂K

FcijnjVidx = 0,

(20)

Linear System

Numerical Flux and Stability

DG form: for all V ∈ U (K)

Z

K

(Uhi)tVi Z

K

Fij(Uh)Vi,j+ Z

∂K

FcijnjVidx = 0,

Stability for the DG methods (Take V = Uh)

1 2 Z

Rd

Uh2(x, T ) dx +1 2

Z T 0

Θh(t) dt =1 2 Z

Rd

Uh2(x, 0) dx,

where

Θh(t) = X

e∈Eh

Z

e

( cFij− {Fij}) · [[Uh, i]] dx.

Numerical Flux

Fcij= {Fij} + Cijkl[[Uhk]]l

M.-H. Chen Discontinuous Galerkin Methods 19 / 47

(21)

Examples of the DG methods

Numerical Flux

Fcij= {Fij} + Cijkl[[Uhk]]l

Up-winding:

Fcij = {Fij} + |c|

2 [[q]] δij+|c|

2 [[u]]jδi(d+1) Lax-Friedrichs:

Fcij= {Fij} +|c|

2 [[qi]]jδij+|c|

2 [[u]]jδi(d+1) Generalization of the Up-winding flux :

Fcij= {Fij} + (C22[[q]] − C12· [[u]])δij+ (C12[[q]] + C11· [[u]])δij

(22)

Linear System

RK-DG Scheme

DG form Z

K

(Uhi)tVi Z

K

Fij(Uh)Vi,j+ Z

∂K

FcijnjVidx = 0,

Fcij= {Fij} + Cijkl[[Uhk]]l

Numerical Solution: Uh|K(t, x) = ai(t)φi(x) Numerical Scheme: On K, for j = 0, ..., k,

Z

K

(ai)tφi(x) · φj(x) dx − Z

K

F (aiφi(x)) · ∇φj(x) dx + Z

∂K

F · nφb j(x) ds = 0,

ODE

Md

dtU = N U

M.-H. Chen Discontinuous Galerkin Methods 21 / 47

(23)

Numerical Experiments

1D Test: Wave equation with sound speedc(x) = 1µ

tu − c(x)2xv = 0, in (0, T ) × (−2, 2)

tv − ∂xu = 0, in (0, T ) × (−2, 2) c(x) =

 2 if x ∈ (−1, 1) 1 otherwise Initial conditions:

u(x, t = 0) = φ(x), x ∈ (−2, 2) v(x, t = 0) = −φ(x), x ∈ (−2, 2) Boundary Condition: (Transparent BC)

u + v =0 at x = 2 u − v =2φ(x − t) at x = −2

(24)

Linear System

Profile

φ(x) = ψ(x + 1 + 0.5 0.5 ), ψ(y) =

 (2y − 1)10(2y + 1)10 if |y| < .5,

0 otherwise.

φ(x − 1)

M.-H. Chen Discontinuous Galerkin Methods 23 / 47

(25)

Rate of Convergence

h L-error order L2-error order L1-error order 0.1250 0.64E-01 0.00 0.13E-01 0.00 0.25E-01 0.00 0.0625 0.17E-02 5.25 0.34E-03 5.28 0.63E-03 5.32 0.0312 0.60E-04 4.81 0.52E-05 6.01 0.86E-05 6.19 0.0156 0.40E-05 3.90 0.26E-06 4.31 0.34E-06 4.68 0.0078 0.25E-06 3.97 0.16E-07 4.00 0.21E-07 4.02 0.0039 0.16E-07 3.99 0.10E-08 4.00 0.13E-08 4.00

P3-elements and SSP-RK4 scheme at T = 1.5

h L-error order L2-error order L1-error order 0.1250 0.92E-02 0.00 0.19E-02 0.00 0.38E-02 0.00 0.0625 0.12E-03 6.26 0.12E-04 7.40 0.23E-04 7.40 0.0312 0.37E-05 5.04 0.22E-06 5.70 0.26E-06 6.43 0.0156 0.12E-06 4.97 0.70E-08 5.00 0.76E-08 5.11 0.0078 0.37E-08 5.00 0.22E-09 5.00 0.24E-09 5.00 0.0039 0.12E-09 4.99 0.68E-11 5.00 0.74E-11 5.00

P4-elements, SSP-RK5 scheme at T = 1.5.

(26)

Elliptic Problems

Elliptic Equation

Consider a second-order elliptic model problem:

−∆u = f in Ω, u = uD on ∂Ω.

Introduce an auxiliary variable q and rewrite the equation as q = ∇u in Ω,

−∇·q = f in Ω, u = uD on ∂Ω.

M.-H. Chen Discontinuous Galerkin Methods 25 / 47

(27)

Definition

For each element K of the mesh Th of the domain Ω, we define where nK is the outward unit normal to K,

(u, v)K = Z

K

uv dx, (1)

hw, vi∂K = Z

∂K

wv ds. (2)

(28)

Elliptic Problems

Weak form and DG method

The approximate solution (qh, uh)on the element K is taken in the space V (K) × W (K) and is defined as the solution, for all

(v, w) ∈ V (K) × W (K), of the equations

(qh, v)K+ (uh, ∇·v)K− hubh, nK· vi∂K = 0, (qh, ∇w)K− hqbh· nK, wi∂K = (f, w)K, with Dirichlet boundary condition

buh= uD on ∂K ∩ ∂Ω

All the DG methods are generated by choosing the local spaces V (K) × W (K)and the numerical tracesqbh· nKandubh.

M.-H. Chen Discontinuous Galerkin Methods 27 / 47

(29)

Numerical traces

The definition of the numerical tracesqbh andubhstrongly influences the properties of the corresponding DG method. In this context, we also require that the numerical traces be linear functions of the traces of qh· nK and uh which are consistent and single valued.

Example (Cockburn and Shu 1998)

qbh := {qh} − Cqq[[qh]] − Cqu[[uh]] , ubh := {uh} − Cuu[[uh]] − Cuq[[qh]] .

Let us consider DG methods having a numerical tracebuh independent of qh. This allows for the easy elimination of the variable qh, which can now be expressed in terms of uhin an elementwise manner, and results in the so-called primal formulation of the method.

(30)

Elliptic Problems

Mixed Form of LDG Methods Find (qh, uh) ∈ Mh× Vhsuch that

ah(qh, v) + bh(uh, v) = Gh(v),

−bh(w, qh) + ch(uh, w) = Fh(w),

The corresponding linear system has the form

 A B

−Bt C

  Q U



=

 G F



Aand C are symmetric B is antisymmetric.

M.-H. Chen Discontinuous Galerkin Methods 29 / 47

(31)

Numerical Result: Elliptic Interface Problem

Model Problem

−∇ · β∇u = f in Ω1∪ Ω2, u = gon ∂Ω, u|1− u|2 = aon ΓI, ((β∇u)|1− (β∇u)|2) · ne = bon ΓI,

where f , g, a, and b are functions of x and y, neis the outward unit normal vector to ∂Ω1, and β is a positive finite constant function on Ω1

and Ω2, separately.

(Chen, Wu, TJM2016 )

(32)

Elliptic Problems

The Model Problem and LDG method

We assume that Ω = [−1, 1] × [0, 3] is the entire domain and Ω1is the open interior domain embedded in Ω with a complicated interface

ΓI(θ) =

 0.6 cos θ − 0.3 cos 3θ 1.5 + 0.7 sin θ − 0.07 sin 3θ + 0.2 sin 7θ



for θ ∈ [0, 2π]. The exterior domain is Ω2= Ω \ Ω1.

Figure:Domain(left) and numerical solution (right) of test problem 2.

The media property is given by β =

 1 in Ω1,

10 in Ω2. The discontinuous exact solution is u(x, y) =

 ex(y2+ x2sin y) in Ω1,

−(x2+ y2) in Ω2.

The corresponding jump conditions a and b, Dirichlet condition g, and source term f can be derived easily.

M.-H. Chen Discontinuous Galerkin Methods 31 / 47

(33)

The Model Problem and LDG method

Table:p-convergence of u and q (25 elements) for test problem 2.

Basis function DoF L2-error of u L2-error of q Q1 300 6.615e − 01 2.641e + 01 Q2 675 1.599e − 01 1.129e + 01 Q3 1200 4.450e − 02 4.346e + 00 Q4 1875 6.711e − 03 9.273e − 01 Q5 2700 2.652e − 03 4.010e − 01 Q6 3675 3.512e − 04 7.475e − 02 Q7 4800 1.095e − 04 2.204e − 02 Q8 6075 2.148e − 05 5.815e − 03 Q9 7500 3.297e − 06 7.967e − 04 Q10 9075 9.766e − 07 3.258e − 04 Q11 10800 8.334e − 08 2.376e − 05 Q12 12675 3.172e − 08 1.316e − 05 Q13 14700 3.406e − 09 1.621e − 06

M.-H. Chen Discontinuous Galerkin Methods 32 / 47

(34)

Elliptic Problems

p-convergence and Domain

Figure:p-convergence of u and q on a 25-element mesh (left). Corresponding curved-edge quadrilateral mesh with 25 elements (right).

M.-H. Chen Discontinuous Galerkin Methods 33 / 47

(35)

Fenics Project

The FEniCS Project is a collection of free and open-source software components with the common goal to enable automated solution of differential equations.3

The components provide scientific computing tools for working with computational meshes, finite-element variational formulations of ordinary and partial differential equations, and numerical linear algebra.

FEniCS enables users to quickly translate scientific models into efficient finite element code. With the high-level Python and C++

interfaces to FEniCS, it is easy to get started. 4 FEniCS runs on a multitude of platforms.

3https://en.wikipedia.org/wiki/FEniCS Project

(36)

Fenics and Colab

Reference:

Solving PDEs in Python: The FEniCS Tutorial I (Free)

Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book (Free PDF)

Introduction to Automated Modeling with FEniCS by Ridgway Scott

FENICS Examples (John Burkardt)

M.-H. Chen Discontinuous Galerkin Methods 35 / 47

(37)

Poisson problem (CG):R

∇u · ∇v dx =R

f v dx

%m a t p l o t l i b i n l i n e from f e n i c s import ∗

mesh = UnitSquareMesh ( 8 , 8 )

V = FunctionSpace ( mesh , ” Lagrange ” , 1 )

u0 = E x p r e s s i o n ( ” 1+x [ 0 ] ∗ x [ 0 ] + 2 ∗ x [ 1 ] ∗ x [ 1 ] ” , degree =2) bc = D i r i c h l e t B C ( V , u0 , ” on boundary ” )

f = Constant ( − 6 . 0 ) u = T r i a l F u n c t i o n ( V ) v = T e s t F u n c t i o n ( V )

a = i n n e r ( grad ( u ) , grad ( v ) ) ∗ dx L = f ∗ v ∗ dx

u = F u n c t i o n ( V ) s o l v e ( a == L , u , bc ) p l o t ( u )

(38)

Fenics and Colab

Google Colaboratory (Colab)

What is Colaboratory?

Colaboratory, or ”Colab” for short, allows you to write and execute Python in your browser, with

Zero configuration required Free access to GPUs Easy sharing

Some sample code:

MyPoissonCG link: CG method for Poisson problem.

MyPoissonDG link: DG method for Poisson problem.

Reference: https://github.com/leodenale/FenicsOnColab

M.-H. Chen Discontinuous Galerkin Methods 37 / 47

(39)

Motivation for HDG methods

However, the DG methods (for second-order elliptic equations) have been criticized because:

For the same mesh and the same polynomial degree, the number of globally coupled degrees of freedom of the DG methods is much bigger than those of the CG method. Moreover, the orders of convergence of both the vector and scalar variables are also the same.

(40)

Elliptic Model Problem

Elliptic Equation

Consider a second-order elliptic model problem:

cq + ∇u = 0 in Ω,

∇·q = f in Ω, bu = uD on ∂Ω.

Here c is a matrix-valued function which is symmetric and uniformly positive definite on Ω

M.-H. Chen Discontinuous Galerkin Methods 39 / 47

(41)

The HDG methods

5

.

Rewrite the equations. If for each K ∈ Ωh, we assume that we know the traceubon ∂K, we can obtain (q, u) inside K as the solution of Consider a second-order elliptic model problem:

cq + ∇u = 0 in K,

∇·q = f in K, u = ub on ∂K.

Thenubcan be determined as the solution, on each edge F ∈ Eh, of [[q · n]]b = 0 if F ∈ Eho, (interior edges)

ub = uD if F ∈ Eh, (exterior edges) Note: [[q · n]] :=b bq+· n++bq· n.

5The Hybridizable Discontinuous Galerkin Methods, Proceedings of the

(42)

Elliptic Model Problem

The local problems: A weak formulation on each element.

On each element K ∈ Ωh, we define (qh, uh) ∈ V (K) × W (K)in terms of (ubh, f )such that

(cqh, v)K− (uh, ∇·v)K+ hubh, v · ni∂K = 0,

−(qh, ∇w)K+ hqbh· n, wi∂K = (f, w)K, for all (v, w) ∈ V (K) × W (K), where

qbh· n = qh· n + τ (uh−ubh) on ∂K.

Note: (u, w)K:=R

Kuw dx, hw, vi∂K =R

∂Kwv ds

M.-H. Chen Discontinuous Galerkin Methods 41 / 47

(43)

The global problem: The weak formulation for u b

h

.

For each face F ∈ Eho, we takeubh|F in the space M (F ). We determine ubhby requiring that,

hν, [[qbh]]iF = 0, ∀ν ∈ M (F ) if F ∈ Eho, buh = uD if F ∈ Eh.

All the HDG methods are generated by choosing the local spaces V (K), W (K), M (F ) and the stabilization function τ .

(44)

Elliptic Model Problem

Notice thatbuh is the data of the local problems but is the unknown of the global problem. So, the only globally-coupled degrees of freedom are those ofbuh.

By solving the local problems, we express qh, uhandqbh in terms ofubhand f . With these expressions, we construct the matrix equation associated to the global problem.

After solving it, we can insert the actual values ofbuhin the

expressions we had obtained for qh, uh andqbh. Next, we describe this procedure more precisely.

M.-H. Chen Discontinuous Galerkin Methods 43 / 47

(45)

The main features of the HDG methods.

The HDG methods are obtained by discretizing characterizations of the exact solution written in terms of many local problems, one for each element of the mesh Ωh, with suitably chosen data, and in terms of a single global problem that actually determines them.

This permits an efficiently implementation since they inherit the above-mentioned structure of the exact solution. This is what renders them efficiently implementable, especially within the framework of hp-adaptive methods, as is typical of DG methods.

(46)

Matlab tools for HDG - HDG3D

HDG3D

Matlab implementation of the Hybridizable Discontinuous Galerkin method on general tetrahedrizations of polyhedra in three

dimensional space.

Developed by group Team Pancho at the Department of Mathematical Sciences at the University of Delaware.

Project website: https://team-pancho.github.io/HDG3D/

Remark:

Move “A simple example.m” up one level.

Move the directory “meshes” up one level.

M.-H. Chen Discontinuous Galerkin Methods 45 / 47

(47)

Summary and Reference

Main features of the DG methods:

High-order accurate.

Locally Conservative.

Adaptivity

High parallelizability,

The HDG methods are obtained by constructing discrete versions (based on discontinuous Galerkin methods) of the above

characterization of the exact solution.

In this way, the globally coupled degrees of freedom will be those of the corresponding global formulations.

(48)

Reference

B. Cockburn, G. Karniadakis, C.-W. Shu, The development of

Discontinuous Galerkin methods, in Discontinuous Galerkin methods.

Theory, computation and applications, Lecture Notes in Computational Sicence and Engineering, Volume 11, Springer, 2000.

B. Cockburn and C.-W. Shu, Runge-Kutta Discontinuous Galerkin methods for convection-dominated problems, J. Sci. Comput. 16 (2001), pp. 173-261.

D. Arnold, F. Brezzi, B. Cockburn and D. Marini, Unified analysis of discontinuous Galerkin methods for elliptic problems, SINUM 39 (2002), pp. 1749-1779.

B. Cockburn, Discontinuous Galerkin methods, ZAMM Z. Angew. Math.

Mech. 83 (2003), pp. 731-754.

B. Cockburn, Discontinuous Galerkin methods for computational fluid dynamics, Encyclopedia of Computational Mechanics Second Edition (2018): 1-63.

M.-H. Chen Discontinuous Galerkin Methods 47 / 47

參考文獻

相關文件

Al atoms are larger than N atoms because as you trace the path between N and Al on the periodic table, you move down a column (atomic size increases) and then to the left across

You are given the wavelength and total energy of a light pulse and asked to find the number of photons it

Reading Task 6: Genre Structure and Language Features. • Now let’s look at how language features (e.g. sentence patterns) are connected to the structure

volume suppressed mass: (TeV) 2 /M P ∼ 10 −4 eV → mm range can be experimentally tested for any number of extra dimensions - Light U(1) gauge bosons: no derivative couplings. =&gt;

incapable to extract any quantities from QCD, nor to tackle the most interesting physics, namely, the spontaneously chiral symmetry breaking and the color confinement.. 

• Formation of massive primordial stars as origin of objects in the early universe. • Supernova explosions might be visible to the most

In this paper we establish, by using the obtained second-order calculations and the recent results of [23], complete characterizations of full and tilt stability for locally

In this paper we establish, by using the obtained second-order calculations and the recent results of [25], complete characterizations of full and tilt stability for locally