• Keine Ergebnisse gefunden

Efficient Preconditioning Techniques Applied to a Parallel Tsunami Simulation Model

N/A
N/A
Protected

Academic year: 2022

Aktie "Efficient Preconditioning Techniques Applied to a Parallel Tsunami Simulation Model"

Copied!
27
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Efficient Preconditioning Techniques Applied to a Parallel Tsunami Simulation Model

Annika Fuchs, Sven Harig, Wolfgang Hiller, Natalja Rakowsky

Reading, 11/04/2010

(2)

Overview

Tsunami Simulation Model

Domain Decomposition Techniques Graph Partitioning

From Mesh to Graph

Solvers and Preconditioners Solvers and Preconditioners Computer

Results

(3)

Tsunami Model

Tsunami

I Tsunami - Japanese: ’harbour wave’

I Reasons - earthquakes, land slides, volcanic eruptions and meteorite ocean impacts

I motion of the whole water column from surface to bottom

I in deep water (h = 4000 m) tsunami waves have a wave length λ > 200km and an amplitude of a few centimetres

I in coastal regions the wave length decreases and the body

of water piles up

(4)

Tsunami Model

Shallow Water Model

I describes 3D flow on the rotating earth by depth-integrated mass and momentum equations in 2 (horizontal)

dimensions

∂t η + (∇ · u)(η + h) = 0, (1)

∂t u + u · ∇u + f × u + ∇p

ρ + g + F = 0, (2)

with surface water elevation η(t, x, y ) and horizontal velocity

u(t, x , y ) as unknowns.

(5)

Tsunami Model

Shallow Water Model

I condition - the vertical motion H of the fluid is very small with respect to the horizontal motion L

I δ := H L 1

I characteristical values:

H = h, L = λ

(6)

Hydrostatic and Nonhydrostatic Approach

Pressure Term

I Seperately observation of hydrostatic and nonhydrostatic pressure p = p h + ˆ q

I Hydrostatic pressure p h = p a + ρg(η − z)

I Here the atmospheric pressure p a at the sea surface is neglected.

Classical, hydrostatic Shallow Water Equations (ˆ q ≡ 0):

˜

η t + ∇ · (˜ uH ) = 0, (3)

u ˜ t + (˜ u · ∇)˜ u + f × u ˜ + g∇˜ η + F = 0, (4)

with u ˜ = (˜ u, v ˜ ).

(7)

Hydrostatic and Nonhydrostatic Approach

TsunAWI - Discretization

I time - Leapfrog time-stepping scheme with Robert-Asselin-Filter

I space - P 1 -P 1 NC Finite Element Method on unstructured grids

nj φj

τ

ek ψk

Tk

(8)

Hydrostatic and Nonhydrostatic Approach

Nonhydrostatic Correction Terms

I Idea: nonhydrostatic model = hydrostatic model + nonhydrostatic correction (R. Walters, 05)

I linearization of depth-integrated q ˆ = 1 2 (q η + q −h )

I boundary condition at the surface: q η = q(t, x , y , η) = 0

I correction term depends only on nonhydrostatic bottom

pressure q := q −h

(9)

Additional Unknowns

Additional Unknown: Bottom Pressure q

I Inclusion of nonhydrostatic correction equations in the integral continuity equation

Z

φ i (∇ · u + ∂ z w)dV = 0, (5)

I partial integration and sorting of the terms depending on q to the left and others to the right

Aq = b. (6)

(10)

Additional Unknowns

Additional Unknown: Vertical Velocity w

I linearization of the depth-integrated vertical velocity:

w = 1 2 (w η + w −h )

I kinematic boundary condition: w −h = −u · ∇h

I momentum equation in z-direction with q ≡ 0

I FEM → 2 additional systems of equations

I saving work by Lumping: Approximation of mass matrix by

diagonal matrix

(11)

Additional Unknowns

Nonhydrostatic approach: costs

I 3 additional unknowns: q, w −h , w η

I 1 system of linear equations Aq = b

I

computation of the components of A and b in each timestep

I

pattern of A remains

