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.

"Update scaled absolute tolerance"

Please login with a confirmed email address before reporting spam

About the "Update scaled absolute tolerance" check box.
This feature of the Time-dependent solver has been on by default in the last few versions of Comsol.

In some models in the Model Library, the instruction is to uncheck it, but it's given without comment. For example, in these models:
• Capacity Fade in a Lithium-Ion Battery
• Peristaltic Pump
• Nonlinear Acoustics: Modeling of the 1D Westervelt Equation

I can't find a single theme in them (but I haven't looked in-depth).

From the documentation, when the check box is checked, the behaviour is described essentially as an interpolation in time, between the absolute tolerance value as entered into the "Absolute tolerance" field, and the same thing multiplied by the maximum value of the dependent variable taken over the entire field, where it is smaller than 1. (Plus, the L2 norm of it is added, which will always be smaller than the L-infinity norm, so that must be for the case where L-infinity norm is greater than 1.)

So it seems reasonable (and, in fact, better) to adaptively adjust the absolute tolerance to be relative to the max value or the L2 norm of the dep. variable, like that.

My questions are:
• When should this *not* be used?
• In particular for the above sample models, why has this feature been disabled?
• Is there a way to access the value of the absolute tolerance as it's being adapted throughout the time-dependent simulation?

0 Replies Last Post 23.09.2014, 02:56 GMT-4
COMSOL Moderator

Hello Evgeni Sergeev

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.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.