Abstract
The idea for solving a system of partial differential equations (PDEs) using numerical methods is to transform it into a system of equations that are easier to solve, such as algebraic equations or ordinary differential equations (ODEs), for which numerical solutions were presented in Chaps. 5 and 6 of this book.
The original version of this chapter was revised. An erratum to this chapter can be found at https://doi.org/10.1007/978-3-319-66047-9_8
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Carnahan, B., Luther, H.A., Wilkers, J.O.: Numerical Applied Methods. Wiley, New York (1969)
Chapra, C.C., Canale, R.P.: Numerical Methods for Engineers, 5th edn. Mc Graw Hill, New York (2005)
Davis, M.E.: Numerical Methods and Modeling for Chemical Engineers. Wiley, New York (1984)
Hill, C.G., Root, T.W.: Introduction to Chemical Engineering Kinetics and Reactor Design, 2nd edn. Wiley, New York (2014)
Author information
Authors and Affiliations
Appendices
Appendix 7.1
Figures A.7.1, A.7.2, and A.7.3 show the VBA code developed to solve the ODE system generated in Sect. 7.4.3 (Eqs. 7.47, 7.48, 7.49, 7.50, 7.51, 7.52, 7.53, 7.54, 7.55 and 7.56). Observe that the code is almost identical to the one presented in Chap. 6 (Figs. 6.18b, 6.17, and 6.20). The function Derivative is changed to account for the new system of ODEs. The function RungeKutta4 is identical, except for the dimensions of variables k1, k2, k3, k4, and ytran, which have changed from 5 to 10, to account for the 10 ODEs. The main program RK4 is modified only in the dimension of the variables and values for the initial conditions and integration step, as highlighted in Fig. A.7.1.
Appendix 7.2
Figure 7.11 shows a curve for the analytical solution of Eq. (4.15), rewritten below:
At t = 0 h, T(x, 0) = 50 °C, for 0 ≤L≤ 1 m
At x = 0 m, T(0, t) = 70 °C, for t> 0 h
The analytical solution of Eq. (4.15) can be obtained using the Fourier method, to yield:
in which β n are the solutions of:
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this chapter
Cite this chapter
Ferrareso Lona, L.M. (2018). Solving a Partial Differential Equations System. In: A Step by Step Approach to the Modeling of Chemical Engineering Processes. Springer, Cham. https://doi.org/10.1007/978-3-319-66047-9_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-66047-9_7
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-66046-2
Online ISBN: 978-3-319-66047-9
eBook Packages: Chemistry and Materials ScienceChemistry and Material Science (R0)