Method in 1D. Introduction of the Basic Concepts and Comparison to Optimal FD Operators

Similar documents
THE SPECTRAL ELEMENT METHOD (SEM): FORMULATION AND IMPLEMENTATION OF THE METHOD FOR ENGINEERING SEISMOLOGY PROBLEMS

Spectral Elements. Introduction recalling the elastic wave equation

The Spectral-Element Method: Introduction

The Spectral Element Method for Seismic Wave Propagation

seismic wave propagation through spherical sections including anisotropy and visco-elastic dissipation 3D heterogeneities of all Earth model

A MODIFIED DECOUPLED SCALED BOUNDARY-FINITE ELEMENT METHOD FOR MODELING 2D IN-PLANE-MOTION TRANSIENT ELASTODYNAMIC PROBLEMS IN SEMI-INFINITE MEDIA

The Pseudospectral Method

The Pseudospectral Method

Spectral Element simulation of rupture dynamics

A High-Order Galerkin Solver for the Poisson Problem on the Surface of the Cubed Sphere

Computational Seismology: An Introduction

A Hybrid Method for the Wave Equation. beilina

Finite Element Method in Geotechnical Engineering

SPECTRAL FINITE ELEMENT METHOD

Middle East Technical University Department of Mechanical Engineering ME 413 Introduction to Finite Element Analysis. Chapter 2 Introduction to FEM

Introduction. Finite and Spectral Element Methods Using MATLAB. Second Edition. C. Pozrikidis. University of Massachusetts Amherst, USA

Chapter 2. Formulation of Finite Element Method by Variational Principle

THE SPECTRAL CELL METHOD FOR ULTRASONIC GUIDED WAVE PROPAGATION PROBLEMS

nek5000 massively parallel spectral element simulations

Sparse Linear Systems. Iterative Methods for Sparse Linear Systems. Motivation for Studying Sparse Linear Systems. Partial Differential Equations

Domain Decomposition Preconditioners for Spectral Nédélec Elements in Two and Three Dimensions

An explicit time-domain finite-element method for room acoustics simulation


Static & Dynamic. Analysis of Structures. Edward L.Wilson. University of California, Berkeley. Fourth Edition. Professor Emeritus of Civil Engineering

Finite Element Method-Part II Isoparametric FE Formulation and some numerical examples Lecture 29 Smart and Micro Systems

Modelling of in-plane wave propagation in a plate using spectral element method and Kane-Mindlin theory with application to damage detection *

Pseudospectral and High-Order Time-Domain Forward Solvers

