Coupled ODE for chemical reaction

Click For Summary

Discussion Overview

The discussion revolves around generating coupled ordinary differential equations (ODEs) for a chemical reaction represented by A + B --> C, with a specified rate law of rate = kAB. Participants seek to formulate these equations for implementation in MATLAB.

Discussion Character

  • Technical explanation, Homework-related

Main Points Raised

  • One participant requests assistance in generating three coupled differential equations for the reaction A + B --> C, indicating the rate law as rate = kAB.
  • Another participant seeks clarification on what specifically needs to be solved regarding the reaction.
  • A third participant proposes a set of differential equations based on material balance for a Batch Reactor, suggesting the following equations:
    • For component A: \(\frac{dC_{A}}{dt}=-kC_{A}C_{B}\)
    • For component B: \(\frac{dC_{B}}{dt}=-kC_{A}C_{B}\)
    • For component C: \(\frac{dC_{C}}{dt}=kC_{A}C_{B}\)
  • The same participant expresses confidence in the correctness of their equations and mentions the ease of implementing them in MATLAB for plotting concentration over time.
  • A later reply thanks the contributors for their guidance.

Areas of Agreement / Disagreement

There is no explicit consensus on the formulation of the equations, as the initial request for clarification remains unaddressed, and different interpretations of the problem are present.

Contextual Notes

The discussion does not resolve potential assumptions regarding the reaction conditions, the specific context of the Batch Reactor, or the implications of the proposed equations.

numbified
Messages
1
Reaction score
0
I have a problem.. for a reaction

A + B --> C

how do i generate 3 coupled differential equations so that i can sole this using MATLAB ?
it is given that rate = kAB

thnks!
 
Engineering news on Phys.org
numbified said:
I have a problem.. for a reaction

A + B --> C

how do i generate 3 coupled differential equations so that i can sole this using MATLAB ?
it is given that rate = kAB

thnks!

Solve for what? Can you be more specific?
 
I'm not sure what you're asking for, but i think its the material balance to each component in a Batch Reactor, if that's the case, the solution is the following:

For component A:

\frac{dC_{A}}{dt}=-kC_{A}C_{B}


component B:

\frac{dC_{B}}{dt}=-kC_{A}C_{B}


and component C:


\frac{dC_{C}}{dt}=kC_{A}C_{B}



I think i have done this right.

It's now easy to implement this in Matlab and get the C_{i}(t) plots.

Take care.

(sorry, there was a mistake in the MB, i have changed it now)
 
Last edited:
thank you for your guides
 

Similar threads

  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
9
Views
6K