Maria Ugryumova Direct Solution Techniques in Spectral Methods CASA Seminar, 13 December 2007.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Using Matrices in Real Life
Advanced Piloting Cruise Plot.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
THE FINITE ELEMENT METHOD
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Summary of Convergence Tests for Series and Solved Problems
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 10 second questions
2010 fotografiert von Jürgen Roßberg © Fr 1 Sa 2 So 3 Mo 4 Di 5 Mi 6 Do 7 Fr 8 Sa 9 So 10 Mo 11 Di 12 Mi 13 Do 14 Fr 15 Sa 16 So 17 Mo 18 Di 19.
Solve Multi-step Equations
Richmond House, Liverpool (1) 26 th January 2004.
Yi Heng Second Order Differentiation Bommerholz – Summer School 2006.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Mathematics for Economics Beatrice Venturi 1 Economics Faculty CONTINUOUS TIME: LINEAR DIFFERENTIAL EQUATIONS Economic Applications LESSON 2 prof. Beatrice.
Mathematics for Economics Beatrice Venturi 1 Economics Faculty CONTINUOUS TIME: LINEAR DIFFERENTIAL EQUATIONS Economic Applications LESSON 2 prof. Beatrice.
Pole Placement.
Copyright © Cengage Learning. All rights reserved.
Digital Filter Banks The digital filter bank is set of bandpass filters with either a common input or a summed output An M-band analysis filter bank is.
1 Challenge the future Subtitless On Lightweight Design of Submarine Pressure Hulls.
ABC Technology Project
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
2 |SharePoint Saturday New York City
VOORBLAD.
15. Oktober Oktober Oktober 2012.
1. 2 No lecture on Wed February 8th Thursday 9 th Feb 14: :00 Thursday 9 th Feb 14: :00.
Chapter 6 The Mathematics of Diversification
Solving Equations How to Solve Them
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
Mathe III Lecture 2 Mathe III Lecture 2. 2 _____________________________________ Montag 8.00 – 9.30 Uhr – HS H Montag Uhr – HS H Mittwoch.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Copyright © 2013, 2009, 2006 Pearson Education, Inc.
Copyright © 2013, 2009, 2006 Pearson Education, Inc.
BIOLOGY AUGUST 2013 OPENING ASSIGNMENTS. AUGUST 7, 2013  Question goes here!
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Squares and Square Root WALK. Solve each problem REVIEW:
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1 Section 5.4 Polynomials in Several Variables Copyright © 2013, 2009, 2006 Pearson Education, Inc.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Addition 1’s to 20.
25 seconds left…...
H to shape fully developed personality to shape fully developed personality for successful application in life for successful.
1 Modal methods for 3D heterogeneous neutronics core calculations using the mixed dual solver MINOS. Application to complex geometries and parallel processing.
Januar MDMDFSSMDMDFSSS
Week 1.
Vector Algebra One Mark Questions PREPARED BY:
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Chapter 5 The Mathematics of Diversification
Presentation transcript:

Maria Ugryumova Direct Solution Techniques in Spectral Methods CASA Seminar, 13 December 2007

Outline 1. Introduction 2. Ad-hoc Direct Methods 4. Direct methods 5. Conclusions 2/30 3. The matrix diagonalization techniques

1. Introduction 3/30 Constant-coefficient Helmholtz equation Some generalizations Spectral descretization methods lead to the system Steady and unsteady problems;

Outline 1. Introduction 2. Ad-hoc Direct Methods 3. The matrix diagonalization techniques 4. Direct methods 5. Conclusions 4/30

2. Ad-hoc Direct Methods Fourier Chebyshev Legendre 1. To performe appropriate transform 2. To solve the system 3. To performe an inverse transform on to get. Solution process: 5/30 Approximations:

2. Ad-hoc Direct Methods Fourier Chebyshev Legendre 1. To performe appropriate transform 2. To solve the system 3. To performe an inverse transform on to get. Solution process: 5/30 Approximations:

2.1 Fourier Approximations Problem - the Fourier coefficients; Solution 1a - The Fourier Galerkin approximation The solution is - the trancated Fourier series; 6/30

Solution 1b - a Fourier collocation approximation Given 7/30

and - the discrete Fourier coefficients; Solution 1b - a Fourier collocation approximation Using the discrete Fourier transform (DFT is a mapping between ) Given 7/30

and - the discrete Fourier coefficients; Solution 1b - a Fourier collocation approximation Using the discrete Fourier transform (DFT is a mapping between ) Given (3) is solved for Reversing the DFT 7/30

