Implementing Spectral Methods for Partial Differential Equations

Size: px
Start display at page:

Download "Implementing Spectral Methods for Partial Differential Equations"

Transcription

1 Implementing Spectral Methods for Partial Differential Equations

2 Scientific Computation Editorial Board J.-J.Chattot,Davis,CA,USA P. Colella, Berkeley, CA, USA W. Eist, Princeton, NJ, USA R. Glowinski, Houston, TX, USA Y. Hussaini, Tallahassee, FL, USA P. Joly, Le Chesnay, France H.B. Keller, Pasadena, CA, USA J.E. Marsden, Pasadena, CA, USA D.I. Meiron, Pasadena, CA, USA O. Pironneau, Paris, France A. Quarteroni, Lausanne, Switzerland and Politecnico of Milan, Milan, Italy J.Rappaz,Lausanne,Switzerland R.Rosner,Chicago,IL,USA P. Sagaut, Paris, France J.H. Seinfeld, Pasadena, CA, USA A. Szepessy, Stockholm, Sweden M.F. Wheeler, Austin, TX, USA For other titles published in this series, go to

3 David A. Kopriva Implementing Spectral Methods for Partial Differential Equations Algorithms for Scientists and Engineers

4 Prof. Dr. David A. Kopriva Dept. of Mathematics Florida State University Tallahassee, FL USA ISBN e-isbn DOI / Library of Congress Control Number: Springer Science + Business Media B.V No part of this work may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, microfilming, recording or otherwise, without written permission from the Publisher, with the exception of any material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Printed on acid-free paper springer.com

5 To my Wife, my Mother, and in memory of my Dad.

6 Preface This book is aimed to be both a textbook for graduate students and a starting point for applications scientists. It is designed to show how to implement spectral methods to approximate the solutions of partial differential equations. It presents a systematic development of the fundamental algorithms needed to write spectral methods codes to solve basic problems of mathematical physics, including steady potentials, transport, and wave propagation. As such, it is meant to supplement, not replace, more general monographs on spectral methods like the recently updated Spectral Methods: Fundamentals in Single Domains and Spectral Methods: Evolution to Complex Geometries and Applications to Fluid Dynamics by Canuto, Hussaini, Quarteroni and Zang, which provide detailed surveys of the variety of methods, their performance and theory. I was motivated by comments that I have heard over the years that spectral methods are too hard to implement. I hope to dispel this view or at least to remove the too. Although it is true that a spectral code is harder to hack together than a simple finite difference code (at least a low order finite difference method on a square domain), I show that only a few fundamental algorithms for interpolation, differentiation, FFT and quadrature the subjects of basic numerical methods courses form the building blocks of any spectral code, even for problems in complex geometries. I present the algorithms not only to solve problems in 1D, but 2D as well, to show the flexibility of spectral methods and to make as straightforward as possible the transition from simple, exploratory programs that illustrate the behavior of the methods to application programs. I assume that the reader has a basic knowledge of numerical algorithms. The most important topics include interpolation, quadrature and the numerical integration of ordinary differential equations. An understanding of other methods for the solution of PDEs, such as finite difference or finite element methods is very helpful. Although I assume some background in numerical methods, I have tried to make the presentation and the collection of algorithms self contained. The idea is to make it as straightforward as possible to implement the methods without the need to search for auxiliary routines. Of course, some of the routines (like FFTs, for example) should be later replaced by well-tested and optimally designed versions in the programmer s programming language of choice. Also, since I emphasize the implementation of spectral methods, I recommend having one of the many more general books, such as the two mentioned above, available to consult on the theory of the methods. I have chosen to present the algorithms in a detailed pseudocode, rather than in a specific language such as C or Fortran or application such as Matlab, Maple or Mathematica. The idea is to present the algorithms unencumbered by a language syntax that the reader might not know, but that can nevertheless be quickly translated into the programmer s favorite computer language. I hope that this will make

7 viii Preface the methods useful to the widest possible audience and for the widest range of applications. This is not a programming book, however, and the translation process of the pseudocode will depend on the particular computer language chosen. Fortran programmers will most likely replace loops with vector operations. C/C++ programmers will often have to adjust array indices. The object oriented concepts used for many of the algorithms will be natural to C++ programmers, but a number of tutorials on the web for Fortran programmers show how to implement object oriented ideas using modules, at least until F2003 compilers become available. The book consists of two parts. The first is a quick introduction to spectral approximation to provide a reference point and to define the notation. It is followed by the development of the basic algorithms that form the building blocks of spectral codes. These algorithms include how to use the complex FFT to compute real transforms, how to compute Chebyshev and Legendre polynomials and then how to use them to approximate integrals and derivatives. The second part presents algorithms to approximate the solutions of PDEs. It includes a short survey of spectral approximations that shows how to use the building blocks in one space dimension. Our main interest, however, is how to solve problems in complex geometries in two space dimensions, so we put the emphasis on collocation and nodal versions of Galerkin spectral methods. The development of the algorithms starts from basic approximation on the square, then moves to more complex geometries through the introduction of boundary-fitted mappings, and ends with spectral multidomain methods. I am grateful for the efforts of my students and colleagues who did so much to help me prepare this work. I d like to thank my students Wuming Zhu, James De- Marco, Matt Willyard and Cesar Acosta who gave suggestions on what they wanted to see in a book on spectral methods and implemented algorithms. Tom Zang deserves many thanks for taking the time to read through an entire draft of the manuscript and provide detailed comments. Last, but certainly not least, I want to thank Yousuff Hussaini, who started my research in spectral methods. He has mentored me and encouraged my career for two and a half decades. Many of the topics covered here came out of projects that we have worked on together. Tallahassee, FL David A. Kopriva October 2008

8 Contents Preface... vii Part I Approximating Functions, Derivatives and Integrals 1 Spectral Approximation Preamble:SeriesSolutionofPDEs The Fourier Basis Functions and Fourier Series Series Truncation Modal vs. Nodal Approximation Discrete Orthogonality and Quadrature FourierInterpolation DirectComputationoftheFourierInterpolation ErroroftheFourierInterpolation TheDerivativeoftheFourierInterpolant Polynomial Basis Functions The Legendre Polynomials The Chebyshev Polynomials Polynomial Series Polynomial Series Truncation Derivatives of Truncated Series Polynomial Quadrature Orthogonal Polynomial Interpolation Algorithms for Periodic Functions HowtoComputetheDiscreteFourierTransform Fourier Transforms of Complex Sequences Fourier Transforms of Real Sequences The Fourier Transform in Two Space Variables TheRealFourierTransform How to Evaluate the Fourier Interpolation Derivative by FFT How to Compute Derivatives by Matrix Multiplication Algorithms for Non-Periodic Functions How to Compute the Legendre and Chebyshev Polynomials How to Compute the Gauss Quadrature Nodes and Weights Legendre Gauss Quadrature Legendre Gauss-Lobatto Quadrature Chebyshev Gauss Quadratures How to Evaluate Chebyshev Interpolants via the FFT The Fast Chebyshev Transform How to Evaluate Polynomial Interpolants in Lagrange Form ix

9 x Contents 3.5 How to Evaluate Polynomial Derivatives DirectEvaluationoftheDerivative Evaluation of Derivatives by Matrix Multiplication Even-Odd Decomposition Evaluation by Transform Methods Performance of Various Polynomial Derivative Algorithms 84 Part II Approximating Solutions of PDEs 4 Survey of Spectral Approximations TheFourierCollocationMethod HowtoImplementtheFourierCollocationMethod Benchmark Solution TheFourierGalerkinMethod HowtoImplementtheFourierGalerkinMethod Benchmark Solution Nonlinear and Product Terms TheGalerkinApproximation HowtoComputetheConvolutionSum TheCollocationApproximation Polynomial Collocation Methods ApproximationoftheDiffusionEquation How to Implement the Methods Benchmark Solution Approximation of Scalar Advection The Legendre Galerkin Method HowtoImplementtheMethod The Nodal Continuous Galerkin Method HowtoImplementtheMethod Benchmark Solution The Nodal Discontinuous Galerkin Method HowtoImplementtheMethod Benchmark Solution Summary and Some Broad Generalizations Spectral Approximation on the Square Approximation of Functions in Multiple Space Dimensions Potential Problems on the Square TheCollocationApproximation The Nodal Galerkin Approximation Approximation of Time Dependent Advection-Diffusion TheCollocationApproximation The Nodal Galerkin Approximation TimeIntegration HowtoImplementtheApproximations Benchmark Solution: Advection and Diffusion of a Spot inauniformflow...200

