CSTR mole balance (2nd-order)
ReactionThe steady-state mole balance on a continuous stirred-tank reactor with a second-order rate law — outlet concentration from a single nonlinear balance.
Governing equation
- Outlet (= tank) concentration (mol m⁻³) — the unknown.
- Volumetric flow rate (m³ s⁻¹).
- Inlet concentration (mol m⁻³).
- Second-order rate constant (m³ mol⁻¹ s⁻¹).
- Reactor volume (m³).
Derivation
- 1
Mole balance on the well-mixed tank at steady state: in − out + generation = 0.
- 2
Second-order rate law; the tank is at the outlet composition because it is perfectly mixed.
- 3
A single nonlinear (quadratic) equation for the outlet concentration.
Jacobian
The matrix of the residual vector with respect to the unknowns, at the representative operating point. Every value below is computed by the exact forward-mode autodiff engine the solver uses — click a non-zero cell to see the symbolic derivative, each one verified against that engine in our test suite. This is the block a Newton step factorizes.
| ∂/∂C | |
|---|---|
| Steady-state mole balance |
Shaded cells are non-zero (the sparsity pattern); blanks are structural zeros.
For the residual Steady-state mole balance with respect to C. This exact expression is asserted equal to the autodiff value in the test suite.
Operating point
Representative operating point — a real solution of this instance.
References
- Fogler, Elements of Chemical Reaction Engineering, 5th ed., Ch. 2 & 5.