Journal of Engineering Research and Studies E-ISSN

Similar documents
Contents. I The Basic Framework for Stationary Problems 1

1.2 Numerical Solutions of Flow Problems

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

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

A New Smoothing Algorithm for Quadrilateral and Hexahedral Meshes

Semester Final Report

CHAPTER 1. Introduction

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

Lecture 3.2 Methods for Structured Mesh Generation

Real-Time Shape Editing using Radial Basis Functions

A numerical grid and grid less (Mesh less) techniques for the solution of 2D Laplace equation

The Finite Element Method

Numerical Methods for PDEs : Video 11: 1D FiniteFebruary Difference 15, Mappings Theory / 15

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

Spectral Analysis for Fourth Order Problem Using Three Different Basis Functions

New Basis Functions and Their Applications to PDEs

Parameterization. Michael S. Floater. November 10, 2011

Investigation of a Robust Method for Connecting Dissimilar 3D Finite Element Models. David M. Trujillo 1. December 2005

Finite Element Convergence for Time-Dependent PDEs with a Point Source in COMSOL 4.2

(Sparse) Linear Solvers

Fully discrete Finite Element Approximations of Semilinear Parabolic Equations in a Nonconvex Polygon

Microprocessor Thermal Analysis using the Finite Element Method

Finite Element Implementation

1 Exercise: Heat equation in 2-D with FE

Edge Detection Free Postprocessing for Pseudospectral Approximations

Parallel Implementations of Gaussian Elimination

An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (2000/2001)

Implementing Spectral Methods for Partial Differential Equations

A Toolbox of Level Set Methods

Modeling Ground Water Problems Using the Complex Polynomial Method

On a nested refinement of anisotropic tetrahedral grids under Hessian metrics

EFFICIENT SOLVER FOR LINEAR ALGEBRAIC EQUATIONS ON PARALLEL ARCHITECTURE USING MPI

Modeling Skills Thermal Analysis J.E. Akin, Rice University

Introduction to Multigrid and its Parallelization

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

Control Volume Finite Difference On Adaptive Meshes

The Immersed Interface Method

C. A. D. Fraga Filho 1,2, D. F. Pezzin 1 & J. T. A. Chacaltana 1. Abstract

Lecture 3.4 Differential Equation Based Schemes

Collocation and optimization initialization

SELECTIVE ALGEBRAIC MULTIGRID IN FOAM-EXTEND

A Random Variable Shape Parameter Strategy for Radial Basis Function Approximation Methods

2D & 3D Finite Element Method Packages of CEMTool for Engineering PDE Problems

2 T. x + 2 T. , T( x, y = 0) = T 1

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

Numerical Methods to Solve 2-D and 3-D Elliptic Partial Differential Equations Using Matlab on the Cluster maya

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

AMS527: Numerical Analysis II

Adaptive numerical methods

Image Compression with Singular Value Decomposition & Correlation: a Graphical Analysis

1 Exercise: 1-D heat conduction with finite elements

Studies of the Continuous and Discrete Adjoint Approaches to Viscous Automatic Aerodynamic Shape Optimization

Comparisons of Compressible and Incompressible Solvers: Flat Plate Boundary Layer and NACA airfoils

Partial Differential Equations

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

Solution of 2D Euler Equations and Application to Airfoil Design

Finite element solution of multi-scale transport problems using the least squares based bubble function enrichment

THE DEVELOPMENT OF THE POTENTIAL AND ACADMIC PROGRAMMES OF WROCLAW UNIVERISTY OF TECH- NOLOGY ITERATIVE LINEAR SOLVERS

Boundary Element Method Open Source Software in Excel VBA

Introduction to C omputational F luid Dynamics. D. Murrin

(Sparse) Linear Solvers

Lab - Introduction to Finite Element Methods and MATLAB s PDEtoolbox

LECTURE 13: SOLUTION METHODS FOR CONSTRAINED OPTIMIZATION. 1. Primal approach 2. Penalty and barrier methods 3. Dual approach 4. Primal-dual approach

MULTIVARIATE TEXTURE DISCRIMINATION USING A PRINCIPAL GEODESIC CLASSIFIER

Solving partial differential equations using the NAG Library

ASSESSMENT OF COMPLEX VARIABLE BASIS FUNCTIONS IN THE APPROXIMATION OF IDEAL FLUID FLOW PROBLEMS

RESOLVING SHOCKS IN PARTIAL DIFFERENTIAL EQUATIONS THROUGHMESHADAPTATION

