Homework 3 Q1) Build a finite-difference solver for: with initial condition: Q1a) use Heun’s RK3 time integrator Q1b) use the 4th order central difference.

Slides:



Advertisements
Similar presentations
Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Advertisements

Finite Difference Discretization of Elliptic Equations: 1D Problem Lectures 2 and 3.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
Computational Methods in Physics PHYS 3437
Ordinary Differential Equations
Lecture 18 - Numerical Differentiation
1cs542g-term Notes  Notes for last part of Oct 11 and all of Oct 12 lecture online now  Another extra class this Friday 1-2pm.
1cs542g-term Notes  Even if you’re not registered (not handing in assignment 1) send me an to be added to a class list.
A posteriori Error Estimate - Adaptive method Consider the boundary value problem Weak form Discrete Equation Error bounds ( priori error )
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Spring 2010 Prof. Chung-Kuan Cheng 1.
Computer-Aided Analysis on Energy and Thermofluid Sciences Y.C. Shih Fall 2011 Chapter 6: Basics of Finite Difference Chapter 6 Basics of Finite Difference.
Numerical Integration CE5504 – Surface Water Quality Modeling  non-idealized loading functions  variable parameters  multi-segment systems  non-linear.
Finite Difference Methods to Solve the Wave Equation To develop the governing equation, Sum the Forces The Wave Equation Equations of Motion.
Error estimates for degenerate parabolic equation Yabin Fan CASA Seminar,
Representing Functions by Power Series. A power series is said to represent a function f with a domain equal to the interval I of convergence of the series.
Numerical Schemes for Advection Reaction Equation Ramaz Botchorishvili Faculty of Exact and Natural Sciences Tbilisi State University GGSWBS,Tbilisi, July.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 2 Instructor: Tim Warburton.
Numerical Solution of Ordinary Differential Equation
1 Example 1 (a) Estimate by the Midpoint, Trapezoid and Simpson's Rules using the regular partition P of the interval [0,2] into 6 subintervals. (b) Find.
Numerical Methods for Partial Differential Equations
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 13.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 8 Instructor: Tim Warburton.
Integration Integration: is the total value, or summation, of f(x) dx over the range from a to b:
Ch 8.3: The Runge-Kutta Method
Lecture 16: Convection and Diffusion (Cont’d). Last Time … We l Looked at CDS/UDS schemes to unstructured meshes l Look at accuracy of CDS and UDS schemes.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 5a.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 3 AB2,AB3, Stability, Accuracy Instructor: Tim Warburton.
Modelling & Simulation of Chemical Engineering Systems Department of Chemical Engineering King Saud University 501 هعم : تمثيل الأنظمة الهندسية على الحاسب.
Integration of 3-body encounter. Figure taken from
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 5 Summary of convergence checks for LMM and one-step time stepping Instructor:
Programming assignment #2 Solving a parabolic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
7. Introduction to the numerical integration of PDE. As an example, we consider the following PDE with one variable; Finite difference method is one of.
The NAPM Survey of Media Buyers Do environmental issues affect your paper purchasing decisions?
Sensitivity derivatives Can obtain sensitivity derivatives of structural response at several levels Finite difference sensitivity (section 7.1) Analytical.
MECH4450 Introduction to Finite Element Methods Chapter 9 Advanced Topics II - Nonlinear Problems Error and Convergence.
Linear Law “Transformation” of non-linear relationships to linear relationships.
Patient Voices Programme Survey Results for : Everest House Surgery Combined Results 2005.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 24.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 12 Instructor: Tim Warburton.
5. Integration method for Hamiltonian system. In many of formulas (e.g. the classical RK4), the errors in conserved quantities (energy, angular momentum)
Ch 8.2: Improvements on the Euler Method Consider the initial value problem y' = f (t, y), y(t 0 ) = y 0, with solution  (t). For many problems, Euler’s.
Today’s class Ordinary Differential Equations Runge-Kutta Methods
Circuit Simulation using Matrix Exponential Method Shih-Hung Weng, Quan Chen and Chung-Kuan Cheng CSE Department, UC San Diego, CA Contact:
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 25.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 32.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 28.
Summer 2012 PHYS 172: Modern Mechanics Lecture 5 – Gravity Read
Quadrature – Concepts (numerical integration) Don Allen.
Improper Integrals Part 2 Tests for Convergence. Review: If then gets bigger and bigger as, therefore the integral diverges. If then b has a negative.
Numerical Methods for Partial Differential Equations
EEE 431 Computational Methods in Electrodynamics
Chapter 30.
8th CJK Plenary NGN Workshop for further collaboration March, 2008
Connect Four PowerPoint Template
Class Notes 18: Numerical Methods (1/2)
مركز التميز في التعلم والتعليم ملتقى منح التميز في التعلم والتعليم
Finite Volume Method for Unsteady Flows
Objective Numerical methods Finite volume.
SOLUTION OF NONLINEAR EQUATIONS
Let A = {image} and B = {image} . Compare A and B.
SKTN 2393 Numerical Methods for Nuclear Engineers
X y y = x2 - 3x Solutions of y = x2 - 3x y x –1 5 –2 –3 6 y = x2-3x.
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
NHS National Staff Survey 2018 Results
6th Lecture : Numerical Methods
Timed Multiple Choice Questions
Proposal for quadrupole families
7.2 x 10-7 N attraction 2.1 x 10-7 N repulsion A on B / B on A
Generalized Finite Element Methods
Presentation transcript:

Homework 3 Q1) Build a finite-difference solver for: with initial condition: Q1a) use Heun’s RK3 time integrator Q1b) use the 4th order central difference in space (periodic domain) Q1c) perform a stability analysis to determine maximum allowable time-step Q1d) Fix a small dt and perform an experimental dx convergence analysis based on the error at time t=9 – to estimate the solution order of accuracy in dx Q1e) Fix a small dx and perform an experimental dt convergence analysis based on the error at time t=9 – to estimate the solution order of accuracy in dt Q1f) estimate the accuracy order of the solution in dt and dx (use results from Q1d and Q1e) Q1g) extra credit: set up an adaptive time-stepping using the Cash-Karp RK 6 step, 5th order scheme to keep the local truncation error from time stepping bounded by a tolerance. Q1h) extra credit: repeat Q1a-Q1f with the 6th order central difference scheme in space and Jameson-Schmit-Turkel in time CAAM 452 Spring 2006