10 Contents xi 5.4 Approximation of Wave Propagation Problems The Nodal Discontinuous Galerkin Approximation How to Implement the Nodal Discontinuous Galerkin Approximation Benchmark Solution: Plane Wave Propagation Benchmark Solution: Propagation of a Circular Sound Wave Transformation Methods from Square to Non-Square Geometries Mappings and Coordinate Transformations Mapping a Straight Sided Quadrilateral How to Approximate Curved Boundaries How to Map the Reference Square to a Curved-Sided Quadrilateral Transformation of Equations under Mappings Two-Dimensional Forms HowtoApproximatetheMetricTerms HowtoComputetheMetricTerms Spectral Methods in Non-Square Geometries Steady Potentials in a Quadrilateral Domain TheCollocationApproximation The Nodal Galerkin Approximation Solution of the Linear Systems Benchmark Solution: Potential in Non-Square Domains Benchmark Solution: Incompressible Flow over a Circular Obstacle Steady Potentials in an Annulus Benchmark Solution: Potential in an Annulus with a Source Advection and Diffusion in Quadrilateral Domains TransformationoftheAdvection-DiffusionEquation TheCollocationApproximation The Nodal Galerkin Approximation HowtoImplementtheApproximations Benchmark Solution: Advection and Diffusion in a Non-Square Geometry Benchmark Solution: Advection and Diffusion of a Pollutant in a Curved Channel Conservation Laws in Quadrilateral Domains The Nodal Discontinuous Galerkin Approximation How to Implement the Nodal Discontinuous Galerkin Approximation Benchmark Solution: Acoustic Scattering off a Cylinder Spectral Element Methods Spectral Element Methods in One Space Dimension The Continuous Galerkin Spectral Element Method...297

11 xii Contents How to Implement the Continuous Galerkin Spectral ElementMethod Benchmark Solution: Cooling of a Temperature Spot The Discontinuous Galerkin Spectral Element Method How to Implement the Discontinuous Galerkin Spectral ElementMethod Benchmark Solution: Wave Propagation and Reflection The Two-Dimensional Mesh and Its Specification How to Construct a Two-Dimensional Mesh Benchmark Solution: A Spectral Element Mesh for a Disk The Spectral Element Method in Two Space Dimensions How to Implement the Spectral Element Method Benchmark Solution: Steady Temperatures in a Long CylindricalRod The Discontinuous Galerkin Spectral Element Method How to Implement the Discontinuous Galerkin Spectral ElementMethod Benchmark Solution: Propagation of a Circular Wave inacirculardomain Benchmark Solution: Transmission and Reflection from amaterialinterface A Pseudocode Conventions B Floating Point Arithmetic C Basic Linear Algebra Subroutines (BLAS) D Linear Solvers D.1 DirectSolvers D.1.1 Tri-Diagonal Solver D.1.2 LUFactorization D.2 IterativeSolvers E Data Structures E.1 LinkedLists E.1.1 Example: Elements that Share a Node E.2 HashTables E.2.1 Example: Avoiding Duplicate Edges in a Mesh References Index of Algorithms Subject Index...389

12 List of Algorithms 1 DiscreteFourierCoefficients: Direct Evaluation of the Discrete Fourier Coefficients FourierInterpolantFromModes: Direct Evaluation of the Fourier Interpolant from Its Modes FourierInterpolantFromNodes: Direct Evaluation of the Fourier Interpolant from Its Nodes LegendreDerivativeCoefficients: Evaluate the Legendre Coefficients of the Derivative of a Polynomial ChebyshevDerivativeCoefficients: Evaluate the Chebyshev Coefficients of the Derivative of a Polynomial DFT: Direct (and Slow) Evaluation of the Discrete Fourier Transform InitializeFFT: Initialization Routine for FFT Radix2FFT: Temperton sradix2selfsortingcomplexfft FFFTOfTwoRealVectors: Simultaneous Computation of the DFT of Two Real Sequences. The Forward Transform BFFTForTwoRealVectors: Simultaneous Computation of the DFT of Two Real Sequences. The Backward Transform FFFTEO: The Forward DFT by Even-Odd Decomposition BFFTEO: The Backward DFT by Even-Odd Decomposition Forward2DFFT: A Two-Dimensional Forward FFT of a Real Array withanevennumberofpointsineachdirection Backward2DFFT: Two-Dimensional Backward FFT of a Real Array withanevennumberofpointsineachdirection ForwardRealFFT: TheForwardRealTransform BackwardRealFFT: The Backward Real Transform FourierDerivativeByFFT: Fast Evaluation of the Fourier Polynomial Derivative FourierDerivativeMatrix: Computation of the Fourier Derivative MatrixusingtheNegativeSumTrick MxVDerivative: A Matrix-Vector Multiplication Procedure LegendrePolynomial: Evaluate the Legendre Polynomial of Degree k using Three Term Recursion ChebyshevPolynomial: The Chebyshev Polynomial of Degree k using Three Term Recursion and Trigonometric Forms LegendrePolynomialAndDerivative: The Legendre Polynomial of Degree k and Its Derivative using the Three Term Recursion LegendreGaussNodesAndWeights: qandlevaluation: Combined Algorithm to Compute L N (x), q(x) = L N+1 L N 1, and q (x) LegendreGaussLobattoNodesAndWeights: xiii

13 xiv List of Algorithms 26 ChebyshevGaussNodesAndWeights: ChebyshevGaussLobattoNodesAndWeights: FastCosineTransform: The Cosine Transform Computed with the Real FFT FastChebyshevTransform: The Fast Chebyshev Transform using thefastcosinetransform BarycentricWeights: Weights for Lagrange Interpolation LagrangeInterpolation: Lagrange Interpolant from Barycentric Form PolynomialInterpolationMatrix: Matrix for Interpolation Between Two SetsofPoints InterpolateToNewPoints: Interpolation Between Two Sets of Points by Matrix Multiplication LagrangeInterpolatingPolynomials: l j (x) DCoarseToFineInterpolation: Interpolation from a Coarse to a Fine Gridin2D LagrangeInterpolantDerivative: Direct Computation of the Polynomial Derivative in Barycentric Form PolynomialDerivativeMatrix: First Derivative Approximation Matrix mthorderpolynomialderivativematrix: Derivative Matrix for mth OrderDerivatives EOMatrixDerivative: Computation of First Derivative by Even-Odd Decomposition FastChebyshevDerivative: Computation of the Derivative by the Fast Chebyshev Transform FourierCollocationTimeDerivative: The Fourier Collocation Time DerivativefortheAdvection-DiffusionEquation CollocationStepByRK3: Low-Storage Runge-Kutta Integration ofthefouriercollocationapproximation FourierCollocationDriver: A Driver for the Fourier Collocation Approximation AdvectionDiffusionTimeDerivative: Advection-Diffusion Time DerivativeforFourierGalerkin FourierGalerkinStep: Take One Time Step of the Fourier Galerkin Method EvaluateFourierGalerkinSolution: Direct Synthesis of the Fourier GalerkinSolution FourierGalerkinDriver: A Driver for the Fourier Galerkin Approximation DirectConvolutionSum: Direct (Slow) Computation of the Convolution Sum FastConvolutionSum: Computation of the Convolution Sum withthefft CollocationStepByRK3: Low Storage Runge-Kutta Integration of a Polynomial Collocation Approximation LegendreCollocation: Drivers for Legendre Collocation Approximation 118