Efficient O(N log N) algorithms for scattered data interpolation

Department of Computing and Software

Boundary Element Method Open Source Software in Excel VBA

Assignment 4: Mesh Parametrization

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

Boundary Element Method Open Source Software in Excel VBA

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

Instruction Manual: Relaxation Algorithm

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Performance Evaluation of a New Parallel Preconditioner

Finite element algorithm with adaptive quadtree-octree mesh refinement

APPLICATION OF ALGORITHMS FOR AUTOMATIC GENERATION OF HEXAHEDRAL FINITE ELEMENT MESHES

HYPERDRIVE IMPLEMENTATION AND ANALYSIS OF A PARALLEL, CONJUGATE GRADIENT LINEAR SOLVER PROF. BRYANT PROF. KAYVON 15618: PARALLEL COMPUTER ARCHITECTURE

Contents. Implementing the QR factorization The algebraic eigenvalue problem. Applied Linear Algebra in Geoscience Using MATLAB

Finite Element Method. Chapter 7. Practical considerations in FEM modeling

Pressure Correction Scheme for Incompressible Fluid Flow

Introduction to Computational Mathematics

Parameterization of triangular meshes

Accelerating Finite Element Analysis in MATLAB with Parallel Computing

A meshfree weak-strong form method

Techniques for Using the Method of Manufactured Solutions for Verification and Uncertainty Quantification of CFD Simulations Having Discontinuities

A spectral boundary element method

High Order Nédélec Elements with local complete sequence properties

A SEMI-ANALYTIC SPECTRAL METHOD FOR ELLIPTIC PARTIAL DIFFERENTIAL EQUATIONS

Multi-Mesh CFD. Chris Roy Chip Jackson (1 st year PhD student) Aerospace and Ocean Engineering Department Virginia Tech

Puffin User Manual. March 1, Johan Hoffman and Anders Logg.

A NEW MIXED PRECONDITIONING METHOD BASED ON THE CLUSTERED ELEMENT -BY -ELEMENT PRECONDITIONERS

Modeling and Analysis of the Electric Field and Potential Distribution in a Wire-Cylinder Air Gap

arxiv: v1 [math.na] 20 Sep 2016

ADAPTIVE APPROACH IN NONLINEAR CURVE DESIGN PROBLEM. Simo Virtanen Rakenteiden Mekaniikka, Vol. 30 Nro 1, 1997, s

LAB 4: Introduction to MATLAB PDE Toolbox and SolidWorks Simulation

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

Uppsala University Department of Information technology. Hands-on 1: Ill-conditioning = x 2

Transcription:

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 2, Bedekar Smita S 1 Address for Correspondence 1 Interdisciplinary School of Scientific Computing, University of Pune, Pune 11007 2 Department of Mechanical Engineering,Vishwakarma Institute of Technology, Pune 11037 E Mail chitra.alavani@gmail.com ABSTRACT The Chebyshev spectral method is applied to steady state conduction problems with source terms. Arbitrary quadrilateral domains are considered. Both curved and straight boundaries are looked into. The Chebyshev derivative matrix is obtained in the physical space and utilised in obtaining the solution using the collocation method. The algorithm is tested for quadrilaterals with straight as well as curved boundaries. A general algorithm is also presented for an arbitrary curved quadrilateral. It can be seen that the algorithm yields spectral accuracy in all cases. In most cases, eight Chebyshev modes in each direction is sufficient to yield a high accuracy. The method is proposed with the idea of extending it to the equations of fluid flow. KEYWORDS: Chebyshev collocation, conduction, curved quadrilaterals. 1. ITRODUCTIO Spectral methods belong to the general class of weighted residual methods [2,3,]. Being global, the method is highly accurate. Spectral methods are in general computationally intensive as they result in dense matrices. The main advantage of the standard spectral methods relies on the exponential convergence property. The main drawback is their inability to handle complex geometries. Although there have been attempts to use the spectral method in irregular domains [10], these approaches usually involve either incorporating finite-element preconditioning or using the spectral element method. Heinrich in his work on spectral collocation method on a unit disc [6], mapped the unit square directly onto the unit disc by means of interpolation techniques avoiding the singularity of polar coordinates. To apply spectral methods on a complex geometry, one needs to divide the domain into triangular (tetrahedral in 3D) or quadrilateral elements. Results are available for spectral methods on triangular domains [5, 7]. Alfonso et al [1] have proposed a numerical method to approximate the solution of partial differential equations in irregular domains with no-flux boundary conditions. The main advantage of the method is its capability to deal with domains of arbitrary shape and its easy implementation through FFT routines. Kong and Wu [9] have implemented a Chebyshev tau method for irregular domains by embedding it in a larger regular one. The important aspect of the present work is that the Chebyshev collocation method is applied in the physical space and derivatives are determined in the same. The governing equation is solved in the actual domain and is not transformed. Thus, the algorithm is more general in the sense that any elliptic system can be solved, as the derivative matrices are only domain dependant. The paper is organized as follows. In the next section, the algorithm for the solving conduction equation is discussed. These are linear elliptic partial differential equations (PDE) with Dirichlet boundary condition on quadrilateral domains. umerical results and their discussion are presented in Section 3. The conclusions are presented in Section. 2. ALGORITHM An arbitrary quadrilateral in the domain is considered. In order to solve the problem of conduction, the standard Chebyshev (collocation) derivative matrices and have to be obtained. An one-one mapping is defined between the quadrilateral in and a square points in in the Gauss-Lobotto points in plane. This yields and. The collocation get mapped to the Chebyshev. The gradient and the mapping are elobarated in the subsequent subsections. 2.1 mapping In order to determine the gradient, one needs the mapping function as,.

