novel non hydrostatic numerical schemes based on
play

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


  1. Novel non-hydrostatic numerical schemes based on discontinuous Galerkin finite element method Matt Ueckermann, Pierre Lermusiaux 16 September, 2009 1 of 29

  2. 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 16 September, 2009 2 of 29

  3. Motivation • Major complaint of DG methods: • Too many degrees of freedom (DOFs)! Hybrid Discontinuous Continuous Galerkin Discontinuous Galerkin Galerkin No duplication of DOF Duplication at corners, Duplication at edges but no interior DOFs! 16 September, 2009 3 of 29

  4. Hybrid Discontinuous Galerkin - Formulation • Basic idea: if boundary value of element is known, the element can be independently solved. Boundary conditions Solve known Independently 1. Nguyen, N. C., Peraire, J., and Cockburn, B. (2009). An implicit high-order hybridizable discontinuous galerkin method for linear convection-di fg usion 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. 16 September, 2009 4 of 29

  5. Hybrid Discontinuous Galerkin - Formulation • Consider: 16 September, 2009 5 of 29

  6. Hybrid Discontinuous Galerkin - Formulation • Finite Element (FE) spaces: • FE formulation 16 September, 2009 6 of 29

  7. Hybrid Discontinuous Galerkin - Formulation • Finite Element (FE) spaces: • FE formulation 16 September, 2009 7 of 29

  8. Hybrid Discontinuous Galerkin - Formulation • Finite Element (FE) spaces: • FE formulation Couples u and q solutions. Inefficient? 16 September, 2009 8 of 29

  9. Hybrid Discontinuous Galerkin - Formulation • Additional FE space • Flux Definition (1) • Final Equations 16 September, 2009 9 of 29

  10. Hybrid Discontinuous Galerkin - Formulation • Algebraic Equations Block Diagonal! Element-local inversion - Global system of unknowns 16 September, 2009 10 of 29

  11. 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 16 September, 2009 11 of 29

  12. 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 2 nd order basis in 3D (2) • What about expense of local solvers? Compared to CG/Mixed-method • 16 September, 2009 12 of 29

  13. 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 16 September, 2009 13 of 29

  14. Test Case Examples - Steady Diffusive Problem 16 September, 2009 14 of 29

  15. Test Case Examples - Steady Diffusive Problem 16 September, 2009 15 of 29

  16. Test Case Examples - Unsteady ADR 16 September, 2009 16 of 29

  17. 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. 16 September, 2009 17 of 29

  18. Solution to Stokes equations, tau = 1 • Tau = 1 • Pressure postprocessing has significant effect Postprocessed 16 September, 2009 18 of 29

  19. Solution to Stokes equations, tau = 1 Postprocessed • Tau = 1 • Velocity postprocessing has significant effect • Reduce error by one order • Divergence field very noisy 16 September, 2009 19 of 29

  20. Solution to Stokes equations, tau = 10,000 • Tau = 10,000 • Pressure postprocessing has no Postprocessed effect 16 September, 2009 20 of 29

  21. Solution to Stokes equations, tau = 10,000 Postprocessed • Tau = 10,000 • Velocity postprocessing reduces error 16 September, 2009 21 of 29

  22. Stokes: Pressure error comparison Tau = 10,000 Guermond (2006) • Tau = 10,000 pressure error Tau = 1 compares well with literature • Tau = 1 pressure error very noisy • Numerical boundary Pressure boundary layer 16 September, 2009 22 of 29

  23. Stokes: Convergence 16 September, 2009 23 of 29

  24. Stokes: Convergence 16 September, 2009 24 of 29

  25. Lock Exchange Problem • 37,000 DOF, 14,000 HDG unknowns • 13.5 hrs • 1320 Elements • p =6 • Gr = 1.25x10 6 , 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. 16 September, 2009 25 of 29

  26. Lock Exchange Problem Time = 5 Time = 10 16 September, 2009 26 of 29

  27. 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 16 September, 2009 27 of 29

  28. 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 (2 p +1 accurate post-processed solution) • Unstructured • Nesting • 2D Non-hydrostatic dynamical studies • Implement efficient 3D code • Exploit HDG parallelism: domain decomposition • MPI? • GPU? 16 September, 2009 28 of 29

  29. Thank You! 16 September, 2009 29 of 29

  30. Notation 16 September, 2009 30 of 29

  31. Stokes: Convergence tempora 16 September, 2009 31 of 29

  32. Lock exchange: vorticity 16 September, 2009 32 of 29

  33. Lock Exchange Pressure 16 September, 2009 33 of 29

  34. Lock Exchange: Vorticity and Pressure 16 September, 2009 34 of 29

  35. Lock Exchange Velocity 16 September, 2009 35 of 29

  36. 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 HDG, solve system 3 times LDG, solve system once 16 September, 2009 36 of 29

  37. Test Case Examples - Steady advection-diffusion 16 September, 2009 37 of 29

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend