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.
Conditional ODE
Posted Dec 15, 2020, 8:51 a.m. EST General, Chemical Reaction Engineering, Equation-Based Modeling Version 5.5 0 Replies
Please login with a confirmed email address before reporting spam
Hello everyone,
I have the reaction kinetics of a reaction implemented using an ODE. How can I make sure that the ODE starts when a certain concentration is reached?
I tried adding a boolean in the source term of the ODE e.g. if(cA > 0.001, ODE,0). However, this start the ODE from the time the condition is reached e.g. t=2 sec. I want the reaction ODE to always start from t = 0 sec.
If anything is unclear, please let me know.
Thanks in advance!
Ben
Hello Ben Odinot
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.