Dual Reciprocity Boundary Element Method for Magma Ocean Simulations

Similar documents
Dual Reciprocity Method for studying thermal flows related to Magma Oceans

16. Solution of elliptic partial differential equation

SPARSE SOLVERS POISSON EQUATION. Margreet Nool. November 9, 2015 FOR THE. CWI, Multiscale Dynamics

University of Hertfordshire Department of Mathematics. Study on the Dual Reciprocity Boundary Element Method

Discretization of PDEs and Tools for the Parallel Solution of the Resulting Systems

On the use of multipole methods for domain integration in the BEM

Weak form of Boundary Value Problems. Simulation Methods in Acoustics

The dual reciprocity boundary element method for. two-dimensional Burgers equations using MATLAB.

Partial Differential Equations

Problem Set 4 Issued: Wednesday, March 18, 2015 Due: Wednesday, April 8, 2015

Study of Forced and Free convection in Lid driven cavity problem

The Embedded Boundary Integral Method (EBI) for the Incompressible Navier-Stokes equations

Poisson Solvers. William McLean. April 21, Return to Math3301/Math5315 Common Material.

An adaptive fast multipole boundary element method for the Helmholtz equation

A Fast, Parallel Potential Flow Solver

Iterative schemes for the solution of systems of equations arising from the DRM in multidomains

1 Comparison of Kansa s method versus Method of Fundamental Solution (MFS) and Dual Reciprocity Method of Fundamental Solution (MFS- DRM)

Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS

A new meshless method for steady-state heat conduction problems in anisotropic and inhomogeneous media

Scientific Computing I

Lecture 8: Boundary Integral Equations

1 Finite difference example: 1D implicit heat equation

FREE BOUNDARY PROBLEMS IN FLUID MECHANICS

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

National Taiwan University

Tutorials for Thermal Convection. Shijie Zhong Department of Physics University of Colorado Boulder, CO

MATH 333: Partial Differential Equations

Generalized Finite Element Methods for Three Dimensional Structural Mechanics Problems. C. A. Duarte. I. Babuška and J. T. Oden

The Method of Fundamental Solutions with Eigenfunction Expansion Method for Nonhomogeneous Diffusion Equation

Automatic optimization of the cooling of injection mold based on the boundary element method

Kasetsart University Workshop. Multigrid methods: An introduction

Dynamics of Lunar mantle evolution: exploring the role of compositional buoyancy

The use of exact values at quadrature points in the boundary element method

Fluid-Structure Interaction Problems using SU2 and External Finite-Element Solvers

LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES)

Logo. A Massively-Parallel Multicore Acceleration of a Point Contact Solid Mechanics Simulation DRAFT

Transient 3D Heat Conduction in Functionally. Graded Materials by the Method of Fundamental. Solutions

Two-Dimensional Unsteady Flow in a Lid Driven Cavity with Constant Density and Viscosity ME 412 Project 5

Compact Local Stencils Employed With Integrated RBFs For Fourth-Order Differential Problems

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Numerical Solutions to Partial Differential Equations

Chapter 2. General concepts. 2.1 The Navier-Stokes equations

Project #1 Internal flow with thermal convection

Numerically Solving Partial Differential Equations

8 A pseudo-spectral solution to the Stokes Problem

Tutorial for the heated pipe with constant fluid properties in STAR-CCM+

SOLVING INHOMOGENEOUS PROBLEMS BY SINGULAR BOUNDARY METHOD

PDEs, part 1: Introduction and elliptic PDEs

Lecture 2: The Fast Multipole Method

Turbulent drag reduction by streamwise traveling waves

ES265 Order of Magnitude Phys & Chem Convection

A Simple Compact Fourth-Order Poisson Solver on Polar Geometry

Computational Modeling of Volcanism on Earth-like

ELEMENTARY APPLICATIONS OF FOURIER ANALYSIS

Linear Algebra. PHY 604: Computational Methods in Physics and Astrophysics II

AE/ME 339. K. M. Isaac. 9/22/2005 Topic 6 FluidFlowEquations_Introduction. Computational Fluid Dynamics (AE/ME 339) MAEEM Dept.

Stress in Flip-Chip Solder Bumps due to Package Warpage -- Matt Pharr

Recent developments in the dual receiprocity method using compactly supported radial basis functions

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of,

PDE Solvers for Fluid Flow

New Developments of Frequency Domain Acoustic Methods in LS-DYNA

FDM for parabolic equations

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING CAMBRIDGE, MASSACHUSETTS NUMERICAL FLUID MECHANICS FALL 2011