Preprocessor Geometry Properties )Nodes, Elements(, Material Properties Boundary Conditions(displacements, Forces )

Wave propagation numerical models in damage detection based on the time domain spectral element method

Measurement of deformation. Measurement of elastic force. Constitutive law. Finite element method

Scientific Computing I


Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Spectral element modeling of spontaneous earthquake rupture on rate and state faults: Effect of velocity-strengthening friction at shallow depths

BACKGROUNDS. Two Models of Deformable Body. Distinct Element Method (DEM)

Overlapping Schwarz preconditioners for Fekete spectral elements

Numerical Analysis: Solutions of System of. Linear Equation. Natasha S. Sharma, PhD

Fast Numerical Methods for Stochastic Computations

Finite Element Solver for Flux-Source Equations

Numerical Solution for Two Dimensional Laplace Equation with Dirichlet Boundary Conditions

Spectral Element Methods (SEM) May 12, D Wave Equations (Strong and Weak form)

Performance comparison between hybridizable DG and classical DG methods for elastic waves simulation in harmonic domain

A recovery-assisted DG code for the compressible Navier-Stokes equations

Spectral-Element Analysis in Seismology

Numerical Analysis Differential Methods

We briefly discuss two examples for solving wave propagation type problems with finite differences, the acoustic and the seismic problem.

IV B.Tech. I Semester Supplementary Examinations, February/March FINITE ELEMENT METHODS (Mechanical Engineering) Time: 3 Hours Max Marks: 80

1 Lecture 8: Interpolating polynomials.

Numerical Programming I (for CSE)

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 06

Nonlinear Iterative Solution of the Neutron Transport Equation

Lehrstuhl Informatik V. Lehrstuhl Informatik V. 1. solve weak form of PDE to reduce regularity properties. Lehrstuhl Informatik V

A new hybrid numerical scheme for modelling elastodynamics in unbounded media with near-source heterogeneities

Migration with Implicit Solvers for the Time-harmonic Helmholtz

Formulation of the displacement-based Finite Element Method and General Convergence Results

MITOCW MITRES2_002S10nonlinear_lec05_300k-mp4

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim.

Inverse Design (and a lightweight introduction to the Finite Element Method) Stelian Coros

A NEW SIMPLIFIED AND EFFICIENT TECHNIQUE FOR FRACTURE BEHAVIOR ANALYSIS OF CONCRETE STRUCTURES

MECh300H Introduction to Finite Element Methods. Finite Element Analysis (F.E.A.) of 1-D Problems

Quintic beam closed form matrices (revised 2/21, 2/23/12) General elastic beam with an elastic foundation

Abstract. 1 Introduction

A HIGHER-ORDER BEAM THEORY FOR COMPOSITE BOX BEAMS

Spectral-Element and Adjoint Methods in Seismology

General elastic beam with an elastic foundation

1 Introduction. 2 Elements and Shape Functions in 1D

CHAPTER 4 NUMERICAL INTEGRATION METHODS TO EVALUATE TRIPLE INTEGRALS USING GENERALIZED GAUSSIAN QUADRATURE

Stress analysis of a stepped bar

Simulation of anisotropic wave propagation based upon a spectral element method

Spectral finite elements for a mixed formulation in computational acoustics taking flow effects into account

Recent Developments in Numerical Methods for 4d-Var

Large Scale Fluid-Structure Interaction by coupling OpenFOAM with external codes

Third International Symposium on the Effects of Surface Geology on Seismic Motion Grenoble, France, 30 August - 1 September 2006 Paper Number: S04

Multistage Methods I: Runge-Kutta Methods

Weight-adjusted DG methods for elastic wave propagation in arbitrary heterogeneous media

Chapter 2 Finite Element Formulations

Chapter 1: The Finite Element Method

Numerical Methods in Spherical Geometry

Approximation SEM-DG pour les problèmes d ondes elasto-acoustiques

Plates and Shells: Theory and Computation. Dr. Mostafa Ranjbar

High performance mantle convection modeling

MATH 590: Meshfree Methods

JEPPIAAR ENGINEERING COLLEGE

FINITE ELEMENT SOLUTION OF POISSON S EQUATION IN A HOMOGENEOUS MEDIUM

WRT in 2D: Poisson Example

Efficient hp-finite elements

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Module - 01 Lecture - 11

Back Matter Index The McGraw Hill Companies, 2004

Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White

Authors: Correspondence: ABSTRACT:

Towards Modelling Elastic and Viscoelastic Seismic Wave Propagation in Boreholes

Chapter 3. Formulation of FEM for Two-Dimensional Problems

. D CR Nomenclature D 1

The Finite Difference Method

Numerical Mathematics & Computing, 7 Ed. 4.1 Interpolation

Alternative numerical method in continuum mechanics COMPUTATIONAL MULTISCALE. University of Liège Aerospace & Mechanical Engineering

Continuum Mechanics and the Finite Element Method

Well-balanced DG scheme for Euler equations with gravity

Seminar 6: COUPLED HARMONIC OSCILLATORS

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

Transcription:

The Spectral Element Method in 1D Introduction of the Basic Concepts and Comparison to Optimal FD Operators Seismology and Seismics Seminar 17.06.2003 Ludwigs-Maximilians-Universität München by Bernhard Schuberth

Outline! Motivation! Mathematical Concepts and Implementation Weak Formulation Mapping Function irregular grids Interpolation and integration Diagonal mass matrix??? What about the stiffness matrix? Assembly of the global linear system Boundary conditions examples! Summary of SEM

Outline cont d! Comparison to Optimal FD Operators Setup Seismograms How to compare the performance? Results of for a homogeneous and a two layered model! Conclusions! Future Work

Motivation why SEM?! High accuracy! Parallel implementation is fairly easy diagonal mass matrix! Advantages of meshing like in FEM Better representation of topography and interfaces Possibility of deformed elements Pictures taken from Komatitsch and Vilotte (1998) and Komatitsch and Tromp (2002a-b)

Motivation Why still looking at 1D?! Simple analytical solution Quantitative comparisons! Educational aspect all concepts can be explained considering a 1D case Extensions to higher dimension are then rather straightforward formulas are looking simpler

From the Weak Formulation to a Global Linear System Aim of SEM (FEM) formulation: invertible linear system of equations Starting with 1D wave equation: Free surface boundary conditions: Weak Formulation: Linear System of equations matrix formulation

5 Steps to get the Global Matrix Equation 1. Domain decomposition Mesh of elements Transformation between physical and local element coordinates = Mapping 2. Interpolation of functions Lagrange polynomials on the elements Gauss-Lobatto-Legendre (GLL) points 3. Integration over the GLL integration quadrature element GLL points and weights 4. The elemental matrices: - mass matrix diagonal using Lagrange polynomials and GLL quadrature - stiffness matrix can be used as in FEM but it is easier to calculate forces (see later) 5. Assembly Connectivity Matrix Global linear system

1. Domain Decomposition Mapping Function Domain Ω Subdividing Ω into elements 1D meshing ne = 1 ne = 2 ne = 3 0 1 2 3 4 5 6 7 8 Ω 1 Ω 2 Ω 3 coordinate transformation Mapping Function -1 0 1

Mapping Function Coordinate Transformation non deformed elements 1!Now2D! product of degree 1 Lagrange polynomials 0-1 0 1 deformed elements Examples 1 product of degree 2 Lagrange polynomials 0-1 0 1 Notice! In 3D it is a triple product!

Shape Function 2D Examples 1-1 0 1-1! 0 2! 1 2! 0 2! 2 2

Coordinate Transformation cont d Jacobi Matrix and Jacobian Determinant Later, when calculating derivatives and integrals, we will have to correct for the coordinate transformation. HOW is it done? 1D 3D Jacobi Matrix and its determinant called Jacobian The Jacobian describes the volume change of the element

2. Interpolation on the Elements Interpolation is done using Lagrange polynomials defined on the Gauss-Lobatto-Legendre points. interpolation interpolating functions Polynomial degree N for interpolation is usually higher than that for the mapping GLL points: The N+1 roots of the Legendre polynomial of degree N

Lagrange Polynomials - Examples 1 All 6 Lagrange polynomials of degree 5 1 0-1 0 1 Lagrange polynomial! 7 of degree 8 0-1 0 1

3. Integration Over the Element Gauss-Lobatto-Legendre quadrature for spatial integration!big advantage! (compared to quadratures using Chebychev polynomials) same collocation points for interpolation and integration diagonal mass matrix (this we will see on the next slides remember ) GLL weights of integration

4. The Elemental Matrices Mass Matrix Now - the most important issue of SEM How does it become diagonal? (Sorry, nasty formulas inevitable ;-) Starting with 1. term of the weak formulation: coordinate transformation interpolating v and u integration quadrature weights

Mass Marix cont d Thanks to Kronecker delta the formula is getting simpler! Rearranging we get which can be expressed as Finally the world is simple again!

4. The Elemental Matrices Stiffness Matrix Having to factorize an even more complicated equation we obtain the stiffness matrix Note! The Kronecker delta relation does not hold for the derivatives of the Lagrange polynomials the stiffness matrix is not diagonal! All elements of the elemental stiffness matrix are therefore nonzero

5. The Assembly Process Connectivity Matrix How do the elemental matrices contribute to the global system? Important information we need: # 2 # 1 - How are the elements connected? - Which elements share nodes - To which elements contributes a certain node? # 3 # 4 Connectivity Matrix

Assembling the Global Matrices How do we use the information contained in the Connectivity Matrix? i indicates element number j and k indicate the N+1 nodes

Two Ways to get the Global Matrix Equation 1. Explicitly calculating the global stiffness matrix once for the whole simulation 2. Calculating the forces at all nodes for every timestep and then summing the forces at each node (= assembling the global force vector F) Advantage: much easier to implement in 2- and 3D Drawback: CPU time increases strain at node i: Hooke s Law stress: Calculation of Forces 1. x 2. x Note: Here we need to correct for the coordinate transformation (same for stiffness matrix) 2 x Jacobi Matrix of inverse transformation 1 x Jacobian Determinant

Boundary Conditions Implementation of different boundary conditions in the SEM formulation is very easy 1. Free surface boundary conditions are implicitly included in the weak formulation nothing to be done time integration (explicit Newmark scheme) 2. Rigid boundaries are easily applied by not inverting the linear system for boundary nodes This corresponds to setting U(1) and U(ng) equal to zero for all times.

Boundary Conditions cont d 3. Periodic boundary conditions: sum forces and masses at the edges F(1) periodic = F(1) fs + F(ng) fs M(1) periodic = M(1) fs + M(ng) fs same for F(ng) periodic and M(ng) periodic 4. Absorbing boundary conditions: stress conditions at the edges: F(1) absorbing = F(1) fs + F(1) absorbing = F(1) fs +

Summary of SEM Concepts! Weak formulation! Therefore few problems with boundary conditions! Use forces instead of the stiffness matrix! Additional information is needed Connectivity! Assembly is time consuming! Lagrange polynomials in connection with Gauss-Lobatto-Legendre quadrature! Most important: the diagonal mass matrix

Comparison of SEM and Optimal FD Operators!Why comparing to Optimal Operators (Opt. Op.)? Both methods are said to be more accurate than conventional FE and FD methods Both were developed in the last 10 years and are still not commonly used (especially Opt. Op. are not fully established in computational Seismology)

Comparision The Setup! Model size 1200 grid points! Source Delta peak in space and time! Receiver Array every 5 th gridpoint 240 receivers! Effective Courant 0.5 (grid spacing varies in SEM) Number 0.82 used in stability criterion! Filtering 5 to 40 points per wavelength (ppw) frequencies chosen correspondingly! Propagation length 1 to 40 propageted wavelengths (npw)! Analytical solution Heaviside shaped (displacement) first arrival in seismogram at time

Seismograms Homogeneous and Two Layered Medium

How to check for performance? synthetic seismograms + analytical solution relative solution error (rse) The used setup allows for a uge database of rse covering a wide range of ppw and npw What determines the perfomance of a numerical method? The effort (or CPU time) it takes to achieve a certain accuracy for a given problem i.e. the points per wavelength one has to use to reach an acceptable error after propagating the signal a wanted number of wavelengths and the memory usage.

CPU Cost Benchmarking the CPU time Several runs with different model sizes (1000 20000 nodes) CPU time per grid node 12 x 10-3 SEM 12 10 CPU time per time step 8 6 4 2 SEM 8 SEM 5 Opt. Op. 5pt Taylor 5pt 0-2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 x 10 4 model size

Results Homogeneous Case

Homogeneous Model RSE Difference and Relative CPU time relative CPU time 1.8 difference RSE(SEM) RSE(Opt. Op.) 1.6 1.4 1.2 1 rse [%] c 0.8 5 4 3 2 rse [%] 1 0 0 10 20 30 npw 40 npw ppw

Two Layered Model RSE Difference and Relative CPU time relative CPU time difference RSE(SEM) RSE(Opt. Op.) 2 1.8 1.6 1.4 1.2 rse [%] 1 5 4 3 rse [%] 2 1 0 0 10 20 30 npw 40 npw ppw

Conclusions! Memory no big role in 1D, but may be in 3D! Similar behaviour of errors SEM slightly better for less than 20 npw and for 7 ppw and less! CPU cost is much higher for SEM Opt. Op. win for the used setup (without boundaries) in 1D SEM in heterogeneous model better than in homogeneous compared to Opt. Op.! Simulations including surface waves in 3D models may be better with SEM! Perhaps better approximation of interfaces

Future Work 1D! Comparison of several subroutines for the calculation of the GLL points and weights! Comparison of stiffness matrix and calculation of forces implementations 3D! Installation of a 3D code written by Komatitsch and Tromp (2003) on the Hitachi! Comparison of 3D SEM-simulations in the Cologne Basin model with the results of the FD simulations performed by Michael Ewald

Thank You For Your Attention! Bernhard Schuberth

Boundary Conditions Examples Free Surface back

Boundary Conditions Examples Rigid Boundaries back

back Boundary Conditions Examples Periodic Boundaries

back Boundary Conditions Examples Absorbing Boundaries

Results Two Layered Medium