Spectral methods for stiff problems MATH 6646

Slides:



Advertisements
Similar presentations
Element Loads Strain and Stress 2D Analyses Structural Mechanics Displacement-based Formulations.
Advertisements

P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2013 – 12269: Continuous Solution for Boundary Value Problems.
Point-wise Discretization Errors in Boundary Element Method for Elasticity Problem Bart F. Zalewski Case Western Reserve University Robert L. Mullen Case.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2014 – 35148: Continuous Solution for Boundary Value Problems.
5/4/2015rew Accuracy increase in FDTD using two sets of staggered grids E. Shcherbakov May 9, 2006.
Beams and Frames.
Ordinary Differential Equations
LECTURE SERIES on STRUCTURAL OPTIMIZATION Thanh X. Nguyen Structural Mechanics Division National University of Civil Engineering
MANE 4240 & CIVL 4240 Introduction to Finite Elements
By S Ziaei-Rad Mechanical Engineering Department, IUT.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
Surface to Surface Intersection N. M. Patrikalakis, T. Maekawa, K. H. Ko, H. Mukundan May 25, 2004.
Finite Element Method Introduction General Principle
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
MANE 4240 & CIVL 4240 Introduction to Finite Elements
NEW APPROACH TO CALCULATION OF RANGE OF POLYNOMIALS USING BERNSTEIN FORMS.
CHAP 4 FINITE ELEMENT ANALYSIS OF BEAMS AND FRAMES
Ordinary Differential Equations (ODEs)
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Interval-based Inverse Problems with Uncertainties Francesco Fedele 1,2 and Rafi L. Muhanna 1 1 School of Civil and Environmental Engineering 2 School.
1 Assessment of Imprecise Reliability Using Efficient Probabilistic Reanalysis Farizal Efstratios Nikolaidis SAE 2007 World Congress.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
CABLE-STAYED BRIDGE SEISMIC ANALYSIS USING ARTIFICIAL ACCELEROGRAMS
Section 2: Finite Element Analysis Theory
Most physically significant large-scale atmospheric circulations have time scales on the order of Rossby waves but much larger than the time scales.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
RFP Workshop Oct 2008 – J Scheffel 1 A generalized weighted residual method for RFP plasma simulation Jan Scheffel Fusion Plasma Physics Alfvén Laboratory,
Numerical ElectroMagnetics & Semiconductor Industrial Applications Ke-Ying Su Ph.D. National Central University Department of Mathematics 11 NUFFT & Applications.
1. Interpolating polynomials Polynomial of degree n,, is a linear combination of Definitions: (interval, continuous function, abscissas, and polynomial)
6. Introduction to Spectral method. Finite difference method – approximate a function locally using lower order interpolating polynomials. Spectral method.
11/11/20151 Trusses. 11/11/20152 Element Formulation by Virtual Work u Use virtual work to derive element stiffness matrix based on assumed displacements.
Xianwu Ling Russell Keanini Harish Cherukuri Department of Mechanical Engineering University of North Carolina at Charlotte Presented at the 2003 IPES.
Illustration of FE algorithm on the example of 1D problem Problem: Stress and displacement analysis of a one-dimensional bar, loaded only by its own weight,
HEAT TRANSFER FINITE ELEMENT FORMULATION
MECH4450 Introduction to Finite Element Methods
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Application of Perturbation Theory in Classical Mechanics
STATIC ANALYSIS OF UNCERTAIN STRUCTURES USING INTERVAL EIGENVALUE DECOMPOSITION Mehdi Modares Tufts University Robert L. Mullen Case Western Reserve University.
Ordinary Differential Equations
1 CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS FINITE ELEMENT ANALYSIS AND DESIGN Nam-Ho Kim.
INTEGRATOR CLASSIFICATION & CHARACTERISTICS
Mechanical Measurements and Metrology
Ch 11.6: Series of Orthogonal Functions: Mean Convergence
By Dr. A. Ranjbaran, Associate Professor
Ordinary Differential Equations
Part 7 - Chapter 25.
CHAPTER 2 - EXPLICIT TRANSIENT DYNAMIC ANALYSYS
Computation of the solutions of nonlinear polynomial systems
1D OF FINITE ELEMENT METHOD Session 4 – 6
55th ASMR National Scientific Conference
Ordinary Differential Equations
ივანე ჯავახიშვილის სახელობის
Nodal Methods for Core Neutron Diffusion Calculations
1C9 Design for seismic and climate changes
Numerical Solutions of Ordinary Differential Equations
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L4&5.
Class Notes 19: Numerical Methods (2/2)
CSE 245: Computer Aided Circuit Simulation and Verification
Chapter 27.
CHAPTER 2 BASIC CONCEPTS OF DISPLACEMENT OR STIFFNESS METHOD:
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L6.
Measurements & Error Analysis
Chapter 3 Modeling in the Time Domain
Legendre Polynomials Pn(x)
Multivariable optimization with no constraints
Presentation transcript:

