Page 221 - Numerical methods for chemical engineering
P. 221

MATLAB summary                                                      207



                      1




                    ϕ A

                     2

                       1  2            1  1            1               1  1
                                                a
                      2
                     1
                     1
                    θ
                     1
                     12
                      1
                       1  2            1  1            1              1  1
                                                a

                  Figure 4.19 Nonisothermal CSTR behavior for γ = 8(β =−1,χ = 0,θ c = 1).

                      1


                   ϕ A


                    2

                      1  −2                    1  −1                    1
                                               a
                      2
                    1
                    1
                    θ
                    1
                    12
                      1
                      1  −2                    1  −1                    1
                                               a
                  Figure 4.20 Nonisothermal CSTR behavior for γ = 12 (β =−1,χ = 0,θ c = 1).



                  MATLAB summary

                  The two main routines for solving ODE-IVPs are ode45 and ode15s. For nonstiff
                  problems, the explicit ode45 method is recommended. For stiff systems, the implicit
                  ode15s is preferred. A list of available ODE solvers is returned by help funfun. For
   216   217   218   219   220   221   222   223   224   225   226