Coupled core-mantle thermal evolution of early Mars

AProofoftheStabilityoftheSpectral Difference Method For All Orders of Accuracy

Tutorial for the supercritical pressure pipe with STAR-CCM+

meters, we can re-arrange this expression to give

1 Introduction. J.-L. GUERMOND and L. QUARTAPELLE 1 On incremental projection methods

LibMesh Experience and Usage

Matrix Eigensystem Tutorial For Parallel Computation

Entropy and Relative Entropy

Lecture on: Numerical sparse linear algebra and interpolation spaces. June 3, 2014

Boundary knot method: A meshless, exponential convergence, integration-free, Abstract

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

LibMesh Experience and Usage

Short title: Total FETI. Corresponding author: Zdenek Dostal, VŠB-Technical University of Ostrava, 17 listopadu 15, CZ Ostrava, Czech Republic

Numerical Modelling in Fortran: day 10. Paul Tackley, 2016

Fast Numerical Methods for Stochastic Computations

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

Marching on the BL equations

ρ Du i Dt = p x i together with the continuity equation = 0, x i

Natural Convection in Parabolic Enclosure Heated from Below

Numerical Methods of Applied Mathematics -- II Spring 2009

The Moon: Internal Structure & Magma Ocean

Assignment on iterative solution methods and preconditioning

PARTIAL DIFFERENTIAL EQUATIONS. Lecturer: D.M.A. Stuart MT 2007

Elements of Matlab and Simulink Lecture 7

Basic concepts in viscous flow

A Meshless Method for the Laplace and Biharmonic Equations Subjected to Noisy Boundary Data

Solving PDEs with freefem++

A Study on Numerical Solution to the Incompressible Navier-Stokes Equation

Improved near-wall accuracy for solutions of the Helmholtz equation using the boundary element method

OPEN CHANNEL FLOW. Computer Applications. Numerical Methods and. Roland Jeppson. CRC Press UNIVERSITATSB'BUOTHEK TECHNISCHE. INFORMATlONSBiBUOTHEK

Transactions on Modelling and Simulation vol 8, 1994 WIT Press, ISSN X

Finite Difference Methods for Boundary Value Problems

Solving the 3D Laplace Equation by Meshless Collocation via Harmonic Kernels

FEM Convergence for PDEs with Point Sources in 2-D and 3-D

The method of lines (MOL) for the diffusion equation

1 One-Dimensional, Steady-State Conduction

THE CONVECTION DIFFUSION EQUATION

Transcription:

Dual Reciprocity Boundary Element Method for Magma Ocean Simulations Tyler W. Drombosky drombosk@math.umd.edu Saswata Hier-Majumder saswata@umd.edu 28 April 2010

Physical Motivation Earth s early history is marked by a giant impact with a Mars-sized object This led to a substantial amount of interior melting followed by rapid crystallization of this magma ocean How this crystallization took place and crystals settled provide insight into the planet s rate of cooling

Abstract Understanding how crystals settle in a magma ocean is critical for answering questions about Earth s early history Experiments have been performed that have given insight into this behavior The ability to simulate this behavior numerically is not available Over the course of AMSC663 and AMSC664, a numerical solver based on the Dual Reciprocity Method has been built to address this problem

Table of Contents 1. Brief review of the Dual Reciprocity Method 2. Restatement and evaluation of original goals 3. Summary of where the project is now and where it will go in the future

Table of Contents 1. Brief review of the Dual Reciprocity Method 2. Restatement and evaluation of original goals 3. Summary of where the project is now and where it will go in the future

Table of Contents 1. Brief review of the Dual Reciprocity Method 2. Restatement and evaluation of original goals 3. Summary of where the project is now and where it will go in the future

Dual Reciprocity Method The Dual Reciprocity Method solves partial differential equations in the form: u = ˆb in Ω (1) with Dirichlet, Neumann, or mixed boundary conditions The source term, ˆb is potentially non-linear in u In DRM, ˆb is referred to as the residual term

Approximation of the Residual Term Approximate the residual term, by a linear combination of basis functions ˆf k ˆb = β k ˆfk (2) where k ˆf k = 1 + r k r k = x x k (3) With this basis function we can find û k such that û k = ˆf k thus û k = r2 4 r3 9 (4)

Some Notation Denote the flux density as: q = ν u (5) where ν is the outward facing normal vector Define the fundamental solution u i to the Poisson in R2 : u i = δ(x x i ) so u i = 1 2π ln(r i) (6)