I correction of u, ˜ v ˜ , w ˜

(12)

Additional Unknowns

Exampel: Standing Wave In A Basin

δ = H L = h

λ

I hydrostatic: good results with δ < 0.1

I nonhydrostatic: good results almost up to δ < 0.5

(13)

Overview

Tsunami Simulation Model

Domain Decomposition Techniques Graph Partitioning

From Mesh to Graph Solvers and Preconditioners

Solvers and Preconditioners Computer

Results

(14)

Graph Partitioning

Software Packages

I used software package: METIS (G. Karypis, V. Kumar)

I routine METIS_PartGraphRecursive: using multilevel recursive bisection

I

Graph Type I: Element - Element

I

Graph Type II: Node - Node

I

Graph Type III: Node - Element

I minimization of the number of edgecuts to approximate the

communication costs

(15)

From Mesh to Graph

Mesh Partitioning

Nnodes Nelements MED 298644 560704

OKU 45028 48330

(16)

From Mesh to Graph

Graph I : Element - Element

nloc/PE Ninterface Nnodes MED 35927 - 38388 0.15%

OKU 5496 - 5708 0.62%

(17)

From Mesh to Graph

Graph II : Node - Node

nloc/PE Ninterface Nnodes MED 37007 - 37708 0.15%

OKU 5628 - 5629 0.62%

(18)

From Mesh to Graph

Graph III : Node - Element

nloc/PE Ninterface Nnodes MED 35927 - 38388 1.06%

OKU 5557 - 5730 1.45%

(19)

Overview

Tsunami Simulation Model

Domain Decomposition Techniques Graph Partitioning

From Mesh to Graph

Solvers and Preconditioners Solvers and Preconditioners Computer

Results

(20)

Solvers and Preconditioners

Solvers

I PETSc - Portable, Extensible Toolkit for Scientific Computation

I Krylov Subspace Methods

I

GMRES(30)

I

BiCGStab

(21)

Solvers and Preconditioners

Preconditioners

I PETSc

I

Block Jacobi

I

restricted Additive Schwarz

I pARMS - parallel Algebraic Recursive Multilevel Solver

I

Schur Complement Preconditioner with local Incomplete

LU-Factorization

(22)

Computer

Computer

IBM BladeCenter

I 14 blades

I 4 Processor cores per blade

I Power 6 processors (4.0 GHz)

I 12 blades with 16 GB memory

I 2 blades with 32 GB memory

I 7.3 TB disk space

(23)

Results

Test case : Standing Wave in a Basin

I Nnodes = 40313

I Nelements = 79851

I ∆t = 0.001

I Number of timesteps: 200

(24)

Results

Results: Time

(25)

Results

Results: Speedup

(26)

Results

Results: Efficiency

(27)

Results

Future Plans

Next steps:

I investigation of these techniques applied to a more complex tsunami szenario

I run both TsunAWI + Nonhydrostatic Correction in a parallel way

Aim:

I computation of the nonhydrostatic tsunami model in a

reasonable time span

Referenzen

ÄHNLICHE DOKUMENTE

Recently, many powerful methods have been estab- lished and developed to carry out the integrations of NLPDEs of all kinds, such as the subsidiary ordinary differential equation

3, one can find that the two new loop solitons possess some interesting properties, which fold in the y direction and localize in a single-valued way in the x direction look- ing like

Because the ocean floor bathymetry is known to exhibit anisotropies and to be correlated on several length scales due to the various geological processes contributing to its

Besides of reviewing the available studies concerning the water quality of marine and coastal systems, the scope of the present paper is to provide a linkage between the

The model will be presented in several stages. Capacity utilization is determined by t h e ratio of indicated production to production capacity, a measure of

If this is the case one says that the field K is real (or formally real), otherwise nonreal. We assume that the reader is familiar with the basic theory of quadratic forms

This is expensive in memory requirement and computing time since the computation of three additional unknowns per grid node is required, just like the solution of several large,

9 to the observed cloud size (a: dashed lines), from cloud size simulated with the shear diffusion model assuming that K h is constant (b: dotted lines) and that K h is a power