14 List of Algorithms xv 52 ModifiedLegendreBasis: The Legendre Basis Modified to Vanish at Endpoints EvaluateLegendreGalerkinSolution: Synthesis of the Legendre GalerkinSolution InitTMatrix: Legendre Galerkin Tridiagonal Matrix ModifiedCoefsFromLegendreCoefs: Computing the Modified Legendre Coefficients from Legendre Coefficients LegendreGalerkinStep: Take One Time Step by Trapezoidal Rule CGDerivativeMatrix: Matrix for Legendre Galerkin Approximation NodalDiscontinuousGalerkin: A Discontinuous Galerkin Class Definition NodalDiscontinuousGalerkin:Construct: Constructor for the Discontinuous Galerkin Class NodalDiscontinuousGalerkin:DGDerivative: First Spatial Derivative viathegalerkinapproximation NodalDiscontinuousGalerkin:DGTimeDerivative: Time Derivative via the Discontinuous Galerkin Approximation DGStepByRK3: Low Storage Runge-Kutta Integration of a Nodal Discontinuous Galerkin Approximation Nodal2DStorage: Storage for a Nodal Spectral Method NodalPotentialClass: A Class for the Potential Problem on the Square NodalPotentialClass:Construct: Constructor for the Chebyshev CollocationApproximationofthePotentialProblem NodalPotentialClass:LaplacianOnTheSquare: Collocation ApproximationtotheLaplaceOperator MaskSides: Set Boundary Values to Zero According to a Mask Function NodalPotentialClass:MatrixAction: Collocation Approximation tothelaplaceoperator CollocationRHSComputation: Right Hand Side Construction for Direct SolutionoftheCollocationEquations LaplaceCollocationMatrix: Matrix Construction for Direct Solution ofthecollocationapproximationforthepoissonproblem Residual: Residual for a Polynomial Collocation Approximation to the Potential Equation on the Square FDPreconditioner: A Class for a Finite Difference Preconditioner FDPreconditioner:Construct: Constructor for the Finite Difference Preconditioner on the Square FDPreconditioner:Solve: Solver for the ILU Preconditioner H ILU u = R BiCGSSTABSolve: BiCGStab Iterative Solver for Nodal Spectral Methods CollocationPotentialDriver: Driver for a Polynomial Collocation Approximation to the Potential on the Square LaplacianOnTheSquare: Nodal Galerkin Approximation to the Laplace Operator...178

15 xvi List of Algorithms 78 ApproximateFEMStencil: Computing the Approximate Finite Element Stencil on the Square SSORSweep: SSOR Sweep for the Finite Element Preconditioner PreconditionedConjugateGradientSolve: Conjugate Gradient Iterative Solver for Nodal Spectral Methods NodalAdvDiffClass: A Class for the Advection-Diffusion Problem on the Square NodalAdvDiffClass:Construct: Constructor for the Chebyshev CollocationApproximationoftheAdvection-DiffusionProblem NodalAdvDiffClass:Transport: Approximation to q Φ NodalAdvDiffClass:ExplicitRHS: Explicit Part of the BDF ApproximationoftheAdvection-DiffusionEquation NodalAdvDiffClass:MatrixAction: Matrix Action for the BDF ApproximationoftheAdvection-DiffusionEquation NodalAdvDiffClass:Residual: Iteration Residual for the BDF ApproximationoftheAdvection-DiffusionEquation MultistepIntegration: One Step of the Linear Multistep Integration oftheadvection-diffusionequation RiemannSolver: TheNumericalFluxfortheWaveEquation NodalDG2DStorage: Data Storage for a Nodal Spectral Method NodalDG2DClass: A Discontinuous Galerkin Class Definition NodalDG2D:Construct: Constructor for the Discontinuous Galerkin Class SystemDGDerivative: Compute the First Derivative via the Discontinuous Galerkin Approximation NodalDG2D:DG2DTimeDerivative: Time Derivative in 2D for the Discontinuous Galerkin Approximation WaveEquationFluxes: Flux Vectors for the Two Dimensional Wave Equation QuadMap: Mapping of the Reference Square to a Straight Sided Quadrilateral CurveInterpolant: A Curve Interpolant Class Definition CurveInterpolantProcedures: TransfiniteQuadMap: Mapping of the Reference Square to a Curve-Bounded Quadrilateral TransfiniteQuadMetrics: Computation of the Metric Terms on a Curve-Bounded Quadrilateral QuadMapMetrics: Computation of the Metric Terms on a Straight Sided Quadrilateral MappedGeometryClass: Manage Geometry and Metric Terms for Quadrilateral Domains MappedGeometry:Construct: Constructor for Geometry and Metric Terms for Quadrilateral Domains MappedNodalPotentialClass: A Class for the Potential Problem in a Mapped Domain...250

16 List of Algorithms xvii 104 MappedNodalPotentialClass:Construct: Constructor for Collocation Potential Solution on a Mapped Domain MappedNodalPotentialClass:MappedLaplacian: The Collocation Approximation to the Laplace Operator on a Mapped Domain TransposeMatrixMultiply: Matrix Transpose-Vector Multiplication Algorithm MappedNodalPotentialClass:MappedLaplacian: Nodal Galerkin Approximation to the Laplace Operator on a Mapped Domain MappedCollocationDriver: Driver for the Collocation Approximation to Steady Potential in a Non-Square Geometry PotentialOnAnnulus: Use of the FFT to Compute Potentials with One PeriodicDirection DGSolutionStorage: Storage of Interior and Boundary Solutions MappedNodalDG2DClass: A Discontinuous Galerkin Class Definition DG2DProlongToFaces: Interpolate the Solution from Gauss Points to the Boundaries MappedDG2DBoundaryFluxes: Boundary Fluxes in 2D for the Discontinuous Galerkin Approximation MappedDG2DTimeDerivative: Time Derivative in 2D for the Discontinuous Galerkin Approximation GlobalTimeDerivative: Full Time Derivative in 2D for the Discontinuous Galerkin Approximation SEM1DClass: Data Storage for the One-Dimensional Spectral Element Method SEMGlobalProcedures1D: Global Operations for the One-Dimensional Spectral Element Method SEM1DProcedures: Spatial Approximations for the One-Dimensional Spectral Element Method TrapezoidalRuleIntegration: Integration of the One-Dimensional Spectral Element Method in Time DGSEM1DClasses: Element and Mesh Definitions for the One-Dimensional Discontinuous Galerkin Spectral Element Method LocalDSEMProcedures: Local Procedures for the Discontinuous Galerkin Spectral Element Method GlobalMeshProcedures: Mesh Global Procedures for the Discontinuous Galerkin Spectral Element Approximation CornerNodeClass: Corner Node for Two-Dimensional Spectral Element Methods QuadElementClass: Quadrilateral Element Definition for Two-Dimensional Spectral Element Methods EdgeClass: Edge Definition for Two-Dimensional Spectral Element Methods QuadMesh: Mesh Definition for Two-Dimensional Spectral Element Methods...325

