Question: In this task we will simulate chemical reactions from a set stiff ODEs as proposed by Robertson (1966). The problem consists of three species, A,

 In this task we will simulate chemical reactions from a set

In this task we will simulate chemical reactions from a set stiff ODEs as proposed by Robertson (1966). The problem consists of three species, A, B and C. The species react with each other in three ways, with different reaction rates k: A ki, B Slow: k, = 0.04, B+B #3, B+C Very fast: k= 3 - 107, B+C k3, A+C Fast: ks = 104 If we denote the mass fraction of species A, B and C in the system by y, 42 and 43, respectively, this leads to the following system of ODES: = -ky + k31293 3s = ky - kay - k3y2y3 y's = kaya where the sum of mass fractions is equal to one at all times. We look at a problem where we start with species A only, hence y(0) = 1 and 42(0) = 33(0) = 0, and want to study the development over a long time period. a) Write a Matlab script that simulates the system from t = 0 to t = tend using three different built-in ODE solvers, ode45, ode 15s and ode 23s

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!