Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Can you help me solve a system of ODEs ( Ordinary differential equations)

Please login with a confirmed email address before reporting spam

Dear Team,

Can you help me solve a system of ODEs ( Ordinary differential equations):

Can you help me solve a system of ODEs ( Ordinary differential equations):

d/dt(q_d1)=cons_d1(1-q_d1) ; q_d1(at t=0)=0

d/dt(q_d2)=cons_d2(1-q_d2) ; q_d2(at t=0)=0

d/dt(q_r)=cons_r(1-q_r) ; q_r(at t=0)=0

q_d = (q_d1+q_d2)/2;

%% Constants %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

theta = 353; % absolute temperature in Kelvin

c_small = 1; %homogenous oxygen penetration

R = 8.314; % universal gas constant in J/mol %


nu_d1 = 5.3955e6; % in /sec

E_d1 = 8.9732e4; % in J/mol

cons_d1 = c_small * nu_d1 * exp(-(E_d1 / (R * theta)));

nu_d2 = 5.401e7; % in /sec

E_d2 = 1.0361e5;

cons_d2 = c_small * nu_d2 * exp(-(E_d2 / (R * theta)));

%***********************************************

nu_r = 8.745e4; % in /sec

E_r = 9.5852e4; % in J/mol

cons_r = c_small * nu_r * exp(-(E_r / (R * theta)));

%***********************************************

Thanks, Ashish

Thanks, Ashish


0 Replies Last Post 13.08.2023, 11:16 GMT-4
COMSOL Moderator

Hello Ashish Kumar S

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.