Skip to main content

Advection Problem

  • Chapter
  • First Online:
Atmospheres and Oceans on Computers

Abstract

The purpose of this chapter is to study potentially useful schemes and discretizations of the linear advection equation. We discuss various stable and consistent schemes such as the leap-frog scheme, the upstream scheme (or upwind scheme), the Lax–Wendroff scheme, and the semi-Lagrangian scheme. The conditions under which they are stable are also discussed, along with ways to avoid the initial problem in centered-in-time schemes. We consider problems like numerical dispersion, numerical diffusion, and computational modes, including ways to minimize their effects, and we discuss flux corrective schemes, which improve the ubiquitous numerical diffusion inherent in low-order schemes like the upstream scheme. Finally, we describe the Courant–Friedrich–Levy (CFL) condition and its physical interpretation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 99.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Solving (5.3) for a limited domain, say \(x\in [0,L]\), there is an upper bound to the wavelength with a corresponding lower bound on \(\alpha _m\).

  2. 2.

    Let \(A=a+\mathrm {i}b\) be an imaginary number with real part a and imaginary part b. Then \(|A| = \sqrt{AA^*} = \sqrt{a^2 + b^2}\), where \(A^* = a-\mathrm {i}b\) is the complex conjugate of A.

  3. 3.

    In describing this model, people often write “while a second-order scheme is employed for advective terms”.

  4. 4.

    The requirement \(\partial _xu = 0\) is satisfied here since \(u=u_0=\) const.

  5. 5.

    For capillary waves, \(\partial _{\alpha }c > 0\), implying that a capillary wave travels more slowly than its energy.

  6. 6.

    The CFL condition for stability is assumed to be satisfied, so \(\sqrt{1-\lambda ^2}\) is a real number.

  7. 7.

    Since we use (5.65) and (5.66) on the computer, the diffusion term is not as straightforward as alluded to on the basis of (5.58).

  8. 8.

    If \(u_0\) is a function of space and time, then the characteristics are curved lines with \({\mathrm{D}^*x}/{\mathrm {d}t}\) defining the slope at any point in the xt plane.

  9. 9.

    If \(u_0 < 0\), then \(u_0 = -|u_0|\) and \(x_Q > x_j\), and the upstream scheme is \(\theta _j^{n+1} = (1-C)\theta _j^n + C\theta _{j+1}^n\).

  10. 10.

    The FDA for the advective flux \(F_\mathrm{A}\) presented in (5.124) is only valid for a non-staggered grid. In his original paper (Smolarkiewicz 1983), he used a staggered grid (see Sect. 6.5), which results in a slightly different FDA.

References

  • Asselin RA (1972) Frequency filter for time integrations. Mon Weather Rev 100:487–490

    Article  Google Scholar 

  • Griffies SM (2004) Fundamentals of ocean climate models. Princeton University Press, Princeton. ISBN 0-691-11892-2

    Google Scholar 

  • Grotjhan R, O’Brien JJ (1976) Some inaccuracies in finite differencing hyperbolic equations. Mon Weather Rev 104:180–194

    Article  Google Scholar 

  • Haidvogel DB, Arango H, Budgell PW, Cornuelle BD, Curchitser E, Lorenzo ED, Fennel K, Geyer WR, Hermann AJ, Lanerolle L, Levin J, McWilliams JC, Miller AJ, Moore AM, Powell TM, Shchepetkin AF, Sherwood CR, Signell RP, Warner JC, Wilkin J (2008) Ocean forecasting in terrain-following coordinates: formulation and skill assessment of the regional ocean modeling system. J Comput Phys 227(7):3595–3624. https://doi.org/10.1016/j.jcp.2007.06.016

  • Haltiner GJ, Williams RT (1980) Numerical prediction and dynamic meteorology, 2nd edn. Wiley, New York, 477 pp

    Google Scholar 

  • Harten A (1997) High resolution schemes for hyperbolic conservation laws. J Comput Phys 135:260–278. https://doi.org/10.1006/jcph.1997.5713

  • Lax P, Wendroff B (1960) Systems of conservation laws. Commun Pure Appl Math 13:217–237

    Article  Google Scholar 

  • Lister M (1966) The numerical solution of hyperbolic partial differential equations by the method of characteristics. In: Ralston A, Wilf HS (eds) Mathematical methods for digital computers. Wiley, New York

    Google Scholar 

  • Mesinger F, Arakawa A (1976) Numerical methods used in atmospheric models. GARP publication series, vol 17. World Meteorological Organization, Geneva, 64 pp

    Google Scholar 

  • O’Brien JJ (ed) (1986) Advanced physical oceanographic numerical modelling. NATO ASI series C: mathematical and physical sciences, vol 186. D. Reidel Publishing Company, Dordrecht

    Google Scholar 

  • Richtmyer RD, Morton KW (1967) Difference methods for initial value problems. Interscience, New York, 406 pp

    Google Scholar 

  • Robert A (1981) A stable numerical integration scheme for the primitive meteorological equations. Atmos Ocean 19:35–46

    Article  Google Scholar 

  • Robert AJ (1966) The integration of a low order spectral form of the primitive meteorological equations. J Meteorol Soc Jpn 44:237–245

    Article  Google Scholar 

  • Røed LP, O’Brien JJ (1983) A coupled ice-ocean model of upwelling in the marginal ice zone. J Geophys Res 29(C5):2863–2872

    Google Scholar 

  • Smolarkiewicz PK (1983) A simple positive definite advection scheme with small implicit diffusion. Mon Weather Rev 111:479. https://doi.org/10.1175/1520-0493(1983)1112.0.CO;2

  • Smolarkiewicz PK (1984) A fully multidimensional positive definite advection transport algorithm with small implicit diffusion. J Comput Phys 54(2):325–362. https://doi.org/10.1016/0021-9991(84)90121-9

  • Smolarkiewicz PK, Margolin LG (1998) MPDATA: a finite difference solver for geophysical flows. J Comput Phys 140:459–480. https://doi.org/10.1006/jcph.1998.5901

  • Stoker JJ (1957) Water waves: the mathematical theory with applications. Pure and applied mathematics: a series of texts and monographs, vol IV. Interscience Publishers, Inc, New York

    Google Scholar 

  • Zalesak ST (1979) Fully multidimensional flux-corrected transport algorithms for fluids. J Comput Phys 31:335–362. https://doi.org/10.1016/0021-9991(79)90051-2

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lars Petter Røed .

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Røed, L.P. (2019). Advection Problem. In: Atmospheres and Oceans on Computers. Springer Textbooks in Earth Sciences, Geography and Environment. Springer, Cham. https://doi.org/10.1007/978-3-319-93864-6_5

Download citation

Publish with us

Policies and ethics