17 xviii List of Algorithms 127 QuadMesh:Construct: Constructor for a Two Dimensional Spectral ElementMesh SEMPotentialClass: A Class Definition for the Spectral Element ApproximationofthePotentialProblem SEMPotentialClass:Construct: Constructor for the Spectral Element ApproximationofthePotentialProblem SEMMask: Mask Edges and Corners for the Spectral Element Method SEMUnMask: UnMask for the Spectral Element Method SEMGlobalSum: Sum Edge Contributions for the Two-Dimensional Spectral Element Method SEMGlobalSum: Sum Edge Contributions for the Two-Dimensional Spectral Element Method (continued) SEMPotentialClass:MatrixAction: Matrix Action for the Spectral ElementApproximationtothePotentialEquation Residual: Residual Computation for the Spectral Element ApproximationtothePotentialEquation SetBoundaryValues: Set Dirichlet Boundary Conditions for the Two-Dimensional Spectral Element Method DGSEMClass: A Discontinuous Galerkin Class Definition EdgeFluxes: Compute the Riemann Problem Along Mesh Edges DGSEMClass:TimeDerivative: Compute the Time Derivative for the Discontinuous Galerkin Approximation AlmostEqual: Testing Equality of Two Floating Point Numbers BLAS_Level1: A Selection of Basic Linear Algebra Subroutines TriDiagonalSolve: LUFactorization: Factorization and Solve Procedures to Solve Ax = y Record: An Example Linked List Record Definition LinkedList: A Linked List Class Definition LinkedList:Procedures: SparseMatrix: A Sparse Matrix Class Definition SparseMatrix:Procedures: ConstructMeshEdges: Construct Edge Information for a Spectral ElementMesh...383

Contents. I The Basic Framework for Stationary Problems 1

Contents. I The Basic Framework for Stationary Problems 1 page v Preface xiii I The Basic Framework for Stationary Problems 1 1 Some model PDEs 3 1.1 Laplace s equation; elliptic BVPs... 3 1.1.1 Physical experiments modeled by Laplace s equation... 5 1.2 Other

More information

Journal of Engineering Research and Studies E-ISSN

Journal of Engineering Research and Studies E-ISSN Journal of Engineering Research and Studies E-ISS 0976-79 Research Article SPECTRAL SOLUTIO OF STEADY STATE CODUCTIO I ARBITRARY QUADRILATERAL DOMAIS Alavani Chitra R 1*, Joshi Pallavi A 1, S Pavitran

More information

MATLAB. Advanced Mathematics and Mechanics Applications Using. Third Edition. David Halpern University of Alabama CHAPMAN & HALL/CRC

MATLAB. Advanced Mathematics and Mechanics Applications Using. Third Edition. David Halpern University of Alabama CHAPMAN & HALL/CRC Advanced Mathematics and Mechanics Applications Using MATLAB Third Edition Howard B. Wilson University of Alabama Louis H. Turcotte Rose-Hulman Institute of Technology David Halpern University of Alabama

More information

Data-Driven Modeling. Scientific Computation J. NATHAN KUTZ OXPORD. Methods for Complex Systems & Big Data

Data-Driven Modeling. Scientific Computation J. NATHAN KUTZ OXPORD. Methods for Complex Systems & Big Data Data-Driven Modeling & Scientific Computation Methods for Complex Systems & Big Data J. NATHAN KUTZ Department ofapplied Mathematics University of Washington OXPORD UNIVERSITY PRESS Contents Prolegomenon

More information

Math 225 Scientific Computing II Outline of Lectures

Math 225 Scientific Computing II Outline of Lectures Math 225 Scientific Computing II Outline of Lectures Spring Semester 2003 I. Interpolating polynomials Lagrange formulation of interpolating polynomial Uniqueness of interpolating polynomial of degree

More information

Computational Fluid Dynamics - Incompressible Flows

Computational Fluid Dynamics - Incompressible Flows Computational Fluid Dynamics - Incompressible Flows March 25, 2008 Incompressible Flows Basis Functions Discrete Equations CFD - Incompressible Flows CFD is a Huge field Numerical Techniques for solving

More information

The Immersed Interface Method

The Immersed Interface Method The Immersed Interface Method Numerical Solutions of PDEs Involving Interfaces and Irregular Domains Zhiiin Li Kazufumi Ito North Carolina State University Raleigh, North Carolina Society for Industrial

More information

Yves Nievergelt. Wavelets Made Easy. Springer Science+Business Media, LLC

Yves Nievergelt. Wavelets Made Easy. Springer Science+Business Media, LLC Wavelets Made Easy Yves Nievergelt Wavelets Made Easy Springer Science+Business Media, LLC Yves Nievergelt Department of Mathematics Eastem Washington University Cheney, WA 99004-2431 USA Library of Congress

More information

Discontinuous Galerkin Sparse Grid method for Maxwell s equations

Discontinuous Galerkin Sparse Grid method for Maxwell s equations Discontinuous Galerkin Sparse Grid method for Maxwell s equations Student: Tianyang Wang Mentor: Dr. Lin Mu, Dr. David L.Green, Dr. Ed D Azevedo, Dr. Kwai Wong Motivation u We consider the Maxwell s equations,

More information

Partial Differential Equations

Partial Differential Equations Simulation in Computer Graphics Partial Differential Equations Matthias Teschner Computer Science Department University of Freiburg Motivation various dynamic effects and physical processes are described

More information

BASICS OF FLUID MECHANICS AND INTRODUCTION TO COMPUTATIONAL FLUID DYNAMICS

BASICS OF FLUID MECHANICS AND INTRODUCTION TO COMPUTATIONAL FLUID DYNAMICS BASICS OF FLUID MECHANICS AND INTRODUCTION TO COMPUTATIONAL FLUID DYNAMICS Numerical Methods and Algorithms Volume 3 Series Editor: Claude Brezinski Université des Sciences et Technologies de Lille, France

More information

1.2 Numerical Solutions of Flow Problems

1.2 Numerical Solutions of Flow Problems 1.2 Numerical Solutions of Flow Problems DIFFERENTIAL EQUATIONS OF MOTION FOR A SIMPLIFIED FLOW PROBLEM Continuity equation for incompressible flow: 0 Momentum (Navier-Stokes) equations for a Newtonian

More information

Discontinuous Galerkin Spectral Element Approximations for CFD

Discontinuous Galerkin Spectral Element Approximations for CFD Discontinuous Galerkin Spectral Element Approimations for CFD D.A. Kopriva Florida State Universit Tallahassee, FL 3236 G.B. Jacobs San Diego State Universit San Diego, CA 92182 September 3, 211 1 Code

More information

Introduction to Design Optimization

Introduction to Design Optimization Introduction to Design Optimization First Edition Krishnan Suresh i Dedicated to my family. They mean the world to me. ii Origins of this Text Preface Like many other textbooks, this text has evolved from

More information

MAT128A: Numerical Analysis Lecture One: Course Logistics and What is Numerical Analysis?

MAT128A: Numerical Analysis Lecture One: Course Logistics and What is Numerical Analysis? MAT128A: Numerical Analysis Lecture One: Course Logistics and What is Numerical Analysis? September 26, 2018 Lecture 1 September 26, 2018 1 / 19 Course Logistics My contact information: James Bremer Email:

More information

A Semi-Lagrangian Discontinuous Galerkin (SLDG) Conservative Transport Scheme on the Cubed-Sphere

A Semi-Lagrangian Discontinuous Galerkin (SLDG) Conservative Transport Scheme on the Cubed-Sphere A Semi-Lagrangian Discontinuous Galerkin (SLDG) Conservative Transport Scheme on the Cubed-Sphere Ram Nair Computational and Information Systems Laboratory (CISL) National Center for Atmospheric Research

More information

Digital Functions and Data Reconstruction

Digital Functions and Data Reconstruction Digital Functions and Data Reconstruction Li M. Chen Digital Functions and Data Reconstruction Digital-Discrete Methods 123 Li M. Chen University of the District of Columbia Washington, DC, USA ISBN 978-1-4614-5637-7

More information

CS 450 Numerical Analysis. Chapter 7: Interpolation

CS 450 Numerical Analysis. Chapter 7: Interpolation Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

Algorithm Collections for Digital Signal Processing Applications Using Matlab

Algorithm Collections for Digital Signal Processing Applications Using Matlab Algorithm Collections for Digital Signal Processing Applications Using Matlab Algorithm Collections for Digital Signal Processing Applications Using Matlab E.S. Gopi National Institute of Technology, Tiruchi,