Galerkin and collocation approximation to Helmholz problem are equally straightfoward and demand operations. 8/30

2.3 Chebyshev Tau Approximation Solution 1 - Chebyshev Tau approximation: Problem 9/30

2.3 Chebyshev Tau Approximation Solution 1 - Chebyshev Tau approximation: Rewriting the second derivative, where L is upper triangular. Solution process requires operations Problem 9/30

Solution 2 - To rearrange the equations More efficient solution procedure For q=2 For q=1 in combination with (5) will lead 10/30

After simplification To minimize the round-off errors; quasi-tridiagonal system; not diagonally dominant; Nonhomogeneous BC. For even coefficients: 11/30

1.Discrete Chebyshev transform; 2. To solve quasi-tridiagonal system; 3. Inverse Chebyshev transform on to get. 2.4 Mixed Collocation Tau Approximation 12/30 Solution process:

2.5 Galerkin Approximation Solution: Legendre Galerkin approx. Problem 13/30

2.5 Galerkin Approximation Solution: Legendre Galerkin approx. After integration by parts Problem (full matrices) 13/30

The same system but An alternative set of basis functions produces tridiagonal system: Then expension is The right-hand side terms in (5) are related to Legendre coefficients : Two sets of tridiagonal equations; O(N) operations 14/30

Transformation between spectral space and physical space: The standard Legendre coefficients of the solution can be found via 15/30

2.6 Numerical example for Ad Hoc Methods in 1-D Galerkin method is more accurate than Tau methods Roundoff errors are more for Chebyshev methods, significantly for N>1024 Exact solution is 16/30

Outline 1. Introduction 2. Ad-hoc Direct Methods 4. Direct methods 5. Conclusions 17/30 3. The matrix diagonalization techniques

3.1 Schur Decomposition Collocation approx and Legendre G-NI approxim. lead Problem: Solving (6) by Schur decomposition [Bartels, Stewart, 1972] lower-triangular upper-triangular 18/30

Computational cost: Solution process: Reduction and to Schur form Construction of F’ Solution of for U’ Transformation from U’ to U. 19/30

3.2 Matrix Digitalization Approach Similar to Schur decomposition. The same solution steps. and are diagonalized Operation cost: 20/30

3.3 Numerical example for Ad Hoc Methods in 2-D Problem: Matrix diagonalization was used for the solution procedure Haidvogel and Zang (1979), Shen (1994) Results are very similar to 1-D case 21/30

Outline 1. Introduction 2. Ad-hoc Direct Methods 4. Direct methods 5. Conclusions 22/30 3. The matrix diagonalization techniques

4. Direct Methods Matrix structure produced by Galerkin and G-NI methods ; How the tensor-product nature of the methods can be used efficiently to build matrices; How the sparseness of the matrices in 2D and in 3D can be accounted in direct techniques 23/30

4.1 Multidimensional Stiffness and Mass Matrices + homogen. BC onProblem: Integral formulation: Galerkin solution: – stiffness matrix Let be a finite tensor-product basis in. The trial and test function will be chosen in 24/30

Decomposition of K into its 1 st, 2 nd, 0 – order components 25/30

then Decomposition of K into its 1 st, 2 nd, 0 – order components for a general, the use of G-NI approach with Lagrange nodal basis 26/30 will lead to diagonal marix

Decomposition of K into its 1 st, 2 nd, 0 – order components - tensor-product function, - arbitrary, G-NI approach leads to sparse matrix (a matrix-vector multiply requires operations) 27/30 2D3D

In 2D: matrix is in general full for arbitrary nonzero Decomposition of K into its 1 st, 2 nd, 0 – order components for arbitrary, G-NI approach (with Lagange nodal basis) leads (a matrix-vector multiply requires operations) In 3D: has sparse structure 28/30 to sparse matrix

- decomposition 4. Gaussian Elimination Techniques 29/30 LU - decomposition 2D: special cases of Ad-hoс methods have lower cost Frontal and multifrontal [Davis and Duff 1999] To get benifit from sparsyty, reodering of matrix to factorization have to be done [Gilbert, 1992, Saad, 1996]

Outline 1. Introduction 2. Ad-hoc Direct Methods 4. Direct methods 5. Conclusions 30/30 3. The matrix diagonalization techniques

5. Conclusions 31/31 Approximation techniques; Galerkin approximations give more accurate results than other methods; Techniques, which can eliminate the cost of solution on prepocessing stage; Sparcity matrices

Thank you for attention.

Thank you for attention