Integration by Parts: LHS After multiplying the general DRM PDE by the fundamental solution and integrating over the domain, use integration by parts twice: uu i = qu i + u u i (7) Ω Γ Γ = qu i + uqi u i u (8) Γ Ω = uqi qu i + c(x i )u(x i ) (9) Γ c(x i ) is an function that indicates what fraction of the singularity is in the domain

Integration by Parts: RHS Recalling the approximation of the residual term, apply a similar procedure to the RHS: ˆbu i = β k ˆf k u i (10) Ω k Ω = β k û k u i (11) k Ω = [ ] β k û k qi ˆq k u i + c(x i )û k (x i ) (12) k Γ

Dual Reciprocity Integral Equation Combining the LHS and RHS: uqi qu i + c(x i )u(x i ) = [ β k Γ k Γ ] û k qi ˆq k u i + c(x i )û k (x i ) (13) Using the method of collocation to distribute nodes on the boundary and cubic spline interpolation to interpolate between boundary nodes, the discretized equation becomes: Hu + Gq = (HÛ + G ˆQ)β (14)

Goals of Project 1. Integrate existing code used to solve the Stokes equation and Poisson equation: P + µ v + ρ b = 0 and u = b (15) where b is harmonic 2. Use DRM to solve the Poisson equation for general ˆb = b 3. Use DRM to solve the heat equation t + v u u = b where ˆb = b v u(16) t

Goals of Project 1. Integrate existing code used to solve the Stokes equation and Poisson equation: P + µ v + ρ b = 0 and u = b (15) where b is harmonic 2. Use DRM to solve the Poisson equation for general ˆb = b 3. Use DRM to solve the heat equation t + v u u = b where ˆb = b v u(16) t

Goals of Project 1. Integrate existing code used to solve the Stokes equation and Poisson equation: P + µ v + ρ b = 0 and u = b (15) where b is harmonic 2. Use DRM to solve the Poisson equation for general ˆb = b 3. Use DRM to solve the heat equation t + v u u = b where ˆb = b v u(16) t

Goal 1: Integrate Solvers with Data Structures Used to transfer information between solvers Very lean, contains only essential data Built to inspire code structure

Goal 1: Integrate Solvers with Subroutines Each code had different subroutines for the same task Some functions appear hard coded multiple times Required different inputs Returned incompatible outputs Unified assembly routines Matrices for the Stokes and heat equations are built in a similar manner Learn one code, learn them both Replaced custom and Numerical Recipes methods with those found in LAPack and BLAS

Goal 2: Use DRM to Solve Poisson Equation Used to validate assembly of DRM matrices Spacial error was measured and analyzed 0 Relative L Error for 50 interior nodes 0.5 Relative log 10 L Error 1 1.5 2 2.5 3 3.5 0 20 40 60 80 100 120 140 160 180 200 N: Number of Boundary Nodes

Goal 2: Use DRM to Solve Poisson Equation Noticed Error bounce back" Error decreases quadratically as number of nodes increased Error then increases once a certain number of nodes is used Investigated potential causes Recall β = ˆF 1 b As N increases, κ( ˆF ) increases leading to inaccurate β Solutions Switch to double precision Use different basis functions

Goal 2: Use DRM to Solve Poisson Equation Noticed Error bounce back" Error decreases quadratically as number of nodes increased Error then increases once a certain number of nodes is used Investigated potential causes Recall β = ˆF 1 b As N increases, κ( ˆF ) increases leading to inaccurate β Solutions Switch to double precision Use different basis functions

Goal 2: Use DRM to Solve Poisson Equation

Goal 3: Use DRM to Solve Heat Equation Recall the DRM matrix equation where ˆb = b tu v u We want to discretize v u Hu + Gq = (HÛ + G ˆQ) ˆF 1ˆb (17) Davis et al. showed the approximation x U = ˆF x ˆF 1 U are valid and y U = ˆF y ˆF 1 U (18)

Goal 3: Use DRM to Solve Heat Equation The DRM matrix equation for the heat equation becomes 1 Hu + Gq = (HÛ + G ˆQ) ˆF b ˆF U Vx t x ˆF 1 U V y ˆF! y ˆF 1 U (19) Notice that the linear system is a first order ordinary differential equation with variable t and unknown U Use Crank-Nicolson method to time step

Goal 3: Use DRM to Solve Heat Equation Used to validate time stepping method Time stepping error was measured and analyzed Error Plot coming soon

Goal 3: Use DRM to Solve Heat Equation Single particle movie: Still trying to figure out the technicalities of getting this in the slides

Goal 3: Use DRM to Solve Heat Equation Multiparticle movie