More information

Mathematica for Scientists and Engineers

Mathematica for Scientists and Engineers Mathematica for Scientists and Engineers Thomas B. Bahder Addison-Wesley Publishing Company Reading, Massachusetts Menlo Park, California New York Don Mills, Ontario Wokingham, England Amsterdam Bonn Paris

More information

the Simulation of Dynamics Using Simulink

the Simulation of Dynamics Using Simulink INTRODUCTION TO the Simulation of Dynamics Using Simulink Michael A. Gray CRC Press Taylor & Francis Croup Boca Raton London New York CRC Press is an imprint of the Taylor & Francis Group an informa business

More information

High-Order Navier-Stokes Simulations using a Sparse Line-Based Discontinuous Galerkin Method

High-Order Navier-Stokes Simulations using a Sparse Line-Based Discontinuous Galerkin Method High-Order Navier-Stokes Simulations using a Sparse Line-Based Discontinuous Galerkin Method Per-Olof Persson University of California, Berkeley, Berkeley, CA 9472-384, U.S.A. We study some of the properties

More information

Gengsheng Lawrence Zeng. Medical Image Reconstruction. A Conceptual Tutorial

Gengsheng Lawrence Zeng. Medical Image Reconstruction. A Conceptual Tutorial Gengsheng Lawrence Zeng Medical Image Reconstruction A Conceptual Tutorial Gengsheng Lawrence Zeng Medical Image Reconstruction A Conceptual Tutorial With 163 Figures Author Prof. Dr. Gengsheng Lawrence

More information

INVERSE PROBLEMS IN GROUNDWATER MODELING

INVERSE PROBLEMS IN GROUNDWATER MODELING INVERSE PROBLEMS IN GROUNDWATER MODELING Theory and Applications of Transport in Porous Media Series Editor: Jacob Bear, Technion - Israel Institute of Technology, Haifa, Israel Volume 6 The titles published

More information

Traveling Wave Analysis of Partial Differential Equations

Traveling Wave Analysis of Partial Differential Equations Traveling Wave Analysis of Partial Differential Equations Traveling Wave Analysis of Partial Differential Equations Numerical and Analytical Methods with MATLAB R and Maple Graham W. Griffiths City University,

More information

BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION

BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION TODD F. DUPONT AND YINGJIE LIU Abstract. We propose a method that significantly

More information

Final Report. Discontinuous Galerkin Compressible Euler Equation Solver. May 14, Andrey Andreyev. Adviser: Dr. James Baeder

Final Report. Discontinuous Galerkin Compressible Euler Equation Solver. May 14, Andrey Andreyev. Adviser: Dr. James Baeder Final Report Discontinuous Galerkin Compressible Euler Equation Solver May 14, 2013 Andrey Andreyev Adviser: Dr. James Baeder Abstract: In this work a Discontinuous Galerkin Method is developed for compressible

More information

Modeling and Simulation in Scilab/Scicos with ScicosLab 4.4

Modeling and Simulation in Scilab/Scicos with ScicosLab 4.4 Modeling and Simulation in Scilab/Scicos with ScicosLab 4.4 Stephen L. Campbell, Jean-Philippe Chancelier and Ramine Nikoukhah Modeling and Simulation in Scilab/Scicos with ScicosLab 4.4 Second Edition

More information

Practical Linear Algebra

Practical Linear Algebra Practical Linear Algebra AGeometryToolbox Third Edition Gerald Farin Dianne Hansford CRC Press Taylor & Francis Group 6000 Broken Sound Parkway NW, Suite 300 Boca Raton, FL 33487-2742 2014 by Taylor &

More information

MODELING MIXED BOUNDARY PROBLEMS WITH THE COMPLEX VARIABLE BOUNDARY ELEMENT METHOD (CVBEM) USING MATLAB AND MATHEMATICA

MODELING MIXED BOUNDARY PROBLEMS WITH THE COMPLEX VARIABLE BOUNDARY ELEMENT METHOD (CVBEM) USING MATLAB AND MATHEMATICA A. N. Johnson et al., Int. J. Comp. Meth. and Exp. Meas., Vol. 3, No. 3 (2015) 269 278 MODELING MIXED BOUNDARY PROBLEMS WITH THE COMPLEX VARIABLE BOUNDARY ELEMENT METHOD (CVBEM) USING MATLAB AND MATHEMATICA

More information

Teaching numerical methods : a first experience. Ronojoy Adhikari The Institute of Mathematical Sciences Chennai.

Teaching numerical methods : a first experience. Ronojoy Adhikari The Institute of Mathematical Sciences Chennai. Teaching numerical methods : a first experience Ronojoy Adhikari The Institute of Mathematical Sciences Chennai. Numerical Methods : the first class 14 students, spread across second and third years of

More information

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

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 24 Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras Lecture - 24 So in today s class, we will look at quadrilateral elements; and we will

More information

Study and implementation of computational methods for Differential Equations in heterogeneous systems. Asimina Vouronikoy - Eleni Zisiou

Study and implementation of computational methods for Differential Equations in heterogeneous systems. Asimina Vouronikoy - Eleni Zisiou Study and implementation of computational methods for Differential Equations in heterogeneous systems Asimina Vouronikoy - Eleni Zisiou Outline Introduction Review of related work Cyclic Reduction Algorithm

More information

Curve and Surface Fitting with Splines. PAUL DIERCKX Professor, Computer Science Department, Katholieke Universiteit Leuven, Belgium

Curve and Surface Fitting with Splines. PAUL DIERCKX Professor, Computer Science Department, Katholieke Universiteit Leuven, Belgium Curve and Surface Fitting with Splines PAUL DIERCKX Professor, Computer Science Department, Katholieke Universiteit Leuven, Belgium CLARENDON PRESS OXFORD 1995 - Preface List of Figures List of Tables

More information

Semester Final Report

Semester Final Report CSUMS SemesterFinalReport InLaTex AnnKimball 5/20/2009 ThisreportisageneralsummaryoftheaccumulationofknowledgethatIhavegatheredthroughoutthis semester. I was able to get a birds eye view of many different

More information

Digital Signal Processing with Field Programmable Gate Arrays

Digital Signal Processing with Field Programmable Gate Arrays Uwe Meyer-Baese Digital Signal Processing with Field Programmable Gate Arrays Third Edition With 359 Figures and 98 Tables Book with CD-ROM ei Springer Contents Preface Preface to Second Edition Preface

More information

c-xsc R. Klatte U. Kulisch A. Wiethoff C. Lawo M. Rauch A C++ Class Library for Extended Scientific Computing Springer-Verlag Berlin Heidelberg GmbH

c-xsc R. Klatte U. Kulisch A. Wiethoff C. Lawo M. Rauch A C++ Class Library for Extended Scientific Computing Springer-Verlag Berlin Heidelberg GmbH R. Klatte U. Kulisch A. Wiethoff C. Lawo M. Rauch c-xsc A C++ Class Library for Extended Scientific Computing Translated by G. F. Corliss C. Lawo R. Klatte A. Wiethoff C. Wolff Springer-Verlag Berlin Heidelberg

More information

Robust Numerical Methods for Singularly Perturbed Differential Equations SPIN Springer s internal project number, if known

Robust Numerical Methods for Singularly Perturbed Differential Equations SPIN Springer s internal project number, if known Hans-Görg Roos Martin Stynes Lutz Tobiska Robust Numerical Methods for Singularly Perturbed Differential Equations SPIN Springer s internal project number, if known Convection-Diffusion-Reaction and Flow

More information

Contents. Preface xvii Acknowledgments. CHAPTER 1 Introduction to Parallel Computing 1. CHAPTER 2 Parallel Programming Platforms 11

