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.
Defining a variable with limits
Posted 2016年9月23日 GMT-4 01:02 Version 5.2 0 Replies
Please login with a confirmed email address before reporting spam
I am working on metal hydride systems and one of my equation is as follows:
Peq= exp{(S/R)-(H/(R*T))+(phi + phi0)*tan(pi*(c/cf-0.5)) +beta/2 }
My problem is the tan(pi*(c/cf-0.5) part. It becomes negative infinity as c approaches c/cf approaches 0 and positive infinity as c/cf approaches 1.
Now it can be solved if I apply L'hospitals rule and tweak the equation a bit but I am not able to implement it in COMSOL. How do you apply limits in comsol?
Hello Mahvash Afzal
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.