Implementation Details Rewrote code to handle singular integrals Generalized for use in Stokes and heat solvers Optimized and debugged Implemented OpenMP Matrix Assembly explicitly parallelized Used the Intel Math Kernel Library for LAPack and BLAS which is parallelized with -openmp compile time flag Wrote domain back solver Once boundary values are computed, domain values can be quickly back calculated Separate program that shares many of the same libraries Provided detailed comments on code using Doxygen

Future Work Stokes solver currently not running Separate modifications being one on the solver Waiting until all modification to be complete before adding it solver No Fast Multipole Method Makes the DRM linear systems sparse Greatly increases code performance if systems are large Current matrices from two dimensional problems are small Basis functions Investigate using other basis functions Functions with compact support For whole space problems, basis functions should match asymptotically match the solution

Schedule Phase I (present - early November) Merge Stokes flow and Poisson solver code " Phase II (November - December) Test and validate steady-state code " Optimize code " Phase III (December - early February) Add Dual Reciprocity code " Add Fast Multipole Method code (optional) Phase IV (February - March) Test and validate Dual Reciprocity code " Optimize code Interface with Intel Math Kernel Library " Parallel implementation with OpenMP "

D. Nardini and C. A. Brebbia, A new approach to free vibration analysis using boundary elements", Boundary Element Methods in Engineering, Volume 7, Issue 3, 1983, Pages157-162 D. Nardini and C. A. Brebbia, Transient dynamic analysis by the boundary element method", Boundary Elements, 1983, Pages 719-730 D. Nardini and C. A. Brebbia, Boundary integral formulation of mass matrices for dunamic analysis", Topics in Boundary Element Research, Volume 2: Time-Dependent and Vibration Problems, 1985, Pages 191-208 D. Martin and R. Nokes. A Fluid-Dynamical Study of Crystal Settling in Convecting Magmas", Journal of Petrology, Volume 30, Issue 6, 1989, Pages 1471-1500 C. Pozrikidis, Boundary integral and singularity methods for linearized viscous flow, Cambridge University Text, New York, NY, 1992 G. Leal, Laminar Flow and Convective Transport Processes, Butterworth-Heinemann, 1992 M. Manga and H. A. Stone, Buoyancy-driven interactions between two deformable viscous drops", Journal of Fluid Mechanics, Volume 256, 1993, Pages 647-683 V. Solomatov and D. Stevenson, Suspension in Convective Layers and Style of Differentiation of a Terrestrial Magma Ocean", Journal of Geophysical Research, Volume 98, Issue E3, 1993, Pages 5375-5390 V. Solomatov and D. Stevenson, Nonfractional Crystallization of a Terrestrial Magma Ocean", Journal of Geophysical Research, Volume 98, Issue E3, 1993, Pages 5391-5406

V. Solomatov and D. Stevenson, Kinetics of Crystal Growth in Terrestrial Magma Ocean", Journal of Geophysical Research, Volume 98, Issue E3, 1993, Pages 5407-5418 J. P. Agnantiaris, D. Polyzos, D. E. Beskos, Three-dimensional structural vibration analysis by the Bual Reciprocity BEM", Computational Mechanics, Volume 21, Issue 4-5, 1998, Pages 372-381 M. A. Golberg, C. S. Chen, H. Bowman and H. Power, Some comments on the use of Radial Basis Functions in the Dual Reciprocity Method", Computational Mechanics, Volume 21, Issue 2, 1998, Pages 141-148 R. M. Canup and E. Asphaug, Origin of the Moon in a giant impact near the end of the Earths formation", Nature, Volume 412, 2001, Pages 708-712 L. T. Elkins-Tanton, E. M. Parmentier, and P. C. Hess, Magma ocean fractional crystallization and cumulate overturn in terrestrial planets: Implications for Mars", Meteoritics & Planetary Science, Volume 38, Issue 12, 2003, Pages 1753-1771 L. Gaul, M. Kögl, M. Wagner, Boundary Element Methods for Engineers and Scientists, Springer, Berlin, 2003 Y. J. Liu and N. Nishimura, The fast multipole boundary element method for potential problems: A tutorial", Engineering Analysis with Boundary Elements, Volume 30, Issue 5, May 2006, Pages 371-381 Xiao-Wei Gao, Numerical evaluation of two-dimensional singular boundary integrals-theory and Fortran code", Journal of Computational and Applied Mathematics, Volume 188, Issue 1, 2006, Pages 44-64 V. Solomatov, Magma Oceans and Primordial Mantle Differentiation", Treatise on Geophysics, Volume 9, 2007, Pages 91-120

Questions? Multiparticle movie here