Contents. Preface xvii Acknowledgments. CHAPTER 1 Introduction to Parallel Computing 1. CHAPTER 2 Parallel Programming Platforms 11 Preface xvii Acknowledgments xix CHAPTER 1 Introduction to Parallel Computing 1 1.1 Motivating Parallelism 2 1.1.1 The Computational Power Argument from Transistors to FLOPS 2 1.1.2 The Memory/Disk Speed

More information

Non-Linear Finite Element Methods in Solid Mechanics Attilio Frangi, Politecnico di Milano, February 3, 2017, Lesson 1

Non-Linear Finite Element Methods in Solid Mechanics Attilio Frangi, Politecnico di Milano, February 3, 2017, Lesson 1 Non-Linear Finite Element Methods in Solid Mechanics Attilio Frangi, attilio.frangi@polimi.it Politecnico di Milano, February 3, 2017, Lesson 1 1 Politecnico di Milano, February 3, 2017, Lesson 1 2 Outline

More information

Scientific Computing: Interpolation

Scientific Computing: Interpolation Scientific Computing: Interpolation Aleksandar Donev Courant Institute, NYU donev@courant.nyu.edu Course MATH-GA.243 or CSCI-GA.22, Fall 25 October 22nd, 25 A. Donev (Courant Institute) Lecture VIII /22/25

More information

Introduction to Parallel Computing

Introduction to Parallel Computing Introduction to Parallel Computing W. P. Petersen Seminar for Applied Mathematics Department of Mathematics, ETHZ, Zurich wpp@math. ethz.ch P. Arbenz Institute for Scientific Computing Department Informatik,

More information

Modeling Indoor Air Pollution

Modeling Indoor Air Pollution Modeling Indoor Air Pollution This page intentionally left blank Modeling Indoor Air Pollution Darrell W Pepper University of Nevada, Las Vegas, USA David Carrington Los Alamos National Laboratory, USA

More information

Microprocessor Thermal Analysis using the Finite Element Method

Microprocessor Thermal Analysis using the Finite Element Method Microprocessor Thermal Analysis using the Finite Element Method Bhavya Daya Massachusetts Institute of Technology Abstract The microelectronics industry is pursuing many options to sustain the performance

More information

Long time integrations of a convective PDE on the sphere by RBF collocation

Long time integrations of a convective PDE on the sphere by RBF collocation Long time integrations of a convective PDE on the sphere by RBF collocation Bengt Fornberg and Natasha Flyer University of Colorado NCAR Department of Applied Mathematics Institute for Mathematics Applied

More information

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models C. Aberle, A. Hakim, and U. Shumlak Aerospace and Astronautics University of Washington, Seattle American Physical Society

More information

Optimum Array Processing

Optimum Array Processing Optimum Array Processing Part IV of Detection, Estimation, and Modulation Theory Harry L. Van Trees WILEY- INTERSCIENCE A JOHN WILEY & SONS, INC., PUBLICATION Preface xix 1 Introduction 1 1.1 Array Processing

More information

Geometric Algebra for Computer Graphics

Geometric Algebra for Computer Graphics John Vince Geometric Algebra for Computer Graphics 4u Springer Contents Preface vii 1 Introduction 1 1.1 Aims and objectives of this book 1 1.2 Mathematics for CGI software 1 1.3 The book's structure 2

More information

A. Portela A. Charafi Finite Elements Using Maple

A. Portela A. Charafi Finite Elements Using Maple A. Portela A. Charafi Finite Elements Using Maple Springer -V erlag Berlin Heidelberg GmbH Engineering ONLINE library http://www.springer.deleng inel A. Portela A. Charafi Finite Elements Using Maple A

More information

A Toolbox of Level Set Methods

A Toolbox of Level Set Methods A Toolbox of Level Set Methods Ian Mitchell Department of Computer Science University of British Columbia http://www.cs.ubc.ca/~mitchell mitchell@cs.ubc.ca research supported by the Natural Science and

More information

A performance comparison of nodal discontinuous Galerkin methods on triangles and quadrilaterals

A performance comparison of nodal discontinuous Galerkin methods on triangles and quadrilaterals INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS Int. J. Numer. Meth. Fluids 20; 64:1336 1362 Published online 5 August 20 in Wiley Online Library (wileyonlinelibrary.com). DOI:.02/fld.2376 A performance

More information

Numerical Aspects of Special Functions

Numerical Aspects of Special Functions Numerical Aspects of Special Functions Nico M. Temme In collaboration with Amparo Gil and Javier Segura, Santander, Spain. Nico.Temme@cwi.nl Centrum voor Wiskunde en Informatica (CWI), Amsterdam Numerics

More information

Radial Basis Function-Generated Finite Differences (RBF-FD): New Opportunities for Applications in Scientific Computing

Radial Basis Function-Generated Finite Differences (RBF-FD): New Opportunities for Applications in Scientific Computing Radial Basis Function-Generated Finite Differences (RBF-FD): New Opportunities for Applications in Scientific Computing Natasha Flyer National Center for Atmospheric Research Boulder, CO Meshes vs. Mesh-free

More information

Contents. I Basics 1. Copyright by SIAM. Unauthorized reproduction of this article is prohibited.

Contents. I Basics 1. Copyright by SIAM. Unauthorized reproduction of this article is prohibited. page v Preface xiii I Basics 1 1 Optimization Models 3 1.1 Introduction... 3 1.2 Optimization: An Informal Introduction... 4 1.3 Linear Equations... 7 1.4 Linear Optimization... 10 Exercises... 12 1.5

More information

What is Multigrid? They have been extended to solve a wide variety of other problems, linear and nonlinear.

What is Multigrid? They have been extended to solve a wide variety of other problems, linear and nonlinear. AMSC 600/CMSC 760 Fall 2007 Solution of Sparse Linear Systems Multigrid, Part 1 Dianne P. O Leary c 2006, 2007 What is Multigrid? Originally, multigrid algorithms were proposed as an iterative method to

More information

Integrated Algebra 2 and Trigonometry. Quarter 1

Integrated Algebra 2 and Trigonometry. Quarter 1 Quarter 1 I: Functions: Composition I.1 (A.42) Composition of linear functions f(g(x)). f(x) + g(x). I.2 (A.42) Composition of linear and quadratic functions II: Functions: Quadratic II.1 Parabola The

More information

Solving partial differential equations using the NAG Library

Solving partial differential equations using the NAG Library Solving partial differential equations using the NAG Library 1. Introduction Jeremy Walton The Numerical Algorithms Group, Ltd. Wilkinson House, Jordan Hill Road Oxford OX2 8DR, United Kingdom A partial

More information

COMPUTATIONAL DYNAMICS

COMPUTATIONAL DYNAMICS COMPUTATIONAL DYNAMICS THIRD EDITION AHMED A. SHABANA Richard and Loan Hill Professor of Engineering University of Illinois at Chicago A John Wiley and Sons, Ltd., Publication COMPUTATIONAL DYNAMICS COMPUTATIONAL

More information

Excel Scientific and Engineering Cookbook

Excel Scientific and Engineering Cookbook Excel Scientific and Engineering Cookbook David M. Bourg O'REILLY* Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Preface xi 1. Using Excel 1 1.1 Navigating the Interface 1 1.2 Entering Data

More information

REAL-TIME DIGITAL SIGNAL PROCESSING

REAL-TIME DIGITAL SIGNAL PROCESSING REAL-TIME DIGITAL SIGNAL PROCESSING FUNDAMENTALS, IMPLEMENTATIONS AND APPLICATIONS Third Edition Sen M. Kuo Northern Illinois University, USA Bob H. Lee Ittiam Systems, Inc., USA Wenshun Tian Sonus Networks,

More information

99 International Journal of Engineering, Science and Mathematics

99 International Journal of Engineering, Science and Mathematics Journal Homepage: Applications of cubic splines in the numerical solution of polynomials Najmuddin Ahmad 1 and Khan Farah Deeba 2 Department of Mathematics Integral University Lucknow Abstract: In this

