Novel non-hydrostatic numerical schemes based on discontinuous - - PowerPoint PPT Presentation

novel non hydrostatic numerical schemes based on
SMART_READER_LITE
LIVE PREVIEW

Novel non-hydrostatic numerical schemes based on discontinuous - - PowerPoint PPT Presentation

Novel non-hydrostatic numerical schemes based on discontinuous Galerkin finite element method Matt Ueckermann, Pierre Lermusiaux 16 September, 2009 1 of 29 Outline Motivation Hybrid Discontinuous Galerkin (HDG) Methods Formulation


slide-1
SLIDE 1

16 September, 2009 1 of 29

Novel non-hydrostatic numerical schemes based

  • n discontinuous Galerkin finite element method

Matt Ueckermann, Pierre Lermusiaux

slide-2
SLIDE 2

16 September, 2009 2 of 29

Outline

  • Motivation
  • Hybrid Discontinuous Galerkin (HDG) Methods
  • Formulation
  • Similarity to other methods (LDG, IP, CG)
  • Post-processing
  • Simple Test cases: Convergence studies
  • Projection method
  • Results for analytical stokes problem
  • Results for Lock-exchange problem
  • Comments on GPU implementation of HDG algorithm
  • Future work
slide-3
SLIDE 3

16 September, 2009 3 of 29

Motivation

  • Major complaint of DG methods:
  • Too many degrees of freedom (DOFs)!

Duplication at corners, but no interior DOFs! Duplication at edges No duplication of DOF Hybrid Discontinuous Galerkin Discontinuous Galerkin Continuous Galerkin

slide-4
SLIDE 4

16 September, 2009 4 of 29

Hybrid Discontinuous Galerkin - Formulation

  • Basic idea: if boundary value of element is known, the

element can be independently solved.

  • 1. Nguyen, N. C., Peraire, J., and Cockburn, B. (2009). An implicit high-order hybridizable

discontinuous galerkin method for linear convection-difgusion equations. Journal of Computational Physics, 228(9):3232-3254.

  • 2. Cockburn, B., Gopalakrishnan, J., and Lazarov, R. (2009). Unified hybridization of

discontinuous galerkin, mixed, and continuous galerkin methods for second order elliptic

  • problems. Siam Journal on Numerical Analysis, 47(2):1319-1365.

Boundary conditions known Solve Independently

slide-5
SLIDE 5

16 September, 2009 5 of 29

Hybrid Discontinuous Galerkin - Formulation

  • Consider:
slide-6
SLIDE 6

16 September, 2009 6 of 29

Hybrid Discontinuous Galerkin - Formulation

  • Finite Element (FE) spaces:
  • FE formulation
slide-7
SLIDE 7

16 September, 2009 7 of 29

Hybrid Discontinuous Galerkin - Formulation

  • Finite Element (FE) spaces:
  • FE formulation
slide-8
SLIDE 8

16 September, 2009 8 of 29

Hybrid Discontinuous Galerkin - Formulation

  • Finite Element (FE) spaces:
  • FE formulation

Couples u and q solutions. Inefficient?

slide-9
SLIDE 9

16 September, 2009 9 of 29

Hybrid Discontinuous Galerkin - Formulation

  • Additional FE space
  • Flux Definition(1)
  • Final Equations
slide-10
SLIDE 10

16 September, 2009 10 of 29

Hybrid Discontinuous Galerkin - Formulation

  • Algebraic Equations

Block Diagonal! Element-local inversion

  • Global system of unknowns
slide-11
SLIDE 11

16 September, 2009 11 of 29

Hybrid Discontinuous Galerkin - Formulation

  • Algebraic Equations -- Simple implementation
  • May also implement this by constructing the K matrix directly.
  • Considerably faster
  • Much more difficult to implement
slide-12
SLIDE 12

16 September, 2009 12 of 29

Hybrid Discontinuous Galerkin - Comparison

  • HDG in the standard form:

Compared to LDG/IP:

  • HDG: Sparser matrix, Fewer globally coupled degrees of freedom,
  • Always for 2D(2)
  • For higher than 2nd order basis in 3D(2)
  • What about expense of local solvers?

Compared to CG/Mixed-method

slide-13
SLIDE 13

16 September, 2009 13 of 29

Hybrid Discontinuous Galerkin - Post-Processing

  • HDG convergence for
  • Both u and q converge at order p+1
  • Allows for local post-processing of solution
  • Only required at final time
slide-14
SLIDE 14

16 September, 2009 14 of 29

Test Case Examples - Steady Diffusive Problem

slide-15
SLIDE 15

16 September, 2009 15 of 29

Test Case Examples - Steady Diffusive Problem

slide-16
SLIDE 16

16 September, 2009 16 of 29

