Number of grid points per wavelength. u_t + u_x = 0 u(x, 0) = sin (Lπx) 0<x<1.

Slides:



Advertisements
Similar presentations
10.3 Double Angle and Half Angle Formulas
Advertisements

Adding and Subtracting Fractions
Derivatives Part A. Review of Basic Rules f(x)=xf`(x)=1 f(x)=kx f`(x)= k f(x)=kx n f`(x)= (k*n)x (n-1)    1.) The derivative of a variable is 1. 2.)
Lecture 18 - Numerical Differentiation
Jan Verwer Convergence and Component Splitting for the Crank-Nicolson Leap-Frog Scheme Hairer-60 Conference, Geneva, June 2009 TexPoint fonts used in EMF.
Numerical Integration of Partial Differential Equations (PDEs)
2 step problems 5) Solve 0.5Cos(x) + 3 = 2.6 1) Solve 4Sin(x) = 2.6 2) Solve Cos(x) + 3 = ) Solve 2Tan(x) + 2 = ) Solve 2 + Sin(x) =
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
An Optimal Nearly-Analytic Discrete Method for 2D Acoustic and Elastic Wave Equations Dinghui Yang Depart. of Math., Tsinghua University Joint with Dr.
/08/2002SMARTER meeting 1 Solution of 2D Navier-Stokes equations in velocity-vorticity formulation using FD Remo Minero Scientific Computing Group.
Introduction to Numerical Methods I
1 of 30 1 st Derivative The formula for the 1 st derivative of a function is as follows: It’s just the difference between subsequent values and measures.
Parabolic Equation. Cari u(x,t) yang memenuhi persamaan Parabolik Dengan syarat batas u(x,0) = 0 = u(8,t) dan u(x,0) = 4x – ½ x 2 di x = i : i = 0,
Part 2.  Review…  Solve the following system by elimination:  x + 2y = 1 5x – 4y = -23  (2)x + (2)2y = 2(1)  2x + 4y = 2 5x – 4y = -23  7x = -21.
MATH JEOPARDY. Basic & Extended Multiplication Expanded Multiplication Estimation and Rounding Traditional Multiplication Factoring
4.6 Numerical Integration. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
If is measured in radian Then: If is measured in radian Then: and: -
Multiplication methods. Multiplying  Multiplication is mainly taught in three ways - the grid method, Chinese multiplication and traditional column method.
Numerical Methods on Partial Differential Equation Md. Mashiur Rahman Department of Physics University of Chittagong Laplace Equation.
Lecture 3.
Chapter 3: Derivatives Section 3.3: Rules for Differentiation
1 Computational Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Fraction Review TAKE NOTES!!!!!!. Vocabulary Numerator: the number on top in a fraction Denominator: the number on bottom in a fraction Example: What.
To Dream the Impossible Scheme Part 1 Approximating Derivatives on Non-Uniform, Skewed and Random Grid Schemes Part 2 Applying Rectangular Finite Difference.
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 Product Rule for Differentiation. If you had to differentiate f(x) = (3x + 2)(x – 1), how would you start?
3.3 Rules for Differentiation Colorado National Monument.
CIS888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering We will apply several numerical methods to find a steady state solution of.
1. Flip over 2nd fraction (reciprocal) 2. keep 1st fraction the same 3. change ÷ to an X 4. multiply 5. reduce.
Higher Maths Revision Notes The Auxiliary Angle Get Started.
1 Scalar Conservation Law Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Describe the vertical shift in the graph of y = -2sin3x + 4. A.) Up 2 B.) Down 2 C.) Up 4 D.) Down 4.
The story so far… ATM 562 Fovell Fall, Convergence We will deploy finite difference (FD) approximations to our model partial differential equations.
Lecture 2. Finite Difference (FD) Methods Conservation Law: 1D Linear Differential Equation:
Power Rule is a corallary to Chain Rule. Power Rule If f(x) = x n then f ' (x) = n x (n-1) Replacing x by g(x) gives.
Product & Quotient Rule 3.3. The Product Rule The first times the derivative of the second plus the second times the derivative of the first When two.
Clicker Question 1 What is  x sin(3x) dx ? – A. (1/3)cos(3x) + C – B. (-1/3)x cos(3x) + (1/9)sin(3x) + C – C. -x cos(3x) + sin(3x) + C – D. -3x cos(3x)
Examples: Find the derivative Higher Order Derivatives 1 st Derivative: 2 nd Derivative: 3 rd Derivative: 4 th Derivative:
2-1 The Derivative and the Tangent Line Problem 2-2 Basic Differentiation Rules and Rates of Change 2-3 Product/Quotient Rule and Higher-Order Derivatives.
1 Accuracy of present data. 2 Grid dependency (I) u rms y/D u rms at r/D=0.5 u rms at r/D=1 U at r/D=1 u rms U No. cells on M-G level 1 (): 194 x 98.
Introduction to Exponents Brought to you by powerpointpros.com.
The Finite-Difference Method Taylor Series Expansion Suppose we have a continuous function f(x), its value in the vicinity of can be approximately expressed.
What percent does the shaded area represent? COURSE 2 LESSON = = 60% 6-1 Understanding Percents.
 There are easier ways to find the derivative of a function, instead of using the definition of the derivative. To use these methods, you’ll have some.
EEE 431 Computational Methods in Electrodynamics
Reporter: Prudence Chien
Arithmetic and Geometric Means
Addition and Subtraction Formulas
ივანე ჯავახიშვილის სახელობის
Dividing Positive and Negative Fractions
Simple FD Gerard T. Schuster.
Learning the Multiplication Facts Part 1
7.2 Addition and Subtraction Formulas
Patterns and Relationships in Tables
1 step solns A Home End 1) Solve Sin(x) = 0.24
AP Calculus BC 2011 Extended Response #6.
The Derivative as a Function
Chapter 7/8: Sinusoidal Functions of Sine and Cosine
Think Break #14 Machine costs $7000 with a useful life of 3 years and salvage value of $1000 1) What is the double declining balance depreciation for the.
GIFTS Blackbody Subsystem Critical Design Review Blackbody Requirements Flowdown Fred Best 9 March 2004.
Clicker Question 1 What is x sin(3x) dx ? A. (1/3)cos(3x) + C
Standing waves review A standing wave occurs when there is constructive interference between a wave and it reflections from a boundary.
Solving Systems of Equation by Substitution
Examples Double Angle Formulas
Interference of waves from two sources
Used for composite functions (a function within a function)…
Power-reducing & Half angle identities
Two-Plate Waveguide Wave impedance TM mode
An optimized implicit finite-difference scheme for the two-dimensional Helmholtz equation Zhaolun Liu Next, I will give u an report about the “”
Types of Errors And Error Analysis.
Presentation transcript:

Number of grid points per wavelength

u_t + u_x = 0 u(x, 0) = sin (Lπx) 0<x<1

Method1: Upwind(1st order) Method2: Lax-Wendroff(2nd order) Method3: Traditional 4th order Method4: Compact schemes (4th order)

Upwind L=2 h error grid points per wavelength 1/ / / / / / /

Upwind L=4 h error grid points per wavelength 1/ / / / / / /

Lax-Wendroff L h error grid points per wavelength 2 1/ / / /

Traditional 4th order L h error grid points per wavelength 2 1/ / / /

Compact schemes L h error grid points per wavelength 2 1/ / / /

High Order Schemes for Resolving Waves: Number of Points per Wavelength

First derivative f(x)=sin(kx) TEk=c*(Δx)^(p-1)*k^p p is the order of numerical scheme TEk= c*(1/N)^(p-1)*k^p, Δx=1/N If k changes to m, and we want TE to be unchanged. TEk=TEm (1/N)^(p-1)*k^p= (1/a*N)^(p-1)*m^p, a=(m/k)^(p/(p-1)).

If p>>0, then a~m/k. So, if m=2k, then the number of grid points is also doubled since a~2. But if p is small, say p=2,then when m=2k, the number of grid points should be multiplied by 4 to insure that TE is unchanged.

Higher derivative (1/N)^(p-q)*k^p=(1/a*N)^(p-q)*m^p, a=(m/k)^(p/(p-q)).

1 st order scheme Scheme N error IC UW sin(x) UW sin(2x) L-F sin(x) L-F sin(2x) a=2^2=4

2 nd order scheme Scheme N error IC FD sin(x) FD sin(2x) L-W sin(x) L-W sin(2x) a=2^(3/2)=2.83

4 th order scheme Scheme N error IC FD sin(x) FD sin(2x) FDC sin(x) FDC sin(2x) a=2^(5/4)=2.34

6 th order, a=2^(7/6)= th order, a=2^(9/8)=2.18

Upwind: L changes from 2 to 4, under the same error, 1/h multiplied by 4. grid points per wavelength multiplied by 2. L-W: L=2, 4, 8, 16, under the same error. 1/h multiplied by 2.83 grid points per wavelength multiplied by 1.42

Traditional 4th order L=2, 4, 8, 16, under the same error. 1/h multiplied by 2.37 grid points per wavelength multiplied by 1.19 Compact schemes L=2, 4, 8, 16, under the same error. 1/h multiplied by 2.37 grid points per wavelength multiplied by 1.19