More information

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr. Mid-Year Report Discontinuous Galerkin Euler Equation Solver Friday, December 14, 2012 Andrey Andreyev Advisor: Dr. James Baeder Abstract: The focus of this effort is to produce a two dimensional inviscid,

More information

Traveling Wave Analysis of Partial Differential Equations

Traveling Wave Analysis of Partial Differential Equations Traveling Wave Analysis of Partial Differential Equations Numerical and Analytical Methods with Matlab and Maple Graham W. Griffiths and William E. Schiesser (Academic Press, ISBN: 9780123846525) Chapter

More information

Edge Detection Free Postprocessing for Pseudospectral Approximations

Edge Detection Free Postprocessing for Pseudospectral Approximations Edge Detection Free Postprocessing for Pseudospectral Approximations Scott A. Sarra March 4, 29 Abstract Pseudospectral Methods based on global polynomial approximation yield exponential accuracy when

More information

The DRM-MD integral equation method for the numerical solution of convection-diffusion

The DRM-MD integral equation method for the numerical solution of convection-diffusion The DRM-MD integral equation method for the numerical solution of convection-diffusion equation V. Popov & H. Power Wessex Institute of Technology, Ashurst Lodge, Ashurst, Abstract This work presents a

More information

1 Exercise: Heat equation in 2-D with FE

