Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
May 20, 2016, 9:02 a.m. EDT
Hello Nhan,
Have you considered using the approach mentioned in the thread
www.comsol.com/community/forums/general/thread/112182/ ?
Best regards,
Jeff
Hello Nhan,
Have you considered using the approach mentioned in the thread https://www.comsol.com/community/forums/general/thread/112182/ ?
Best regards,
Jeff
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
May 21, 2016, 2:53 p.m. EDT
Hi Jeff,
Thanks a lot for your help !
I read your thread you mentioned before and I find it very useful.
But I have not still known how to do something like this :
For example, I use Event Interface to set up an expression : "A-100 >0"
Then I declare a new expression in ODE like this : "t-t_event" (t_event is the moment as the expression above becomes TRUE )
If A-100 >10 at t=5.5 [s], for instance, the value of "t_event" is supposed to be 5.5
Can I do that in Comsol ?
Thanks a lot for your help !
Hi Jeff,
Thanks a lot for your help !
I read your thread you mentioned before and I find it very useful.
But I have not still known how to do something like this :
For example, I use Event Interface to set up an expression : "A-100 >0"
Then I declare a new expression in ODE like this : "t-t_event" (t_event is the moment as the expression above becomes TRUE )
If A-100 >10 at t=5.5 [s], for instance, the value of "t_event" is supposed to be 5.5
Can I do that in Comsol ?
Thanks a lot for your help !
Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
May 23, 2016, 9:00 a.m. EDT
The idea is to use a global ODE to integrate a state parameter set initially to 1 and which changes value to 0 when the event occurs. From that point on, the variable for the ODE will be "stuck" at the time at which the event occurred.
Please contact COMSOL Support (support@comsol.com) if you need further help with this.
Best,
Jeff
The idea is to use a global ODE to integrate a state parameter set initially to 1 and which changes value to 0 when the event occurs. From that point on, the variable for the ODE will be "stuck" at the time at which the event occurred.
Please contact COMSOL Support (support@comsol.com) if you need further help with this.
Best,
Jeff
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
May 24, 2016, 5:44 a.m. EDT
Hi Jeff,
Thank you very much for your help !
Hi Jeff,
Thank you very much for your help !