Skip to main content

Partial Differential Equations

  • Chapter
  • First Online:
  • 9413 Accesses

Part of the book series: Use R! ((USE R))

Abstract

A characteristic of partial differential equations (PDEs) is that the solution changes as a function of more than one independent variable. Usually these variables are time and one or more spatial coordinates. The numerical solution of a PDE therefore often requires the solution to be approximated not only in time as in ODEs, but in space as well. If all derivatives are approximated by finite differences at a finite number of points, a set of algebraic equations is obtained whose solution can be found using root solving algorithms. This is the common approach for solving time-independent PDEs. In contrast, PDEs which involve time as one of the independent variables are usually solved with the method of lines. In this case only spatial derivatives are discretised, while the time derivative is left as a continuous function. The result is a system of ODEs in time that can be solved with the initial value problem solvers from previous chapters. Typically, the dimension of the ODE or algebraic system is much larger than the number of components in the original partial differential equation.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   64.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Learn about institutional subscriptions

Notes

  1. 1.

    Sometimes denoted by (r, \(\varphi \), z).

  2. 2.

    Sometimes denoted by (r, \(\varphi \), θ).

  3. 3.

    Sometimes denoted by (r, \(\varphi \)).

References

  1. Anderson, E., Bai, Z., Bischof, C., Demmel, J., Dongarra, J., Du Croz, J., Greenbaum, A., Hammarling, S., McKenney, A., Ostrouchov, S., & Sorensen, D. (1992). LAPACK ’s user’s guide. Philadelphia: Society for Industrial and Applied Mathematics.

    Google Scholar 

  2. Brenan, K. E., Campbell, S. L., & Petzold, L. R. (1996). Numerical solution of initial-value problems in differential-algebraic equations. SIAM classics in applied mathematics. Philadelphia, PA: Society for Industrial and Applied Mathematics.

    Google Scholar 

  3. Brown, P. N., Byrne, G. D., & Hindmarsh, A. C. (1989). VODE, a variable-coefficient ODE solver. SIAM Journal on Scientific and Statistical Computing, 10, 1038–1051.

    Google Scholar 

  4. Brown, P. N., Hindmarsh, A. C., & Petzold, L. R. (1994). Using krylov methods in the solution of large-scale differential-algebraic systems. SIAM Journal on Scientific and Statistical Computing, 15(6), 1467–1488.

    Google Scholar 

  5. Brugnano, L., Magherini, C., & Mugnai, F. (2006). Blended implicit methods for the numerical solution of DAE problems. Journal of Computational and Applied Mathematics, 189(1–2), 34–50.

    Google Scholar 

  6. Cash, J. R., & Considine, S. (1992). An MEBDF code for stiff initial value problems. ACM Transactions on Mathematical Software, 18(2), 142–158.

    Google Scholar 

  7. Dongarra, J. J., Bunch, J. R., Moler, C. B., & Stewart, G. W. (1979). LINPACK users guide. Philadelphia, PA: Society for Industrial and Applied Mathematics.

    Google Scholar 

  8. Eisenstat, S. C., Gursky, M. C., Schultz, M. H., & Sherman, A. H. (1982). Yale sparse matrix package. I. The symmetric codes. International Journal for Numerical Methods in Engineering, 18, 1145–1151.

    Google Scholar 

  9. Godunov, S. K. (1959). A finite difference method for the numerical computation of discontinuous solutions of the equations of fluid dynamics. Math Sbornik, 47, 271–306.

    Google Scholar 

  10. Greenspan, D., & Casulli, V. (1988). Numerical analysis for applied mathematics, science, and engineering. Redwood: Addison-Wesley/Advanced Book Program.

    Google Scholar 

  11. Griffiths, G. W., & Schiesser, W. E. (2012). Traveling wave analysis of partial differential equations. Numerical and analytical methods with MATLAB and MAPLE. Amsterdam: Elsevier/Academic.

    Google Scholar 

  12. Hairer, E., & Wanner, G. (1996). Solving ordinary differential equations II: Stiff and differential-algebraic problems. Heidelberg: Springer.

    Google Scholar 

  13. Hamdi, S., Schiesser, W. E., & Griffiths, G. W. (2007). Method of lines. Scholarpedia, 2(7), 2859.

    Google Scholar 

  14. Hindmarsh, A. C. (1983). ODEPACK, a systematized collection of ODE solvers. In R. Stepleman (ed.), Scientific computing: Vol. 1. IMACS transactions on scientific computation (pp. 55–64). Amsterdam: IMACS/North-Holland.

    Google Scholar 

  15. Hundsdorfer, W., & Verwer, J. G. (2003). Numerical solution of time-dependent advection-diffusion-reaction equations. Springer series in computational mathematics. Berlin: Springer.

    Google Scholar 

  16. Iavernaro, F., & Mazzia, F. (1998). Solving ordinary differential equations by generalized Adams methods: Properties and implementation techniques. Applied Numerical Mathematics, 28(2–4), 107–126. Eighth Conference on the Numerical Treatment of Differential Equations (Alexisbad, 1997).

    Google Scholar 

  17. Iserles, A., & Strang, G. (1983). The optimal accuracy of difference schemes. Transactions of the American Mathematical Society, 277, 779–803.

    Google Scholar 

  18. Johnson, C. (2009). Numerical solution of partial differential equations by the finite element method. Mineola: Dover. (Reprint of the 1987 edition)

    Google Scholar 

  19. Lax, P. D., & Wendroff, B. (1960). Systems of conservation laws. Communications on Pure and Applied Mathematics, 13, 217–237.

    Google Scholar 

  20. Lee, H. J., & Schiesser, W. E. (2004). Ordinary and partial differential equation routines in C, C++, Fortran, Java, Maple, and MATLAB. Boca Raton: Chapman & Hall/CRC.

    Google Scholar 

  21. LeVeque, R. J. (2002). Finite volume methods for hyperbolic problems. Cambridge texts in applied mathematics. Cambridge: Cambridge University Press.

    Google Scholar 

  22. Luenberger, D. G. (1979). Introduction to dynamic systems: Theory, models, and applications. New York: Wiley.

    Google Scholar 

  23. Mitchell, A. R., & Griffiths, D. F. (1980). The finite difference method in partial differential equations. Chichester: Wiley.

    Google Scholar 

  24. Pepper, D. (2010). Meshless methods for PDEs. Scholarpedia, 5(5), 9838.

    Google Scholar 

  25. Petzold, L. R. (1983). A description of DASSL: A differential/algebraic system solver. IMACS Transactions on Scientific Computation, New Brunswick, NJ, pp. 65–68.

    Google Scholar 

  26. Petzold, L. R. (1983). Automatic selection of methods for solving stiff and nonstiff systems of ordinary differential equations. SIAM Journal on Scientific and Statistical Computing, 4, 136–148.

    Google Scholar 

  27. Pietrzak, J. (1998). The use of TVD limiters for forward-in-time upstream-biased advection schemes in ocean modeling. Monthly Weather Review, 126, 812–830.

    Google Scholar 

  28. Roe, P. L. (1985). Some contributions to the modeling of discontinuous flows. Lecture Notes on Applied Mathematics, 22, 163–193. Amer. Math. Soc., Providence.

    Google Scholar 

  29. Saad, Y. (1994). SPARSKIT: A basic tool kit for sparse matrix computations. VERSION 2.

    Google Scholar 

  30. Saad, Y. (2003). Iterative methods for sparse linear systems (2nd ed.). Philadelphia: Society for Industrial and Applied Mathematics.

    Google Scholar 

  31. Schiesser, W. E. (1991). The numerical method of lines. Integration of partial differential equations. San Diego: Academic.

    Google Scholar 

  32. Schiesser, W. E., & Griffiths, G. W. (2009). A compendium of partial differential equation models. Method of lines analysis with MATLAB. Cambridge: Cambridge University Press.

    Google Scholar 

  33. Soetaert, K., & Meysman, F. (2012). Reactive transport in aquatic ecosystems: Rapid model prototyping in the open source software R. Environmental Modelling and Software, 32, 49–60.

    Google Scholar 

  34. van Leer, B. (1979). Towards the ultimate conservative difference scheme V. A second order sequel to Godunov’s method. Journal of Computational Physics, 32, 101–136.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Soetaert, K., Cash, J., Mazzia, F. (2012). Partial Differential Equations. In: Solving Differential Equations in R. Use R!. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-28070-2_8

Download citation

Publish with us

Policies and ethics