Spectral methods for stiff problems MATH 6646 JULIAN BREW REDA MOUDDEN

outline Presentation of the MEMS Device Presentation of the Spectral Collocation Methods Study of Bernstein polynomials Comparisons

I. Presentation of the MEMS Device Doubly supported beams with axial stress Used as pressure sensors : usually piezo-resistive or piezo-electric transducers that generate a signal as a function of the pressure imposed. Useful device in weather instrumentation, aircrafts, automobiles and any type of leak testing. w : Displacement Stiff ODE : E : Young modulus I : Moment of inertia q : Distributed load N : Axial force

II. Presentation of the spectral collocation methods Spectral Methods Spectral methods are a class of techniques that numerically solve differential equations. The idea is to write the solution of the differential equation as a sum of certain basis functions and then to choose the coefficients in the sum in order to satisfy the differential equation as well as possible. Characteristics of these methods include : Global method Continuous solutions Depends on several parameters Difficult to combine with sharp gradients Algorithm and CPU strong dependence Several parameters : Order of the highest polynomial, collocation points, time length

Theory II. Presentation of the spectral collocation methods Assume solution is weighted sum of basis functions 𝑦 (𝑥)= 𝑖=0 𝑚 𝑐 𝑖 𝜙 𝑖 (𝑥) Substitute assumed solution into original ODE to get a constraint equation 𝑦 ′ 𝑥 = 𝑖=0 𝑚 𝑐 𝑖 𝑑 𝜙 𝑖 𝑑𝑥 𝑥 =𝑓 𝑥, 𝑦 𝑥 At each node 𝑥 𝑗 , the ODE constraint should be satisfied 𝑦 ′ 𝑥 𝑗 = 𝑖=0 𝑚 𝑐 𝑖 𝑑 𝜙 𝑖 𝑑𝑥 𝑥 𝑗 =𝑓 𝑥 𝑗 , 𝑦 𝑥 𝑗 Plugging in each node 𝑥 𝑗 and boundary condition into the constraint equation, a system of equations in terms of 𝑐 𝑖 is found 𝐹 𝑐 = 0 Formulation generalizes to 𝑦 ∈ ℝ 𝑛 and to BVP ODE: 𝑦 ′ =𝑓 𝑥,𝑦 with boundary conditions on 𝑦 or 𝑦’

Example II. Presentation of the spectral collocation methods y’’ – y = x y(0) = 0 y(1) = 0 x ∈[0;1] We choose 2 collocation points x = 0.25 and x = 0.5 We get 4 points total (2 from the boundary conditions and 2 from the collocation) => 3rd order polynomial : 𝑦 = 𝛼 0 + 𝛼 1 .𝑥+ 𝛼 2 . 𝑥 2 + 𝛼 3 . 𝑥 3 𝑦 ′= 𝛼 1 + 2𝛼 2 .𝑥+3 𝛼 3 . 𝑥 2 𝑦 ′′= 2𝛼 2 +6 𝛼 3 .𝑥 We input these functions in the ODE : − 𝛼 0 − 𝛼 1 .𝑥+ 2− 𝑥 2 . 𝛼 2 +(6𝑥− 𝑥 3 ). 𝛼 3 = 𝑥 Evaluating this equation at the 2 collocation points gives us 2 equations. − 𝛼 0 − 𝛼 1 (0.25)+ 2− 0.25 2 𝛼 2 +(6(0.25)− 0.25 3 ). 𝛼 3 = 0.25 − 𝛼 0 − 𝛼 1 (0.5)+ 2− 0.5 2 𝛼 2 +(6(0.5)− 0.5 3 ). 𝛼 3 = 0.5 Using the boundary conditions, we get the other 2 equations. 𝛼 0 + 𝛼 1 0 + 𝛼 2 0 2 + 𝛼 3 0 3 = 𝛼 0 =0 𝛼 0 + 𝛼 1 1 + 𝛼 2 1 2 + 𝛼 3 1 3 = 𝛼 0 + 𝛼 1 + 𝛼 2 + 𝛼 3 =0 Numerical solution : 𝑦 𝑥 =−0.1459𝑥 −0.006738 𝑥 2 +0.1526 𝑥 3

