0% found this document useful (0 votes)
43 views

Week2 Slides

The document discusses finite difference methods and covers topics like accuracy, dispersion, and stability. It defines types of errors in accuracy, analyzes dispersion when using finite differences to solve wave equations, and explains the concepts of stability conditions like the Lax equivalence theorem and CFL condition.

Uploaded by

g bharath reddy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Week2 Slides

The document discusses finite difference methods and covers topics like accuracy, dispersion, and stability. It defines types of errors in accuracy, analyzes dispersion when using finite differences to solve wave equations, and explains the concepts of stability conditions like the Lax equivalence theorem and CFL condition.

Uploaded by

g bharath reddy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

7/25/2016

OVERVIEW
FINITE DIFFERENCE
ACCURACY
METHODS – II
Prof. Krish Sankaran DISPERSION

STABILITY

© Prof. K. Sankaran

OVERVIEW ACCURACY
Type – I Error
ACCURACY

DISPERSION

STABILITY

© Prof. K. Sankaran © Prof. K. Sankaran

1
7/25/2016

ACCURACY ACCURACY
Type – II Error Type – III Error

© Prof. K. Sankaran © Prof. K. Sankaran

ACCURACY ACCURACY
MODELLING ERROR – dependent
PHYSICAL MATHEMATICAL NUMERICAL
SYSTEM MODEL SOLUTION
Error

Round-off Total error Discretization error


error

Mesh size
© Prof. K. Sankaran © Prof. K. Sankaran

2
7/25/2016

OVERVIEW DISPERSION
ACCURACY

DISPERSION Assume wave propagation in x-direction,


analytically written as,

STABILITY
where
© Prof. K. Sankaran © Prof. K. Sankaran

DISPERSION DISPERSION
FD solution Compare and
is numerical wavelength Take first 3 terms in the series expansion of
Substituting in FD equation above

where

© Prof. K. Sankaran © Prof. K. Sankaran

3
7/25/2016

DISPERSION OVERVIEW
For
ACCURACY

DISPERSION
Error converges Error Caution
quadratically control by valid for
choice 1D only STABILITY

© Prof. K. Sankaran © Prof. K. Sankaran

STABILITY STABILITY
LAX EQUIVALENCE THEOREM

STABILITY is necessary and sufficient


condition for convergence of a consistent
linear FD model

© Prof. K. Sankaran © Prof. K. Sankaran

4
7/25/2016

STABILITY STABILITY
A Numerical scheme is stable if a small error Define an error at time step as for one
at any stage produces a smaller cumulative independent variable
error at next stages.
Then at time step , this error amplifies as,
Otherwise it is unstable !!!

where is amplification factor

© Prof. K. Sankaran © Prof. K. Sankaran

STABILITY STABILITY
For multivariable problem becomes a For a Finite Difference scheme to be stable,
matrix

or

where is amplification matrix In case of a multivariable problem,

© Prof. K. Sankaran © Prof. K. Sankaran

5
7/25/2016

STABILITY STABILITY
Consider

ICs

The CD scheme for above wave equation is


where

© Prof. K. Sankaran © Prof. K. Sankaran

STABILITY STABILITY

Conditionally stable scheme

Stability condition is given by

CFL condition

© Prof. K. Sankaran © Prof. K. Sankaran

6
7/25/2016

STABILITY STABILITY
An FD scheme is stable if errors made at one von Neumann Stability Analysis
time step do not magnify as computation
continues
Decompose round off errors into Fourier
space and analyze their time evolution
ERROR ERROR ERR OR

Neutral stable Stable Unstable

© Prof. K. Sankaran © Prof. K. Sankaran

STABILITY STABILITY
For FTCS to be stable,

Forward Time, Centered Space (FTCS) scheme


EXPLICIT
© Prof. K. Sankaran © Prof. K. Sankaran

7
7/25/2016

STABILITY STABILITY
To make scheme unconditionally stable all the
terms on RHS are replaced by average of
values at time-steps and

© Prof. K. Sankaran © Prof. K. Sankaran

STABILITY STABILITY
Implicit scheme will take CD at

Conditional stable Unconditional stable

© Prof. K. Sankaran © Prof. K. Sankaran

8
7/25/2016

STABILITY END

© Prof. K. Sankaran © Prof. K. Sankaran

ACCURACY

© Prof. K. Sankaran

You might also like