Dear All:
I followed the approach given in the Blog article, https://www.comsol.com/blogs/using-the-previous-solution-operator-in-transient-modeling, to record the maximum historical value. The following expressions are used,
u-nojac(if(T>u,T,u)); MaxTemp = max(T,u) and a previous soluton node
However, I found the recorded maximum may decrease during the simulation. In my simulation, even a tiny decrease is not allowed. Did anyone also encounter such a issue? How to solve it?
Thanks a lot.