Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
21.02.2014, 15:33 GMT-5
Marek,
I believe the first order reaction is not
dA/dt=-k*t*A
but
dA/dt=-k*A, the solution of which is an exponential as you expect.
I also suspect that in your second equation
dA/dt=-k*t*(A^0.75)
that the explicit time factor in the right side is wrong and thus
dA/dt=-k*(A^0.75)
is the more likely equation, which would represent a multibody reaction. If not you might try solving
dA^4/dt=-k^4*t^4*(A^3)
which would be a similar solution with integer exponents
Marek,
I believe the first order reaction is not
dA/dt=-k*t*A
but
dA/dt=-k*A, the solution of which is an exponential as you expect.
I also suspect that in your second equation
dA/dt=-k*t*(A^0.75)
that the explicit time factor in the right side is wrong and thus
dA/dt=-k*(A^0.75)
is the more likely equation, which would represent a multibody reaction. If not you might try solving
dA^4/dt=-k^4*t^4*(A^3)
which would be a similar solution with integer exponents
Magnus Ringh
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
24.02.2014, 03:06 GMT-5
Hi,
Just a comment about the error "Attempt to evaluate non-integral power of negative number." It occurs because A becomes (just slightly) negative. To avoid it, you can select the "Allow complex-valued output from functions with real input" check box in the Advanced node's settings (under the Time-Dependent Solver node). You also need to inform the Time-Dependent Solver that the solution now is complex valued by selecting the "Allow complex numbers" check box in its settings window's Advanced section. These instructions are valid at least in version 4.4 (the latest COMSOL version).
Best regards,
Magnus Ringh, COMSOL
Hi,
Just a comment about the error "Attempt to evaluate non-integral power of negative number." It occurs because A becomes (just slightly) negative. To avoid it, you can select the "Allow complex-valued output from functions with real input" check box in the Advanced node's settings (under the Time-Dependent Solver node). You also need to inform the Time-Dependent Solver that the solution now is complex valued by selecting the "Allow complex numbers" check box in its settings window's Advanced section. These instructions are valid at least in version 4.4 (the latest COMSOL version).
Best regards,
Magnus Ringh, COMSOL
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
24.02.2014, 06:26 GMT-5
Yes, you're right.
I did not notice the difference between At and A * t in COMSOL.
Regarding the equation:
dA / dt =-k * (A ^ 0.75)
Again, you're right, this equation describes a multi-step reaction. 0.75 its an order of the reaction determined from the experiments. Kinetic curve has rather oscilation shape (one maximum of [A] during the measurements). Now I'm wondering if I can obtain similar kinetic curve using mathematical model.
I assumed that k is constant, however k=k'*[B]. In my case, changes of B can be neglected. So final version of the equation can be given as above.
In COMSOL i have written:
-k*A^(0.75)-At
name: A
Initial value (u_0)
5e-4
Initial value (u_t0)
5e-4
According to Magnus Ringh suggestion, I have selected the "Allow complex-valued output from functions with real input".
I still can not be solved.
Best regards
Yes, you're right.
I did not notice the difference between At and A * t in COMSOL.
Regarding the equation:
dA / dt =-k * (A ^ 0.75)
Again, you're right, this equation describes a multi-step reaction. 0.75 its an order of the reaction determined from the experiments. Kinetic curve has rather oscilation shape (one maximum of [A] during the measurements). Now I'm wondering if I can obtain similar kinetic curve using mathematical model.
I assumed that k is constant, however k=k'*[B]. In my case, changes of B can be neglected. So final version of the equation can be given as above.
In COMSOL i have written:
-k*A^(0.75)-At
name: A
Initial value (u_0)
5e-4
Initial value (u_t0)
5e-4
According to Magnus Ringh suggestion, I have selected the "Allow complex-valued output from functions with real input".
I still can not be solved.
Best regards