Test Case Examples - Unsteady ADR

slide-17
SLIDE 17

16 September, 2009 17 of 29

Projection Method

  • Solution scheme: Incremental pressure correction scheme(3)
  • Uses Pressure Poisson Equation (PPE)
  • HDG provides accurate derivative terms
  • 3. Guermond, J.L., Minev, P., and Shen, Jie. (2006). An overview of projection methods for

incompressible flows. Comput. Methods Appl. Mech. Engrg, 195:6011-6045.

slide-18
SLIDE 18

16 September, 2009 18 of 29

Solution to Stokes equations, tau = 1

  • Tau = 1
  • Pressure postprocessing has

significant effect

Postprocessed

slide-19
SLIDE 19

16 September, 2009 19 of 29

Solution to Stokes equations, tau = 1

  • Tau = 1
  • Velocity

postprocessing has significant effect

  • Reduce error by one
  • rder
  • Divergence field very

noisy

Postprocessed

slide-20
SLIDE 20

16 September, 2009 20 of 29

Solution to Stokes equations, tau = 10,000

  • Tau = 10,000
  • Pressure postprocessing has no

effect

Postprocessed

slide-21
SLIDE 21

16 September, 2009 21 of 29

Solution to Stokes equations, tau = 10,000

  • Tau = 10,000
  • Velocity

postprocessing reduces error

Postprocessed

slide-22
SLIDE 22

16 September, 2009 22 of 29

Stokes: Pressure error comparison

  • Tau = 10,000 pressure error

compares well with literature

  • Tau = 1 pressure error very noisy
  • Numerical boundary Pressure

boundary layer

Tau = 10,000 Guermond (2006) Tau = 1

slide-23
SLIDE 23

16 September, 2009 23 of 29

Stokes: Convergence

slide-24
SLIDE 24

16 September, 2009 24 of 29

Stokes: Convergence

slide-25
SLIDE 25

16 September, 2009 25 of 29

Lock Exchange Problem

  • 37,000 DOF, 14,000 HDG unknowns
  • 13.5 hrs
  • 1320 Elements
  • p=6
  • Gr = 1.25x106, Sc=0.71
  • 4. Hartel, C., Meinburg, E., and Freider, N. (2000). Analysis and direct numerical simulations of the flow at a gravity-

current head. Part 1. Flow topology and front speed for slip and no-slip boundaries. J. Fluid. Mech, 418:189-212.

slide-26
SLIDE 26

16 September, 2009 26 of 29

Lock Exchange Problem

Time = 10 Time = 5

slide-27
SLIDE 27

16 September, 2009 27 of 29

Implementation issues: GPU’s

  • Local HDG solver has three steps
  • 1. Build matrix and right-hand side vector: Local operation
  • 2. Solve global system of equations: Global operation
  • 3. Reconstruct solution: Local operation
  • Local steps (1, 3) very well-suited to parallel architectures

such as GPU

  • Local read patterns very well-suited to coalesced memory

access

  • Write pattern less localized (to form matrix)
  • Negates the problem with “expensive” local solutions
slide-28
SLIDE 28

16 September, 2009 28 of 29

Future work

  • Investigate methods to reduce tau in PPE
  • Test different algorithms for solving Boussinesq Equations
  • Can we do better?
  • Some ideas to further reduce global DOF
  • Investigate adaptive/multiscale strategies
  • Octree-structured (2p+1 accurate post-processed solution)
  • Unstructured
  • Nesting
  • 2D Non-hydrostatic dynamical studies
  • Implement efficient 3D code
  • Exploit HDG parallelism: domain decomposition
  • MPI?
  • GPU?
slide-29
SLIDE 29

16 September, 2009 29 of 29

Thank You!

slide-30
SLIDE 30

16 September, 2009 30 of 29

Notation

slide-31
SLIDE 31

16 September, 2009 31 of 29

Stokes: Convergence tempora

slide-32
SLIDE 32

16 September, 2009 32 of 29

Lock exchange: vorticity

slide-33
SLIDE 33

16 September, 2009 33 of 29

Lock Exchange Pressure

slide-34
SLIDE 34

16 September, 2009 34 of 29

Lock Exchange: Vorticity and Pressure

slide-35
SLIDE 35

16 September, 2009 35 of 29

Lock Exchange Velocity

slide-36
SLIDE 36

16 September, 2009 36 of 29

Preconditioners with HDG

  • Have compared LDG descretization with HDG
  • Solved matrixes using various preconditioners
  • HDG at least 3x faster than LDG for p=4 using similar preconditioners

LDG, solve system once HDG, solve system 3 times

slide-37
SLIDE 37

16 September, 2009 37 of 29

Test Case Examples - Steady advection-diffusion