II. Presentation of the spectral collocation methods Collocation points The collocation points are a set of nodes at which the polynomial basis equals the true solution. There are several collocation methods, the most commonly used are the following : For these polynomials, the concentration of nodes increases towards the edges of the interval. This results in oversampling and high-frequency oscillations at the end (Runge phenomenon).

Choice of a collocation point method II. Presentation of the spectral collocation methods Choice of a collocation point method Chebyshev vs Equally-spaced vs Legendre-Gauss-Lobato m = 5 CPU Time (ms) Max Error (E-11) Total Error (E-12) Equally Spaced 13 4.18 3.59 LQL 12 1.58 1.14 Chebyshev 7 1.33 0.64 m : highest polynomial order m = 3 CPU Time (ms) Max Error (E-10) Total Error (E-11) Equally Spaced 8 2.57 2.12 LQL 9 1.92 1.41 Chebyshev 5 1.94 0.9

Bernstein polynomials III. Study of Bernstein polynomials Bernstein polynomials The Bernstein polynomials of degree m are defined by In general, we approximate any function as follows Where and N.B. When compared to other basis polynomials, the Bernstein form is systematically more stable, when evaluating polynomials whose coefficient are subject to random perturbations.

Influence of the order of the polynomial III. Study of Bernstein polynomials Influence of the order of the polynomial m = 4 m = 5 m = 6 N.B. There exists a maximum m, after which, Solving system becomes numerically difficult Solution accuracy is bounded by machine precision

Potential issues III. Study of Bernstein polynomials Solving ODE using spectral collocation methods becomes difficult when solving the system of equations becomes numerically challenging These numerical issues may occur when Highest polynomial order, m, is large Time horizons are large Original ODE is stiff Multiple local solutions exist Mitigations to these issues Solve lower order basis polynomial solution and use to initialize higher order polynomial solution Center and scale coordinates to better condition system of equations Separate overall time horizon into smaller sub-problems Compute analytic Jacobian matrix Robust nonlinear system equation solver

IV. COMPARISONS Power series (1)

IV. COMPARISONS Power series (2)

IV. COMPARISONS RK45 (1)

IV. COMPARISONS RK45 (2)

conclusion Efficient way to solve stiff ODEs where RK45 may not given accurate solutions Use of Chebyshev collocation points : Minimization of Runge phenomenon, CPU time and error Use of Bernstein basis polynomials : Better numerical stability and CPU time MEMS device application Depending on the system, we may have numerical issues

References Philippe Grandclément, Introduction to spectral methods, (2006) M. Alshbool and I. Hashim, Bernstein polynomials for solving nonlinear stiff system of ordinary differential equations,060015,1–6 (2015) A. Akyüz-Dascıoglu and H. Çerdik-Yaslan, The solution of high-order nonlinear ordinary differential equations by Chebyshev Series, (2010) W. J. Thompson, Fourier series and the Gibbs phenomenon, (1991) Rida T. Farouki, The Bernstein polynomial basis: A centennial retrospective, Computer Aided Geometric Design, (2012) Brandon Jones, Orbit Propagation Using Gauss-Legendre Collocation, American Institute of Aeronautics and Astronautics/American Astronautical Society, (2012) Nairat Kanyamee and Zhimin Zhang, Comparison of a spectral collocation method and symplectic methods for Hamiltonian systems, International Journal of Numerical Analysis and Modeling, (2011)