Discontinuous Galerkin method

From HandWiki

In applied mathematics, discontinuous Galerkin methods (DG methods) form a class of numerical methods for solving differential equations. They combine features of the finite element and the finite volume framework and have been successfully applied to hyperbolic, elliptic, parabolic and mixed form problems arising from a wide range of applications. DG methods have in particular received considerable interest for problems with a dominant first-order part, e.g. in electrodynamics, fluid mechanics and plasma physics. Discontinuous Galerkin methods were first proposed and analyzed in the early 1970s as a technique to numerically solve partial differential equations. In 1973 Reed and Hill introduced a DG method to solve the hyperbolic neutron transport equation.

The origin of the DG method for elliptic problems cannot be traced back to a single publication as features such as jump penalization in the modern sense were developed gradually. However, among the early influential contributors were Babuška, J.-L. Lions, Joachim Nitsche and Miloš Zlámal. DG methods for elliptic problems were already developed in a paper by Garth Baker in the setting of 4th order equations in 1977. A more complete account of the historical development and an introduction to DG methods for elliptic problems is given in a publication by Arnold, Brezzi, Cockburn and Marini. A number of research directions and challenges on DG methods are collected in the proceedings volume edited by Cockburn, Karniadakis and Shu.

Overview

Much like the continuous Galerkin (CG) method, the discontinuous Galerkin (DG) method is a finite element method formulated relative to a weak formulation of a particular model system. Unlike traditional CG methods that are conforming, the DG method works over a trial space of functions that are only piecewise continuous, and thus often comprise more inclusive function spaces than the finite-dimensional inner product subspaces utilized in conforming methods.

As an example, consider the continuity equation for a scalar unknown ρ in a spatial domain Ω without "sources" or "sinks" :

ρt+𝐉=0,

where 𝐉 is the flux of ρ.

Now consider the finite-dimensional space of discontinuous piecewise polynomial functions over the spatial domain Ω restricted to a discrete triangulation Ωh, written as

Shp(Ωh)={v|ΩeiPp(Ωei),  ΩeiΩh}

for Pp(Ωei) the space of polynomials with degrees less than or equal to p over element Ωei indexed by i. Then for finite element shape functions NjPp the solution is represented by

ρhi=j=1dofsρji(t)Nji(x),xΩei.

Then similarly choosing a test function

φhi(x)=j=1dofsφjiNji(x),xΩei,

multiplying the continuity equation by φhi and integrating by parts in space, the semidiscrete DG formulation becomes:

ddtΩeiρhiφhidx+Ωeiφhi𝐉hndx=Ωei𝐉hφhidx.

Scalar hyperbolic conservation law

A scalar hyperbolic conservation law is of the form

tu+xf(u)=0fort>0,xu(0,x)=u0(x),

where one tries to solve for the unknown scalar function uu(t,x), and the functions f,u0 are typically given.

Space discretization

The x-space will be discretized as

=kIk,Ik:=(xk,xk+1)forxk<xk+1.

Furthermore, we need the following definitions

hk:=|Ik|,h:=supkhk,x^k:=xk+hk2.

Basis for function space

We derive the basis representation for the function space of our solution u. The function space is defined as

Shp:={vL2():v|IkΠp}forp0,

where v|Ik denotes the restriction of v onto the interval Ik, and Πp denotes the space of polynomials of maximal degree p. The index h should show the relation to an underlying discretization given by (xk)k. Note here that v is not uniquely defined at the intersection points (xk)k.

At first we make use of a specific polynomial basis on the interval [1,1], the Legendre polynomials (Pn)n0, i.e.,

P0(x)=1,P1(x)=x,P2(x)=12(3x21),

Note especially the orthogonality relations

Pi,PjL2([1,1])=22i+1δiji,j0.

Transformation onto the interval [0,1], and normalization is achieved by functions (φi)i

φi(x):=2i+1Pi(2x1)forx[0,1],

which fulfill the orthonormality relation

φi,φjL2([0,1])=δiji,j0.

Transformation onto an interval Ik is given by (φ¯ki)i

φ¯ki:=1hkφi(xxkhk)forxIk,

which fulfill

φ¯ki,φ¯kjL2(Ik)=δiji,j0k.

For L-normalization we define φki:=hkφ¯ki, and for L1-normalization we define φ~ki:=1hkφ¯ki, s.t.

φkiL(Ik)=φiL([0,1])=:ci,andφ~kiL1(Ik)=φiL1([0,1])=:ci,1.

Finally, we can define the basis representation of our solutions uh

uh(t,x):=i=0puki(t)φki(x)forx(xk,xk+1)uki(t)=uh(t,),φ~kiL2(Ik).

Note here, that uh is not defined at the interface positions.

Besides, prism bases are employed for planar-like structures, and are capable for 2-D/3-D hybridation.

DG-scheme

The conservation law is transformed into its weak form by multiplying with test functions, and integration over test intervals

tu+xf(u)=0tu,vL2(Ik)+xf(u),vL2(Ik)=0forvShptu,φ~kiL2(Ik)+xf(u),φ~kiL2(Ik)=0forkip.

By using partial integration one is left with

ddtuki(t)+f(u(t,xk+1))φ~ki(xk+1)f(u(t,xk))φ~ki(xk)f(u(t,)),φ~kiL2(Ik)=0forkip.

