I'm trying to run a code to plot conversion vs catalyst mass in a packed bed reactor, but something is wrong.

10 visualizzazioni (ultimi 30 giorni)

Risposte (1)

Torsten
Torsten il 18 Mar 2023
You tell the integrator that you have four additional inputs to your function
[W,F]=ode45(@(t,F)ODEfun(t,F,T,P_total,F0_total,R),W,F0);
but you only have two:
function dFdW = ODEfun(W,F,T,P_total)
  11 Commenti
Torsten
Torsten il 18 Mar 2023
Modificato: Torsten il 18 Mar 2023
I'm not an expert in chemical reaction engineering and can't help you in this respect, but I think your code is far off to answer the question behind the graphics.

Accedi per commentare.

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by