NUMERICAL METHOD FOR MASS ADVECTION WONCHAI PROMNOPAS 13 FEB 2003 - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

NUMERICAL METHOD FOR MASS ADVECTION WONCHAI PROMNOPAS 13 FEB 2003

Description:

... applied to the advection equation is equivalent to the FTCS method applied to ... ?????????????????????. Physics , Science Chiang Mai University ... – PowerPoint PPT presentation

Number of Views:54
Avg rating:3.0/5.0
Slides: 27
Provided by: physicsSc
Category:

less

Transcript and Presenter's Notes

Title: NUMERICAL METHOD FOR MASS ADVECTION WONCHAI PROMNOPAS 13 FEB 2003


1
NUMERICAL METHOD FOR MASS ADVECTION(WONCHAI
PROMNOPAS)13 FEB 2003
2
(No Transcript)
3
(No Transcript)
4
(No Transcript)
5
(No Transcript)
6
(No Transcript)
7
(No Transcript)
8
Central difference
Forward difference
The value of the second derivative at P
Backward difference
9
(No Transcript)
10
(No Transcript)
11
(No Transcript)
12
(No Transcript)
13
(No Transcript)
14
(No Transcript)
15
(No Transcript)
16
The Advection Equation
Numerical Solution of the Advection Equation
time derivative
n labels the time step and k labels the grid point
space derivative
The finite difference equation
Forward Time Centered Space (FTCS) method
17
(No Transcript)
18
(No Transcript)
19
(No Transcript)
20
The Lax Method
This method is stable provided the time step
satisfies the Courant-Friedrichs-Lewy (CFL)
condition
21
Clearly the wave is being artificially spread
out. Note however that there are no oscillations
and that the wave moves at the correct speed
(i.e. the peak is in the right place, although
significantly reduced in size).
22
why there is a difference between the FTCS and
Lax methods, re-arrange the Lax method
This is the same as the FTCS method except for
the last term, which is a finite difference
approximation to a second order space derivative
of a. The Lax method applied to the advection
equation is equivalent to the FTCS method applied
to an advection-diffusion equation
diffusion coefficient
23
The Lax-Wendroff Method
24
We see that there remains some oscillation in the
trailing half of the wave and the peak height is
slightly reduced. Note also that the peak is not
quite in the correct position. Despite these
problems, the Lax-Wendroff method is far superior
to the FTCS and Lax methods.
25
Courant-Friedrichs-Lewy(CFL or Courant) condition
26
?????????????????????
Physics , Science Chiang Mai University
Write a Comment
User Comments (0)
About PowerShow.com