Journal of Engineering Research and Studies E-ISS 0976-79 Figure (1), shows the mapping from domain to domain. In order to determine the gradient, one needs the mapping function as,. The mapping for straight sided and curved quadrilaterals is presented in the following sections. 2.1.1 Straight sided quadrilateral For quadrilaterals with straight sides, the mapping as outlined by [11] can be written as The derivatives and are obtained from the Chebyshev collocation derivative matrix (cf. [3]). The partial derivatives such as are expressed as (6) where J is the determinant of the Jacobian matrix of with respect to defined as (1) (7) where Here are the vertices of the quadrilateral. (2) 2.1.2 quadrilateral with curved sides For an arbitrary quadrilateral, collocation points on the boundary of the domain are obtained. This is done using the arc length. The mapping is obtained by solving the Laplacian equation for by and, given (3) The Jacobian is obtained directly from the mapping function. Thus, the differentiation matrices and are formed. The second order derivative matrices and are obtained by matrix multiplication. The elliptic (linear) PDE is then reduced to a linear algebraic system []. The matrix is dense and ill conditioned. Hence, iterative methods such as conjugate gradient are not suitable. A direct method such as LU decomposition is used to solve the linear system. 3. RESULTS AD DISCUSSIO The results for conduction with source terms in quadrilaterals with straight and curved sides are presented. The mapping is defined initially. The results are compared against the analytical (exact) solution. The boundary conditions are prescribed according to the exact solution. The norm is defined as error () With the boundary values of and corresponding to the boundary conditions. 2.2 gradient calculation and solution methodology The gradient is defined as (5) Where is the spectral solution, the exact one and is the number of Chebyshev modes in directions. The number of modes is taken to be the same for both. 3.1 mapping for quadrilateral with straight sides Consider a quadrilateral element with four nodes numbered and in an anti-clockwise direction, as shown in Figure (1).

Journal of Engineering Research and Studies E-ISS 0976-79 The conduction equation with source terms is written as is solved with vertices at (1, 1), (5, 2), (, ) and (2, ). The exact solution is given by The results of the (9). (10), for different is presented in the Table of Figure (2). From that, it can be seen that convergence is obtained for. The equation (11) is solved with vertices at (0, 3), (3, 0), (0, 2) and ( 2, 0). The exact solution is given by The results of the () for different is presented in the Table of Figure (3). It can be observed that convergence is obtained for =. The reason for spectral convergence being obtained at a higher, compared to the previous case, is that the exact solution being an exponential one needs more terms of Chebyshev series for convergence. The asymptotic slope of the error versus curve on the log-log scale for equation (9) is -26 and for equation (11) is -25, indicating spectral accuracy. Figure 1: Mapping from natural to physical coordinate systems. 0.13 0.05 0.0002 9.117e-007 5.191e-015 Figure 2: for different order of on quadrilateral with points (1, 1), (5, 2), (, ) and (2, )

