Comparison of CFEM and DG Methods
Comparison of CFEM and DG Methods
Comparison of CFEM and DG Methods
1
Discontinuous Galerkin (DG) vs. Continuous
Finite Element Methods (CFEMs)
DG methods use discontinuous
basis functions
2
Formulation:
Finite Element Methods (CFEMs)
3
Formulation:
Discontinuous Galerkin (DG) methods
4
Target Values (fluxes) in DG methods
6
Number of unknowns:
Degrees of freedom (dof)
7
Number of unknowns:
Average dof per element
8
Number of unknowns:
Average dof per element
10
Preliminaries 1:
types of PDEs
11
Preliminaries 1:
types of PDEs
• For a static problem (elliptic PDE) the FEM formulation results in:
• We generally use a discrete method, e.g. Finite Difference (FD), for the
solution of these systems of equations.
• Implicit vs. Explicit refers to how the finite difference scheme is expressed:
• Sample parabolic equation, using forward& backward Euler method we get,
13
Preliminaries 2:
Semi-discrete formulation of dynamic problems
• Implicit method:
• Unconditionally stable
• (can be) nonlinear
• Explicit method:
• Maximum allowable time step Dt based on element sizes
• Linear
• For a linear problem we have:
16
1. FEM adaptivity
CFEMs:
• h-adaptivity: element size changes • p-adaptivity: polynomial order changes
Transition elements
Because of strong continuity of elements transition elements are required
DGs:
• h-adaptivity: • p-adaptivity:
CFEM DG
18
2. Efficiency for dynamic problems
Comments:
• For a full C matrix linear solution schemes scale as O(N2.376) (e.g. Coppersmith–
Winograd algorithm, link: http://en.wikipedia.org/wiki/Computational_complexity_of_mathematical_operations#Matrix_algebra
• Example: By increasing the number of elements by 100:
• DG solution cost scales by 100
• CFEM solution cost scales by ~ 56000
• For CFEMs often mass-lumping is used which results in diagonal mass matrix and
yielding O(N) solution complexity. However, mass lumping severely affects the order
of convergence of the method for high order elements.
Consistent mass matrix Mass matrix with mass lumping
19
3. Parallel computing
Sample DG solutions
Example: Laplacian in FV
with no evident
numerical
artifacts
DG methods:
22
Telescoping stencil
5. Recovering balance laws at the element
level
23
Summary of CFEMs and DG methods
Advantages of DG methods:
1. FEM adaptivity
Resolving shocks and discontinuities for hyperbolic problems no transition
Recovering balance laws at the element level elements needed
Arbitrary
2. Efficiency /dynamic problems (block diagonal “mass” matrix) change in size
3. Parallel computing (more local communication and and polynomial
use of higher order elements with DG methods) order
4. Superior performance for resolving
discontinuities (discrete solution space better resembles
the continuum solution space)
5. Can recover balance properties at the element level (vs global domain)
Disadvantages:
• Higher number of degrees of freedom:
• Particularly important for elliptic problems (global system is solved).
• Recently hybridizable DG methods (HDG), use Schur
decomposition (static condensation) to eliminate elements internal
dofs, making DG methods competitive or even better for elliptic 24
problems as well.