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. Indeed, the solutions of such problems may involve strong gradients (and even discontinuities) so that classical finite element methods fail, while finite volume methods are restricted to low order approximations.
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.
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
\rho
\Omega
\partial\rho | |
\partialt |
+\nabla ⋅ J=0,
J
\rho
Now consider the finite-dimensional space of discontinuous piecewise polynomial functions over the spatial domain
\Omega
\Omegah
p(\Omega | |
S | |
h)=\{v |
|
\in
p(\Omega | |
P | |
ei |
),
\forall\Omega | |
ei |
\in\Omegah\}
for
p(\Omega | |
P | |
ei |
)
p
\Omega | |
ei |
i
Nj\inPp
i | |
\rho | |
h |
=
dofs | |
\sum | |
j=1 |
i | |
\rho | |
j |
i | |
(t)N | |
j |
(\boldsymbol{x}), \forall\boldsymbol{x}\in
\Omega | |
ei |
.
Then similarly choosing a test function
dofs | |
\varphi | |
j=1 |
i | |
\varphi | |
j |
i(\boldsymbol{x}), | |
N | |
j |
\forall
\boldsymbol{x}\in\Omega | |
ei |
,
multiplying the continuity equation by
i | |
\varphi | |
h |
d | |
dt |
\int | |||||
|
i | |
\rho | |
h |
d\boldsymbol{x}+
\int | |||||
|
i | |
\varphi | |
h |
Jh ⋅ \boldsymbol{n}d\boldsymbol{x}=
\int | |||||
|
Jh ⋅ \nabla\varphi
i | |
h |
d\boldsymbol{x}.
A scalar hyperbolic conservation law is of the form
\begin{align} \partialtu+\partialxf(u)&=0 for t>0,x\in\R \\ u(0,x)&=u0(x), \end{align}
u\equivu(t,x)
f,u0
The
x
\R=cupkIk , Ik:=\left(xk,xk+1\right) for xk<xk+1.
hk:=|Ik|, h:=\supkhk, \hat{x}k:=xk+
hk | |
2 |
.
We derive the basis representation for the function space of our solution
u
p | |
S | |
h |
:=\left\lbracev\inL2(\R) :
v| | |
Ik |
\in\Pip \right\rbrace for p\in\N0,
{v|} | |
Ik |
v
Ik
\Pip
p
h
\left(xk\right)k
v
(xk)k
At first we make use of a specific polynomial basis on the interval
[-1,1]
(Pn)
n\in\N0 |
P0(x)=1 , P1(x)=x , P2(x)=
1 | |
2 |
(3x2-1) , ...
\left\langlePi,Pj
\right\rangle | |
L2([-1,1]) |
=
2 | |
2i+1 |
\deltaij \foralli,j\in\N0.
[0,1]
(\varphii)i
\varphii(x):=\sqrt{2i+1}Pi(2x-1) for x\in[0,1],
\left\langle\varphii,\varphij
\right\rangle | |
L2([0,1]) |
=\deltaij \foralli,j\in\N0.
Ik
\left(\bar{\varphi}ki\right)i
\bar{\varphi}ki:=
1 | |
\sqrt{hk |
\left\langle\bar{\varphi}ki,\bar{\varphi}kj
\right\rangle | |||||||
|
=\deltaij \foralli,j\in\N0\forallk.
Linfty
\varphiki:=\sqrt{hk}\bar{\varphi}ki
L1
\tilde{\varphi}ki:=
1 | |
\sqrt{hk |
\|\varphiki
\| | |
Linfty(Ik) |
=\|\varphii
\| | |
Linfty([0,1]) |
=:ci,infty and \|\tilde{\varphi}ki
\| | |
L1(Ik) |
=\|\varphii
\| | |
L1([0,1]) |
=:ci,1.
Finally, we can define the basis representation of our solutions
uh
\begin{align} uh(t,x):=&
p | |
\sum | |
i=0 |
uki(t)\varphiki(x) for x\in(xk,xk+1) \\ uki(t)=&\left\langleuh(t, ⋅ ),\tilde{\varphi}ki
\right\rangle | |||||||
|
. \end{align}
uh
Besides, prism bases are employed for planar-like structures, and are capable for 2-D/3-D hybridation.
The conservation law is transformed into its weak form by multiplying with test functions, and integration over test intervals
\begin{align} \partialtu+\partialxf(u)&=0 \\ ⇒ \left\langle\partialtu,v
\right\rangle | |||||||
|
+\left\langle\partialxf(u),v
\right\rangle | |||||||
|
&=0 for \forallv\in
p | |
S | |
h |
\\ \Leftrightarrow \left\langle\partialtu,\tilde{\varphi}ki
\right\rangle | |||||||
|
+\left\langle\partialxf(u),\tilde{\varphi}ki
\right\rangle | |||||||
|
&=0 for \forallk \foralli\leqp. \end{align}
\begin{align}
d | |
dt |
uki(t) +f(u(t,xk+1))\tilde{\varphi}ki(xk+1)-f(u(t,xk))\tilde{\varphi}ki(xk)-\left\langlef(u(t, ⋅ )),\tilde{\varphi}ki'
\right\rangle | |||||||
|
=0 for \forallk \foralli\leqp. \end{align}
g
gk:=
+) | |
g(u | |
k |
,
\pm | |
u | |
k |
:=
\pm) | |
u(t,x | |
k |
,
\pm | |
u | |
k |
\begin{align}
d | |
dt |
uki(t) +gk+1\tilde{\varphi}ki(xk+1)-gk\tilde{\varphi}ki(xk)-\left\langlef(u(t, ⋅ )),\tilde{\varphi}ki'
\right\rangle | |||||||
|
=0 for \forallk \foralli\leqp. \end{align}
A scalar elliptic equation is of the form
\begin{align} -\partialxxu&=f(x) for x\in(a,b) \\ u(x)&=g(x) for x=a,b \end{align}
This equation is the steady-state heat equation, where
u
(a,b)
N+1
h
We introduce jump
[{} ⋅ {}]
\{{} ⋅ {}\}
xk
[v]| | |
xk |
=
-), | |
v(x | |
k |
\{v\}| | |
xk |
=0.5
-)) | |
(v(x | |
k |
The interior penalty discontinuous Galerkin (IPDG) method is: find
uh
A(uh,vh)+A\partial(uh,vh)=\ell(vh)+\ell\partial(vh)
A
A\partial
A(uh,vh)=
N+1 | |
\sum | |
k=1 |
xk | |
\int | |
xk-1 |
\partialxuh\partialxvh -\sum
N | |
k=1 |
\{\partialxuh\}
xk |
[vh]
xk |
N | |
+\varepsilon\sum | |
k=1 |
\{\partialxvh\}
xk |
[uh]
+ | ||
xk |
\sigma | |
h |
N | |
\sum | |
k=1 |
[uh]
xk |
[vh]
xk |
A\partial(uh,vh)=\partialxuh(a)vh(a)-\partialxuh(b)vh(b) -\varepsilon\partialxvh(a)uh(a)+\varepsilon\partialxvh(b)
u | ||||
|
(uh(a)vh(a)+uh(b)vh(b))
\ell
\ell\partial
\ell(vh)=
b | |
\int | |
a |
fvh
\ell\partial(vh)=-\varepsilon\partialxvh(a)g(a)+\varepsilon\partialxvh(b)g(b) +
\sigma | |
h |
(g(a)vh(a)+g(b)vh(b))
The penalty parameter
\sigma
\varepsilon
-1
+1
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) x (0,T)
U(x,0)=U0(x) on (0,1)
Firstly, define
\left\{Ij=\left(
x | ||||
|
, x | ||||
|
\right),j=1...N\right\}
\Deltaxj=x
|
-x | ||||
|
x
\Deltax=max1\leq \Deltaxj
We want to find an approximation
u
U
\forallt\in\left[0,T\right]
u\inV\Delta
V\Delta:=\left\{v\inL2\left(0,1\right
):{v|} | |
Ij |
\inPk\left(Ij\right), j=1,...,N\right\}
Pk\left(Ij\right)
Ij
k
Flux:
h:=h\left(U,Ux\right)=a\left(U\right)Ux
U
the exact solution of the equation.
Multiply the equation with a smooth function
v\inH1\left(0,1\right)
\int
Ij |
Utvdx-h
|
v | ||||
|
+h | ||||
|
v | ||||
|
+\inta\left(U\right)Uxvxdx=0
\int
Ij |
U\left(x,0\right)v\left(x\right)dx=\int
Ij |
U0\left(x\right)v\left(x\right)dx
Here
v
U
u
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\left(u\right)}x=a\left(u\right)ux
♦ The numerical flux is conservative in the single value on
x | ||||
|
♦ It has the
L2
♦ It can improve the accuracy of the method.
Thus, a general scheme for numerical flux is given:
\widehat{h}=Dxb(u)=\beta
|
+\overline{{b\left(u\right)}x}+\sum
| ||||
m=1 |
\betam{\left(\Deltax\right)}2m-1\left[\partial
2m | |
x |
b\left(u\right)\right]
In this flux,
k
\left[ ⋅ \right]
\Deltax
\left(
\Deltaxj+\Deltaxj+1 | |
2 |
\right)
1 | |
N |
Denote that the error between the exact solution
U
u
e=u-U
We measure the error with the following norm:
\left|\left|\left|v( ⋅ ,t)\right|\right|\right|={\left
1 | |
(\int | |
0 |
v2dx+\left(1-\gamma\right
t | |
)\int | |
0 |
N | |
\sum | |
j=1 |
\int | |
Ij |
2 | |
v | |
x |
dxd\tau+\alpha
t | |
\int | |
0 |
N | |
\sum | |
j=1 |
{\left[v\right]}2/\Deltax ⋅ d\tau\right)}0.5
and we have
\left|\left|\left|U( ⋅ ,T)\right|\right|\right|\leq\left|\left|\left|U( ⋅ ,0)\right|\right|\right|
\left|\left|\left|u( ⋅ ,T)\right|\right|\right|\leq\left|\left|\left|U( ⋅ ,0)\right|\right|\right|