Transport: Non-diffusive, flux conservative initial value problems and ...
Transport: Non-diffusive, flux conservative initial value problems and ...
Transport: Non-diffusive, flux conservative initial value problems and ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
78<br />
concentration<br />
concentration<br />
3<br />
2<br />
1<br />
0<br />
3<br />
2<br />
1<br />
0<br />
60<br />
75<br />
t=0<br />
90<br />
15<br />
105<br />
30<br />
120<br />
45<br />
0.09s staggered−leapfrog 1.32s mpdata (ncor=3, i3rd=1)<br />
0<br />
60 90 15 105 30 120 45<br />
75<br />
3<br />
0.02s semi−lagrangian 15.85s pseudo−spectral<br />
0<br />
0 10 20 30<br />
distance<br />
3<br />
2<br />
1<br />
2<br />
1<br />
t=0<br />
0 10 20 30<br />
distance<br />
Figure 5.10: Comparison of solutions for advection of a tracer in a non-constant velocity<br />
field all runs have 513 (or 512) grid points. Times in figures are for user time (cpu time) on<br />
a SunUltra140e compiled with f77 -fast (a) Staggered-Leapfrog showing significant<br />
numerical dispersion with courant number α = 0.5. 0.09 seconds. (b) 3rd-order 2 corrections<br />
mpdata scheme. Lower dispersion but some diffusion (<strong>and</strong> 15 times slower) α = 0.5.<br />
(c) Semi-Lagrangian scheme, 0.02 seconds α = 10. (d) iterative Pseudo-spectral scheme.<br />
(512 points, α = .5) Excellent results but uber-expensive. Once the velocity is not constant<br />
in 1-D, advection schemes become much more susceptible to numerical artifacts. Overall,<br />
the semi-lagrangian scheme is far superior in speed <strong>and</strong> accuracy.<br />
5.7 Pseudo-spectral schemes<br />
Finally we will talk about Pseudo-spectral schemes which are more of related to<br />
low-order finite difference techniques like staggered-leapfrog than to characteristics<br />
approach of semi-lagrangian schemes. For some <strong>problems</strong> like seismic wave<br />
propagation or turbulence the pseudo-spectral techniques can often be quite useful<br />
but they are not computationally cheap.<br />
The main feature of pseudo-spectral techniques is that they are spectrally accurate<br />
in space. Unlike a second order scheme like centered space differencing which<br />
uses only two-nearest neighgbors, the pseudo-spectral scheme is effectively infinite<br />
order because it uses all the grid points to calculate the derivatives. Normally this