• No results found

Large parallel problems

N/A
N/A
Protected

Academic year: 2021

Share "Large parallel problems"

Copied!
26
0
0

Loading.... (view fulltext now)

Full text

(1)

Large parallel problems

Mika Malinen and Thomas Zwinger

(2)

Background

Motivation: improving the ability of Elmer solver to handle large discrete partial differential equation models

• The bottleneck is typically associated with the performance of iterative solvers for linear systems

• A key challenge: identify an efficient preconditioner P which makes solving

quick and which is also amenable for a parallel implementation

• A special feature of many challenging problems: strong (physical) coupling of constituent fields

Basic approaches to design preconditioners: Fully algebraic or physics -based/block preconditioning

(3)

Background cntd.

• Traditionally in Elmer: the algebraic approach, like ILU • Coupled multi-physic problems via segregation:

(4)

Background cntd.

• If you succeed with an algebraic preconditioner: smile, whistle and be

happy

o no other approach will usually outperform your current one

o BUT: In difficult situations (= large parallel runs) you usually fail with purely

algebraic preconditioning

• In such (difficult) cases: Physics-based/block preconditioning

o Alternatively: monolithic discretization (=all variables in one sweep); direct solvers o Examples: Ice flow: (equation of motion + free surface + incompressibility);

Acoustic wave propagation: (equation of motion + energy conservation +

continuity); Coupled systems: utilize the block structure of the monolithic system to derive a preconditioner

(5)

Design of a new preconditioner

• Solution of:

• Traditionally: produce iterates of

• New approach: minimize over

• Preconditioner = operator, which from previous iterate produces new search directions by solution of:

Search directions Residual

(6)

• Implemented in the ParStokes

solver

• Needs additional pseudo-solvers to provide the matrix space for velocity as well as pressure block

• Use only for large scale problems,

where algebraic preconditioner + Krylov-subspace solvers don’t work and direct solver (MUMPS) exceed sensible memory

resources

(7)

Requirements

Robustness:

o Iteration counts do not depend on the problem size

o Robust with respect to variations of essential model parameters

o If robust, parallel scalability (weak) depends heavily on the scalability of the

subsidiary computations

Efficiency:

o The subsidiary computations corresponding to the application of the preconditioner

done efficiently by exploiting optimal complexity solvers.

o Need preconditioners the action of which operations may be computed by solving

elementary models

• We focus here on exploring to what extent the requirements of the

(8)

Full Stokes

• Solver for:

• Strain-rate tensor

(9)

Weak formulation + linearization

• Find for any a set of such that

(10)

Stabilization

• Inf-Sup condition: stabilization by using different approximation spaces for

velocity and pressure (saddle-point problem)

• Bubble stabilization:

• Recommended degrees of bubbles: brick 7, tetrahedron 5, wedge 6

(11)

The preconditioner

• The full linearized system:

• The preconditioner:

• Replacement of pressure-Schur complement:

Velocity block ~ Laplacian

continuity stabilization grad p

(12)

Performance

• A thin domain ⇒ high element aspect ratios ⇒ weakened finite element

o stability may have an effect on the effectiveness of the preconditioner

• The robustness of the preconditioner with respect to natural variations of

the ice viscosity

• The solver performance for different linearization strategies

• The use of the stress-divergence form couples the solution of the

components of the velocity, i.e. A is not block diagonal ⇒ ways to utilize component-wise linear solves?

(13)
(14)

Block diagonal approximation

(15)

Example: Tete-Rousse

• Replacing standard Navier-Stokes solver in teterousse2a.sif with ParStokes • Warning: you will be disappointed in terms of performance, because:

o This is a very small case

o The aspect ratio of elements is very small

o The original case works with algebraic pre-conditioner, which always is faster

• So, this is just a demo on how to set up the simulation • Next slides show the side-by-side changes

(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)

Example: Tete-Rousse

• Change all occurrences of “Flow Solution” into “FlowVar”

• And add the Flow-Preconditioner Variable “V” to boundary conditions

• Also, don’t forget to increase numbers of solvers in “Equation 1”

(24)
(25)
(26)

References

Related documents

When employing a network decomposition algorithm for the Minimum Vertex Coloring ( MVC ) problem, the chromatic number of the cluster graph directly translates to the

Diante da pesquisa realizada para a confecção da presente monografia, tem- se que o Processo Civil, no tocante à execução, apresenta inúmeras causas e fatores que obstam a

There is nothing in the employment contract that would indicate that Dowling cannot receive both employment benefits and LTD benefits...the provisions in the

The energy e ffi ciencies were calculated and a sensitivity analysis on the heating value and methane content of the Bio-SNG was explored to gain insight into the e ff ects of di ff

Don’t- Leave frozen food at room temperature to thaw; the best way to defrost food is to put it in the fridge to thaw slowly. Make sure you avoid defrosting food or food

.calm offers a visualizations interface that allow you to view the collective information from your daily logs to help you see trends and relationships between your mood, health

Pursuant to Paragraph 16(C) of the First Partial Consent Decree (as amended by Paragraph 23 of the Second and Final Partial Consent Decree), Miami-Dade developed and implemented a