Uhaina Uhaina A brief ief intr introduction duction Code Uhaina - - PowerPoint PPT Presentation

uhaina uhaina
SMART_READER_LITE
LIVE PREVIEW

Uhaina Uhaina A brief ief intr introduction duction Code Uhaina - - PowerPoint PPT Presentation

Uhaina Uhaina A brief ief intr introduction duction Code Uhaina Actors EPOC, IMB, INRIA, I3M Issues Simulation of tsunami propagation at regional scale. Simulation wave shoaling and wave transformation in the surf and swash zones. Wave


slide-1
SLIDE 1

A brief ief intr introduction duction

Uhaina Uhaina

slide-2
SLIDE 2

Code Uhaina

Actors EPOC, IMB, INRIA, I3M Issues Simulation of tsunami propagation at regional scale. Simulation wave shoaling and wave transformation in the surf and swash zones. Wave overtopping and coastal flooding during storm event or tsunami. Operational and open source community code. Realisation New numerical method for the resolution of the Green-Naghdi equations. Parallel implementation using the finite elements library AeroSol.

1 / 17

slide-3
SLIDE 3

Architecture and developement tools

Using Aerosol finite elements library

Uhaina Pre-processing Post-processing AeroSol Computation

Tools C++ GForge Git / SVN Spack CMake - CTest Doxygen ci.inria Parallel test framework.

2 / 17

slide-4
SLIDE 4

Code Uhaina

Inputs Mesh Bathymetry Initial conditions Boundary conditions. Output Submersion areas Elevation field Breaking zone etc...

3 / 17

slide-5
SLIDE 5

Feature

AeroSol Finite elements, both continuous and discontinuous. Unstructured and hybrid meshes to handle complex geometry. Efficient parallel computation. Specific feature Well-balanced formulation. Wet/Dry zones handling Positivity preserving limiter [Zhang et al. 2010] Shock limiter [Guermond et al. 2011] Efficient discretization of dispersive terms [Lannes et al. 2015]

4 / 17

slide-6
SLIDE 6

Aerosol library

Time iterator

Mesh / connectivity Assembly of the matrix System inversion

Spatial discretization

Geometry Quadrature formulas Finite elements functions Model Numerical flux Boundary condition

Operators

MUMPS UMFPACK PaStiX PETSc

Linear solver

Redistribution Memory allocation Communications

PaMPA

Residual computation System inversion Loop over elements Resolution Residual computation Local operations 5 / 17

slide-7
SLIDE 7

Well balanced shallow water equations

Hyperbolic system ∂W ∂t + ∇ · F(W, zb) = S(W, zb) W = η q

  • ,
  • F(W, zb) =
  • q

uq + 1

2g(η2 − 2ηzb)

  • S(W, zb) =
  • −gη ∂zb

∂x

  • 6 / 17
slide-8
SLIDE 8

Discontinuous Galerkin method

Hyperbolic system ∂W ∂t + ∇ · F(W, zb) = S(W, zb) Domain Ω of Rd Mesh Mh such that Ω = ∪e∈MhΩe Pk polynomial with : deg(Pk) ≤ k Approximation space V k

h =

  • v ∈ [L2(Ωe)]d+2,

v|e ∈ [Pk(Ωe)]d+2, ∀Ωe ∈ Mh

  • 7 / 17
slide-9
SLIDE 9

Well balanced shallow water equations

Hyperbolic system ∂W ∂t + ∇ · F(W, zb) = S(W, zb) ∀vh ∈ V k

h

Wh approximation of W in V k

h

∀vh ∈ V k

h

  • Ωe∈Mh
  • Ωe

∂tWhvh dΩ −

  • Ωe∈Mh
  • Ωe
  • F(Wh, zh) · ∇vh dΩ

+

  • σ∈Γ
  • σ

v−

h hb(W− h , Wb h, z− h , zb h , n) dσ

+

  • σ∈Σi
  • σ

[ [ vh ] ]H(W−

h , W+ h , z− h , z+ h , n) dσ

=

  • Ωe∈Mh
  • Ωe
  • S(Wh, zh)vh dΩ

8 / 17

slide-10
SLIDE 10

Positivity preserving limiter

Zhang & Shu quadrature for P1 and P2 cases

hmin = min

x∈SZhang

h(x) If hmin ≤ ǫ : ˜ U(x) = Θ(U(x) − ¯ U) + ¯ U, ∀x ∈ SGauss (1) With Θ = min

  • 1,

ǫ − ¯ h hmin − ¯ h

  • (2)

Zhang, X., Xia, Y., & Shu, C. (2012). Maximum-Principle-Satisfying and Positivity-Preserving High Order Discontinuous Galerkin Schemes for Conservation Laws on Triangular Meshes. Journal of Scientific Computing. 9 / 17

slide-11
SLIDE 11

Shock limiter

E = 1 2

  • hu2 + g(η2 + z2)
  • D = ∂E

∂t + ∇ · f(E) ≤ 0 D is always zero except in discontinuities. ν = βνmax min

  • 1.0, δx |D|

ǫN

  • With :

µmax = δx max |λ| Neglecting face integral :

  • Ωe∈Mh
  • Ωe

ν∇vh · ∇Wh dΩ

Guermond et al (2011), Entropy viscosity method for nonlinear conservation laws. Journal of Computational Physics. 10 / 17

slide-12
SLIDE 12

Shock limiter

Entropy viscosity on simple breaking wave.

11 / 17

slide-13
SLIDE 13

Test case : Well balanced property

Well balanced property and dry/wet interface

12 / 17

slide-14
SLIDE 14

Test case : Subcritical flow over a bump

5 10 15 20 x 0.0 0.2 0.4 0.6 0.8 1.0 h Bathymetry Water level Exact solution

Convergence with second and third order spatial discretization

13 / 17

slide-15
SLIDE 15

Test case : Carrier and Greenspan periodic

5 10 15 20 25 30 35 x 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 h Bathymetry Water level Exact solution

Moving Wet/Dry interface with second order spatial discretization

14 / 17

slide-16
SLIDE 16

Test case : Synolakis

Results for Synolakis test case at different time with third order spatial discretization.

15 / 17

slide-17
SLIDE 17

Demo

Simple demonstration of parallel computation

16 / 17

slide-18
SLIDE 18

Thank you for your attention.

17 / 17