1 Exercise: Heat equation in 2-D with FE 1 Exercise: Heat equation in 2-D with FE Reading Hughes (2000, sec. 2.3-2.6 Dabrowski et al. (2008, sec. 1-3, 4.1.1, 4.1.3, 4.2.1 This FE exercise and most of the following ones are based on the MILAMIN

More information

arxiv: v1 [math.na] 26 Jun 2014

arxiv: v1 [math.na] 26 Jun 2014 for spectrally accurate wave propagation Vladimir Druskin, Alexander V. Mamonov and Mikhail Zaslavsky, Schlumberger arxiv:406.6923v [math.na] 26 Jun 204 SUMMARY We develop a method for numerical time-domain

More information

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg COMPUTER AIDED GEOMETRIC DESIGN Thomas W. Sederberg January 31, 2011 ii T. W. Sederberg iii Preface This semester is the 24 th time I have taught a course at Brigham Young University titled, Computer Aided

More information

STABILIZED FINITE ELEMENT METHODS FOR INCOMPRESSIBLE FLOWS WITH EMPHASIS ON MOVING BOUNDARIES AND INTERFACES

STABILIZED FINITE ELEMENT METHODS FOR INCOMPRESSIBLE FLOWS WITH EMPHASIS ON MOVING BOUNDARIES AND INTERFACES STABILIZED FINITE ELEMENT METHODS FOR INCOMPRESSIBLE FLOWS WITH EMPHASIS ON MOVING BOUNDARIES AND INTERFACES A THESIS SUBMITTED TO THE FACULTY OF THE GRADUATE SCHOOL OF THE UNIVERSITY OF MINNESOTA BY Marek

More information

Introduction to Multigrid and its Parallelization

Introduction to Multigrid and its Parallelization Introduction to Multigrid and its Parallelization! Thomas D. Economon Lecture 14a May 28, 2014 Announcements 2 HW 1 & 2 have been returned. Any questions? Final projects are due June 11, 5 pm. If you are

More information

Driven Cavity Example

Driven Cavity Example BMAppendixI.qxd 11/14/12 6:55 PM Page I-1 I CFD Driven Cavity Example I.1 Problem One of the classic benchmarks in CFD is the driven cavity problem. Consider steady, incompressible, viscous flow in a square

More information

CS 6210 Fall 2016 Bei Wang. Review Lecture What have we learnt in Scientific Computing?

CS 6210 Fall 2016 Bei Wang. Review Lecture What have we learnt in Scientific Computing? CS 6210 Fall 2016 Bei Wang Review Lecture What have we learnt in Scientific Computing? Let s recall the scientific computing pipeline observed phenomenon mathematical model discretization solution algorithm

More information

TABLE OF CONTENTS SECTION 2 BACKGROUND AND LITERATURE REVIEW... 3 SECTION 3 WAVE REFLECTION AND TRANSMISSION IN RODS Introduction...

TABLE OF CONTENTS SECTION 2 BACKGROUND AND LITERATURE REVIEW... 3 SECTION 3 WAVE REFLECTION AND TRANSMISSION IN RODS Introduction... TABLE OF CONTENTS SECTION 1 INTRODUCTION... 1 1.1 Introduction... 1 1.2 Objectives... 1 1.3 Report organization... 2 SECTION 2 BACKGROUND AND LITERATURE REVIEW... 3 2.1 Introduction... 3 2.2 Wave propagation

More information

Polymath 6. Overview

Polymath 6. Overview Polymath 6 Overview Main Polymath Menu LEQ: Linear Equations Solver. Enter (in matrix form) and solve a new system of simultaneous linear equations. NLE: Nonlinear Equations Solver. Enter and solve a new

More information

OpenFOAM: Open Platform for Complex Physics Simulations

OpenFOAM: Open Platform for Complex Physics Simulations OpenFOAM: Open Platform for Complex Physics Simulations Hrvoje Jasak h.jasak@wikki.co.uk, hrvoje.jasak@fsb.hr FSB, University of Zagreb, Croatia Wikki Ltd, United Kingdom 18th October 2007 OpenFOAM: Open

More information

David J. Pine. Introduction to Python for Science & Engineering

David J. Pine. Introduction to Python for Science & Engineering David J. Pine Introduction to Python for Science & Engineering To Alex Pine who introduced me to Python Contents Preface About the Author xi xv 1 Introduction 1 1.1 Introduction to Python for Science and

More information

Parallel Adaptive Tsunami Modelling with Triangular Discontinuous Galerkin Schemes

Parallel Adaptive Tsunami Modelling with Triangular Discontinuous Galerkin Schemes Parallel Adaptive Tsunami Modelling with Triangular Discontinuous Galerkin Schemes Stefan Vater 1 Kaveh Rahnema 2 Jörn Behrens 1 Michael Bader 2 1 Universität Hamburg 2014 PDES Workshop 2 TU München Partial

More information

COMPARISION OF CONTINUOUS AND DISCONTINUOUS GALERKIN FINITE ELEMENT METHODS FOR PARABOLIC PARTIAL DIFFERENTIAL EQUATIONSWITH IMPLICIT TIME STEPPING

COMPARISION OF CONTINUOUS AND DISCONTINUOUS GALERKIN FINITE ELEMENT METHODS FOR PARABOLIC PARTIAL DIFFERENTIAL EQUATIONSWITH IMPLICIT TIME STEPPING COMPARISION OF CONTINUOUS AND DISCONTINUOUS GALERKIN FINITE ELEMENT METHODS FOR PARABOLIC PARTIAL DIFFERENTIAL EQUATIONSWITH IMPLICIT TIME STEPPING by Garret Dan Vo A thesis submitted in partial fulfillment

More information

Joel H. Ferziger I Milovan Peric. Computational Methods for Fluid Dynamics

Joel H. Ferziger I Milovan Peric. Computational Methods for Fluid Dynamics Joel H. Ferziger I Milovan Peric Computational Methods for Fluid Dynamics Springer-V erlag Berlin Heidelberg GmbH Joel H. Ferziger / Milovan Peric Computational Methods for Fluid Dynamics third, rev. edition

More information

METU Mechanical Engineering Department ME 582 Finite Element Analysis in Thermofluids Spring 2018 (Dr. C. Sert) Handout 12 COMSOL 1 Tutorial 3

METU Mechanical Engineering Department ME 582 Finite Element Analysis in Thermofluids Spring 2018 (Dr. C. Sert) Handout 12 COMSOL 1 Tutorial 3 METU Mechanical Engineering Department ME 582 Finite Element Analysis in Thermofluids Spring 2018 (Dr. C. Sert) Handout 12 COMSOL 1 Tutorial 3 In this third COMSOL tutorial we ll solve Example 6 of Handout

More information

Using efficient numerical methods in large-scale air pollution modelling

Using efficient numerical methods in large-scale air pollution modelling Using efficient numerical methods in large-scale air pollution modelling ZAHARI ZLATEV National Environmental Research Institute, Frederiksborgvej 399, P. O. Box 358, DK-4000 Roskilde, DENMARK Abstract:

More information

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t An implicit WENO scheme for steady-state computation of scalar hyperbolic equations Sigal Gottlieb Mathematics Department University of Massachusetts at Dartmouth 85 Old Westport Road North Dartmouth,

More information

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP Vol. 12, Issue 1/2016, 63-68 DOI: 10.1515/cee-2016-0009 MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP Juraj MUŽÍK 1,* 1 Department of Geotechnics, Faculty of Civil Engineering, University

More information

Highly Parallel Multigrid Solvers for Multicore and Manycore Processors

Highly Parallel Multigrid Solvers for Multicore and Manycore Processors Highly Parallel Multigrid Solvers for Multicore and Manycore Processors Oleg Bessonov (B) Institute for Problems in Mechanics of the Russian Academy of Sciences, 101, Vernadsky Avenue, 119526 Moscow, Russia

More information

CS205b/CME306. Lecture 9

CS205b/CME306. Lecture 9 CS205b/CME306 Lecture 9 1 Convection Supplementary Reading: Osher and Fedkiw, Sections 3.3 and 3.5; Leveque, Sections 6.7, 8.3, 10.2, 10.4. For a reference on Newton polynomial interpolation via divided

More information

A High-Order Accurate Unstructured GMRES Solver for Poisson s Equation

A High-Order Accurate Unstructured GMRES Solver for Poisson s Equation A High-Order Accurate Unstructured GMRES Solver for Poisson s Equation Amir Nejat * and Carl Ollivier-Gooch Department of Mechanical Engineering, The University of British Columbia, BC V6T 1Z4, Canada

More information

cuibm A GPU Accelerated Immersed Boundary Method

cuibm A GPU Accelerated Immersed Boundary Method cuibm A GPU Accelerated Immersed Boundary Method S. K. Layton, A. Krishnan and L. A. Barba Corresponding author: labarba@bu.edu Department of Mechanical Engineering, Boston University, Boston, MA, 225,

More information

A. Barbarino, S. Dulla, P. Ravetto Politecnico di Torino E. H. Mund Université Libre de Bruxelles B.G. Ganapol University of Arizona

A. Barbarino, S. Dulla, P. Ravetto Politecnico di Torino E. H. Mund Université Libre de Bruxelles B.G. Ganapol University of Arizona APPLICATION OF SPECTRAL ELEMENTS FOR 1D NEUTRON TRANSPORT AND COMPARISON TO MANUFACTURED SOLUTIONS A. Barbarino, S. Dulla, P. Ravetto Politecnico di Torino E. H. Mund Université Libre de Bruxelles B.G.

More information

Modern Multidimensional Scaling

Modern Multidimensional Scaling Ingwer Borg Patrick Groenen Modern Multidimensional Scaling Theory and Applications With 116 Figures Springer Contents Preface vii I Fundamentals of MDS 1 1 The Four Purposes of Multidimensional Scaling

More information

A Structured Programming Approach to Data

A Structured Programming Approach to Data A Structured Programming Approach to Data Derek Coleman A Structured Programming Approach to Data Springer-Verlag New York Derek Coleman Department of Computation Institute of Science Technology University

More information

Skåne University Hospital Lund, Lund, Sweden 2 Deparment of Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden

Skåne University Hospital Lund, Lund, Sweden 2 Deparment of Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden Volume Tracking: A New Method for Visualization of Intracardiac Blood Flow from Three-Dimensional, Time-Resolved, Three-Component Magnetic Resonance Velocity Mapping Appendix: Theory and Numerical Implementation

More information

Preface. and Its Applications 81, ISBN , doi: / , Springer Science+Business Media New York, 2013.

Preface. and Its Applications 81, ISBN , doi: / , Springer Science+Business Media New York, 2013. Preface This book is for all those interested in using the GAMS technology for modeling and solving complex, large-scale, continuous nonlinear optimization problems or applications. Mainly, it is a continuation

More information

HiQ Analysis, Visualization, and Report Generation

HiQ Analysis, Visualization, and Report Generation Visually Organize Your Analysis Projects in an Interactive Notebook is an interactive problem-solving environment where you analyze, visualize, and document real-world science and engineering problems.

More information

Why Use the GPU? How to Exploit? New Hardware Features. Sparse Matrix Solvers on the GPU: Conjugate Gradients and Multigrid. Semiconductor trends

Why Use the GPU? How to Exploit? New Hardware Features. Sparse Matrix Solvers on the GPU: Conjugate Gradients and Multigrid. Semiconductor trends Imagine stream processor; Bill Dally, Stanford Connection Machine CM; Thinking Machines Sparse Matrix Solvers on the GPU: Conjugate Gradients and Multigrid Jeffrey Bolz Eitan Grinspun Caltech Ian Farmer

More information

Stokes eigenmodes, potential vector vorticity correlation and corner vortices in trihedral rectangular corner

Stokes eigenmodes, potential vector vorticity correlation and corner vortices in trihedral rectangular corner Stokes eigenmodes, potential vector vorticity correlation and corner vortices in trihedral rectangular corner E. Leriche & G. Labrosse Laboratoire de Mathématiques de l Université de Saint-Étienne, Faculté

More information

Image Transformation Techniques Dr. Rajeev Srivastava Dept. of Computer Engineering, ITBHU, Varanasi

Image Transformation Techniques Dr. Rajeev Srivastava Dept. of Computer Engineering, ITBHU, Varanasi Image Transformation Techniques Dr. Rajeev Srivastava Dept. of Computer Engineering, ITBHU, Varanasi 1. Introduction The choice of a particular transform in a given application depends on the amount of

More information

COMPUTING FOR NUMERICAL METHODS USING VISUAL C++

COMPUTING FOR NUMERICAL METHODS USING VISUAL C++ COMPUTING FOR NUMERICAL METHODS USING VISUAL C++ COMPUTING FOR NUMERICAL METHODS USING VISUAL C++ Shaharuddin Salleh Universiti Teknologi Malaysia Skudai, Johor, Malaysia Albert Y. Zomaya University of

More information

FAST ALGORITHMS FOR CALCULATIONS OF VISCOUS INCOMPRESSIBLE FLOWS USING THE ARTIFICIAL COMPRESSIBILITY METHOD

FAST ALGORITHMS FOR CALCULATIONS OF VISCOUS INCOMPRESSIBLE FLOWS USING THE ARTIFICIAL COMPRESSIBILITY METHOD TASK QUARTERLY 12 No 3, 273 287 FAST ALGORITHMS FOR CALCULATIONS OF VISCOUS INCOMPRESSIBLE FLOWS USING THE ARTIFICIAL COMPRESSIBILITY METHOD ZBIGNIEW KOSMA Institute of Applied Mechanics, Technical University

More information

Index. C m (Ω), 141 L 2 (Ω) space, 143 p-th order, 17

Index. C m (Ω), 141 L 2 (Ω) space, 143 p-th order, 17 Bibliography [1] J. Adams, P. Swarztrauber, and R. Sweet. Fishpack: Efficient Fortran subprograms for the solution of separable elliptic partial differential equations. http://www.netlib.org/fishpack/.

More information

PROBLEM SOLVING WITH FORTRAN 90

PROBLEM SOLVING WITH FORTRAN 90 David R. Brooks PROBLEM SOLVING WITH FORTRAN 90 FOR SCIENTISTS AND ENGINEERS Springer Contents Preface v 1.1 Overview for Instructors v 1.1.1 The Case for Fortran 90 vi 1.1.2 Structure of the Text vii

More information