Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
How to define a maximum value for a dependent variable?
Posted 11.04.2011, 11:55 GMT-4 Battery Design, Parameters, Variables, & Functions Version 4.1 2 Replies
Please login with a confirmed email address before reporting spam
I have been trying to develop a performance model for an electrochemical system.
However, I got some evaluation errors of powers or logarithms when starting
the solver. This is due to concentrations getting negative values at some
solver step. I need to assure that I do not evaluate negative values, and use a maximum concentration value for all species like max(1e-9, c).
How can I define it?
Thanks,
Ertan
However, I got some evaluation errors of powers or logarithms when starting
the solver. This is due to concentrations getting negative values at some
solver step. I need to assure that I do not evaluate negative values, and use a maximum concentration value for all species like max(1e-9, c).
How can I define it?
Thanks,
Ertan
2 Replies Last Post 17.06.2015, 01:42 GMT-4