Journal of Engineering Research and Studies E-ISS 0976-79 36.0372 2.1031 0.0256 0.0192 3.0336e-0 Figure 3: for different order of on quadrilateral with points (0, 3), (3, 0), (0, 2) and ( 2, 0) 3.2 Quadrilateral with curved sides This section discusses results of PDEs solved on quadrilaterals with curved boundaries shown in Figure (). The mapping can be defined trivially as 3.3 arbitrary curved quadrilateral Here we will discuss the results of conduction equation solved on arbitrary curved domain bounded by four different curves as shown in Figure (5). The equation of the curve between point A and B is For equation 9, the results for different are presented in Table 1. As can be seen in that, one can say that convergence is obtained for. For equation (11), the error norm results for different is presented in Table 2. As can be seen in Table 2, it can be seen that convergence is obtained for. The asymptotic slope of the error versus curve on the log-log scale for equations (9) and (11) is -21, indicating spectral accuracy. Table 1: Variation of (for equation 9) with 0.011 5.636e-005 1.1953e-00 1.220e-011 9.1953e-015 Table 2: Variation of (for equation 11) with 1.915e-00 2.393e-007 1.193e-010 5.79e-01 5.27e-015 that between point B and C is between point C and D is and between point D and A is Collocation points on the boundary of the domain are obtained using the arc lengths of each curve. Then solving the Laplacian one gets all the collocation points in the interior of (x, y) domain. The mesh generated by using the mapping for curved quadrilaterals is given in Figure (6). The error norm results for equation (9) are given in Table 3. As one can observe, spectral convergence is obtained for. The results are presented for Equation 11. The variation of error norm for different is presented in Table. As can be seen in Table, one can say that convergence is obtained for. The asymptotic slope of the error versus curve on the log-log scale for equation (9) is -6 and for equation (11) is -5. This implies a high order accuracy, lower than the spectral one obtained in previous cases. This may be due to the mapping functions used and hence needs further investigation.

Journal of Engineering Research and Studies E-ISS 0976-79 Figure : Domain bounded by exponential curve and Figure 5: Domain bounded by four different curves Figure 6: Generated mesh in x, y domain

Journal of Engineering Research and Studies E-ISS 0976-79 Table 3: Table : Variation with 0.0066 3.001e-005 3.26e-006 6.63e-007 2.655e-00 for different order of 0.0039 1.963e-005 1.21e-006 5.033e-007 1.559e-00 [] Karniadakis, G. E., and Sherwin, S. J. Spectral/hp Element Methods for Computational Fluid Dynamics, second ed. Oxford Science Publications, 2005. [9] Kong, W., and Wu, X. Chebyshev tau matrix method for poisson type equations in irregular domain. Journal of Computational and Applied Mathematics 22 (200), 15 7. [10] Orszag, S. A. Spectral methods for problems in complex geometries. Journal of Computational Physics 37 (190), 70 92. [11] Pozrikidis, C. Introduction to Finite and Spectral Element Methods using MATLAB. Chapman and Hall/CRC, 2005. COCLUSIOS It can be seen that the algorithm yields spectral accuracy for conduction (elliptic systems). In most of the cases, spectral accuracy is obtained for. Thus, even though the matrices are dense, the relative size of the matrix is small, leading to a low computational cost. In the case of results shown in the Table of Figure 3, the error reduction is slower due to the exponential behaviour of the solution. For the case of arbitrary quadrilateral, the algorithm is of a higher lower than spectral. The algorithm can be extended to higher dimensions, transient cases and to fluid flow equations. REFERECES [1] Alfonso, B., V ıctor, M. P., and F., F. H. Spectral methods for partial differential equations in irregular domains: The spectral smoothed boundary method. SIAM Journal of Scientific Computing 2 (2006), 6 900. [2] Boyd, J. P. Chebyshev and Fourier Spectral Methods, second(revised) ed. Dover Publications, IC, 2001. [3] Canuto, C., Hussaini, M. Y., Quarteroni, A., and Zang, T. Spectral Methods in Fluid Dynamics. Springer, 19. [] Canuto, C., Hussaini, M. Y., Quarteroni, A., and Zang, T. Spectral Methods Fundamentals in Single Domains. Springer, 2006. [5] Heinrichs, W. Spectral collocation on triangular elements. Journal of Computational Physics 15 (June 199), 73 757. [6] Heinrichs, W. Spectral collocation schemes on the unit disc. Journal of Computational Physics 199 (February 200), 66 6. [7] Heinrichs, W., and Loch, B. I. Spectral schemes on triangular elements. Journal of Computational Physics 173 (June 2001), 20 301.