The fluxes at the interfaces are approximated by numerical fluxes g with

gk:=g(uk,uk+),uk±:=u(t,xk±),

where uk± denotes the left- and right-hand sided limits. Finally, the DG-Scheme can be written as

ddtuki(t)+gk+1φ~ki(xk+1)gkφ~ki(xk)f(u(t,)),φ~kiL2(Ik)=0forkip.

Scalar elliptic equation

A scalar elliptic equation is of the form

xxu=f(x)forx(a,b)u(x)=g(x)forx=a,b

This equation is the steady-state heat equation, where u is the temperature. Space discretization is the same as above. We recall that the interval (a,b) is partitioned into N+1 intervals of length h.

We introduce jump [] and average {} of functions at the node xk:

[v]|xk=v(xk+)v(xk),{v}|xk=0.5(v(xk+)+v(xk))

The interior penalty discontinuous Galerkin (IPDG) method is: find uh satisfying

A(uh,vh)+A(uh,vh)=(vh)+(vh)

where the bilinear forms A and A are

A(uh,vh)=k=1N+1xk1xkxuhxvhk=1N{xuh}xk[vh]xk+εk=1N{xvh}xk[uh]xk+σhk=1N[uh]xk[vh]xk

and

A(uh,vh)=xuh(a)vh(a)xuh(b)vh(b)εxvh(a)uh(a)+εxvh(b)uh(b)+σh(uh(a)vh(a)+uh(b)vh(b))

The linear forms and are

(vh)=abfvh

and

(vh)=εxvh(a)g(a)+εxvh(b)g(b)+σh(g(a)vh(a)+g(b)vh(b))

The penalty parameter σ is a positive constant. Increasing its value will reduce the jumps in the discontinuous solution. The term ε is chosen to be equal to 1 for the symmetric interior penalty Galerkin method; it is equal to +1 for the non-symmetric interior penalty Galerkin method.

Direct discontinuous Galerkin method

The direct discontinuous Galerkin (DDG) method is a new discontinuous Galerkin method for solving diffusion problems. In 2009, Liu and Yan first proposed the DDG method for solving diffusion equations.[1][2] The advantages of this method compared with Discontinuous Galerkin method is that the direct discontinuous Galerkin method derives the numerical format by directly taking the numerical flux of the function and the first derivative term without introducing intermediate variables. We still can get a reasonable numerical results by using this method, and the derivation process is more simple, the amount of calculation is greatly reduced.

The direct discontinuous finite element method is a branch of the Discontinuous Galerkin methods. It mainly includes transforming the problem into variational form, regional unit splitting, constructing basis functions, forming and solving discontinuous finite element equations, and convergence and error analysis.

For example, consider a nonlinear diffusion equation, which is one-dimensional:

Ut(a(U)Ux)x=0  in (0,1)×(0,T), in which U(x,0)=U0(x)  on (0,1)

Space discretization

Firstly, define {Ij=(xj12, xj+12),j=1...N}, and Δxj=xj+12xj12. Therefore we have done the space discretization of x. Also, define Δx=max1j<N Δxj.

We want to find an approximation u to U such that t[0,T], u𝕍Δx,

𝕍Δx:={vL2(0,1):v|IjPk(Ij), j=1,...,N}, Pk(Ij) is the polynomials space in Ij with degree at most k.

Formulation of the scheme

Flux: h:=h(U,Ux)=a(U)Ux.

U: the exact solution of the equation.

Multiply the equation with a smooth function vH1(0,1) so that we obtain the following equations:

IjUtvdxhj+12vj+12+hj12vj12+a(U)Uxvxdx=0,

IjU(x,0)v(x)dx=IjU0(x)v(x)dx

Here v is arbitrary, the exact solution U of the equation is replaced by the approximate solution u, that is to say, the numerical solution we need is obtained by solving the differential equations.

The numerical flux

Choosing a proper numerical flux is critical for the accuracy of DDG method.

The numerical flux needs to satisfy the following conditions:

♦ It is consistent with h=b(u)x=a(u)ux

♦ The numerical flux is conservative in the single value on xj+12.

♦ It has the L2-stability;

♦ It can improve the accuracy of the method.

Thus, a general scheme for numerical flux is given:

h^=Dxb(u)=β0[b(u)]Δx+b(u)x+m=1k2βm(Δx)2m1[x2mb(u)]

In this flux, k is the maximum order of polynomials in two neighboring computing units. [] is the jump of a function. Note that in non-uniform grids, Δx should be (Δxj+Δxj+12) and 1N in uniform grids.

Error estimates

Denote that the error between the exact solution U and the numerical solution u is e=uU .

We measure the error with the following norm:

|||v(,t)|||=(01v2dx+(1γ)0tj=1NIjvx2dxdτ+α0tj=1N[v]2/Δxdτ)0.5

and we have |||U(,T)||||||U(,0)|||,|||u(,T)||||||U(,0)|||

See also

References

  1. Hailiang Liu, Jue Yan, The Direct Discontinuous Galerkin (DDG) Methods For Diffusion Problems,SIAM J. NUMER. ANAL. Vol. 47, No. 1, pp. 675–698.
  2. Hailiang Liu, Jue Yan, The Direct Discontinuous Galerkin (DDG) Method for Diffusion with Interface Corrections, Commun. Comput. Phys. Vol. 8, No. 3, pp. 541-564.