You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can run two types of initial conditions for $C=0.8$: one very
305
-
smooth with a Gaussian function (Figure ref{advec:1D:UP:fig1:C08}) and
309
+
smooth with a Gaussian function (Figure ref{advec:1D:LF:fig1:C08}) and
306
310
one with a discontinuity in the first derivative (Figure
307
-
ref{advec:1D:UP:fig2:C08}). Unless we have a very fine mesh, as in
311
+
ref{advec:1D:LF:fig2:C08}). Unless we have a very fine mesh, as in
308
312
the left plots in the figures, we get small ripples behind the main
309
313
wave, and this main wave has the amplitude reduced.
310
314
@@ -410,13 +414,13 @@ Experiments show, however, that
410
414
reducing $\Delta t$ or $\Delta x$, while keeping $C$ reduces the
411
415
error.
412
416
413
-
FIGURE: [fig-advec/gaussian_UP_C08, width=800 frac=1] Advection of a Gaussian function with a forward in time, upwind in space scheme and $C=0.8$, $\Delta t = 0.001$ (left) and $\Delta t=0.01$ (right). label{advec:1D:UP:fig1:C08}
417
+
FIGURE: [fig-advec/gaussian_UP_C08, width=800 frac=1] Advection of a Gaussian function with a forward in time, upwind in space scheme and $C=0.8$, $\Delta t = 0.01$ (left) and $\Delta t=0.001$ (right). label{advec:1D:UP:fig1:C08}
414
418
415
419
MOVIE: [mov-advec/gaussian/UP/C08_dt001/movie.ogg] Forward in time, upwind in space, $C=0.8$, $\Delta t = 0.01$. label{advec:1D:UP:mov1:C08:dt1}
416
420
417
421
MOVIE: [mov-advec/gaussian/UP/C08_dt001/movie.ogg] Forward in time, upwind in space, $C=0.8$, $\Delta t = 0.005$. label{advec:1D:UP:mov1:C08:dt2}
418
422
419
-
FIGURE: [fig-advec/cosinehat_UP_08, width=800 frac=1] Advection of half a cosine function with a forward in time, upwind in space scheme and $C=0.8$, $\Delta t = 0.01$ (left) and $\Delta t=0.001$ (right). label{advec:1D:UP:fig2:C08}
423
+
FIGURE: [fig-advec/cosinehat_UP_08, width=800 frac=1] Advection of half a cosine function with a forward in time, upwind in space scheme and $C=0.8$, $\Delta t = 0.001$ (left) and $\Delta t=0.01$ (right). label{advec:1D:UP:fig2:C08}
420
424
421
425
MOVIE: [mov-advec/cosinehat/UP/C08_dt01.ogg] Advection of half a cosine function with a forward in time, upwind in space scheme and $C=0.8$, $\Delta t = 0.01$. label{advec:1D:UP:mov2:C08:dt1}
422
426
@@ -867,7 +871,7 @@ amplification factor for the Lax-Wendroff method that equals
867
871
!bt
868
872
\[ A = 1 - iC\sin p - 2C^2\sin^2 (p/2)\tp\]
869
873
!et
870
-
This means that $|A|=1$ and also that we have an exact solution of $C=1$!
874
+
This means that $|A|=1$ and also that we have an exact solution if $C=1$!
0 commit comments