Академический Документы
Профессиональный Документы
Культура Документы
Where
( )
( )
6. Extrapolation
Where IV is the improved (extrapolated) value, MAV is the more accurate value,
LAV is the less accurate value and n is the order of the method
Taylor series
(1)
(2)
Taylor series for using grid point (i, n) as the base point gives
Space Derivatives
Taylor series for and using grid point (i, n) as the base point gives
Where d= t / (X) 2
13. Crank-Nicolson
Hyperbolic systems
14. Finite difference approximation
Explicit Method
( )
Implicit method
[ ( ) ]
( ) [ ( ) ]
Equations:
Putting
| | | |
| | U | |
, then the system is
(5.13)
or: (5.14)
Where:
This system can be called hyperbolic if and only if the two eigenvalues of
matrix A are real and distinct. Matrix A has two linearly independent
eigenvectors.
let [ ]
(5.21)
(5.21)
(5.22)
(5.22)
Method of characteristics
(5.20)
Or equivalently
( ) ( ) (5.21)
( ) ( ) (5.21)
These lines are approximated by the straight line at and at has the same
slopes as the characteristics,
If , then system (5.23) yields uniquely the coordinates of a new grid point, namely
, and to approximate v and w at , since lies on the ,-characteristics
through accordingly eq. (5.22) at point with a finite difference equation which is
obtained from (5.22), replacing D, with corresponding finite difference between and
by:
[ ] (5.24)
* + * + * + (5.26)
Similarly,
* + * + * + (5.27)
Or equivalently,
* +
* + (5.28)
Which one a system of two linear equation in two unknowns , thus are
approximate solution is obtained , at ( ) using eq. (5.28)
Equation (5.23) and (5.28) can then be approximations for in the entire
region defined by
(5.29)
( )
( )
(5.30)
This method is called the method of characteristics, for which the general
algorithm can be written as: