11.07.2015 Views

1 Matlab solution to diffusion-reaction problems

1 Matlab solution to diffusion-reaction problems

1 Matlab solution to diffusion-reaction problems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

yb(6)yb(7)yb(8) ] ;%___________________________________________________________________function ratemodel = <strong>reaction</strong>rate(y)global k rhop Keqglobal temp pressureglobal c<strong>to</strong>tp = y*82.06*temp % species partial pressuresratemodel =rhop* k * p(1)^0.9 * p(2)^0.3 * p(3)^(-0.6) * (1.- p(3) * p(4)/Keq/p(1) /p(2) ) ;10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!